guarantee-lsq пре 2 месеци
родитељ
комит
dfd74239d9

+ 1 - 1
src/views/store/outstoreform/OutStoreFormYY.vue

@@ -399,7 +399,7 @@ export default {
         this.$refs.table.clearSelected()
       })
     },
-    handleViewTicket(record) {
+    handleViewTicket (record) {
       this.visible = false
       fetchOutStoreForm({ id: record.id }).then(res => {
         const modal = this.$refs.ticketForm

+ 4 - 1
src/views/store/outstoreform/modules/TicketForm.vue

@@ -6,7 +6,7 @@
     </div>
     <div id="print-container2">
       <div class="title">
-        <div style="font-size:26px;"><span style="font-size:30px;font-weight:700;vertical-align: middle;letter-spacing:.2em;">时代思康新材料有限公司</span></div>
+        <div style="font-size:26px;"><span style="font-size:30px;font-weight:700;vertical-align: middle;letter-spacing:.2em;">{{ oldOrNew === 1 ? '时代思康':'龙岩思康' }}新材料有限公司</span></div>
         <div style="font-size:26px;font-weight:700">{{ type? BaseTool.Object.getField(typeMap,model.type):'材料退库' }}</div>
       </div>
       <div style="display:flex;justify-content:space-between; margin: 10px auto;width: 1030px;">
@@ -91,10 +91,12 @@ export default {
       disabled: false,
       value1: 1,
       type: true,
+      oldOrNew: 1,
       typeMap: {},
       deptYYMap: {},
       model: {
         'yyId': null,
+        'oldOrNew': null,
         'userTime': null,
         'type': null,
         'sbNo': null,
@@ -118,6 +120,7 @@ export default {
       this.visible = true
       console.log(record)
       this.type = type
+      this.oldOrNew = record.oldOrNew
       this.model = record
       if (record.outFlag === 1) {
         this.typeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.OUT_STORE_FORM_TYPE)