Pārlūkot izejas kodu

前端出库皮重不显示打印

高敬炎 2 gadi atpakaļ
vecāks
revīzija
c3d8ff194c
1 mainītis faili ar 28 papildinājumiem un 27 dzēšanām
  1. 28 27
      src/views/outboundManagement/weighingManagementNew.vue

+ 28 - 27
src/views/outboundManagement/weighingManagementNew.vue

@@ -787,7 +787,7 @@
           this.disabled = true
         }
       }
-
+      
     },
     activated() {},
     methods: {
@@ -1618,7 +1618,8 @@
                           JSON.stringify(this.weighingList)
                         )
                         // this.isShowPrint = true
-                        this.isShowPrintType = true
+                        
+                        // this.isShowPrintType = true
                         this.weighingList = {
                           grossWeight: 0,
                           tare: 0,
@@ -1683,31 +1684,31 @@
                         this.inspect = JSON.parse(
                           JSON.stringify(this.weighingList)
                         )
-                        if(this.warehouseName == '鲅鱼圈金信库' ||
-                        this
-                        .warehouseName == '哈尔滨依兰库' || this
-                        .warehouseName == '白城内陆港'|| this
-                        .warehouseName == '山东园丰库'|| this
-                        .warehouseName == '杜尔伯特家禾库'||this.warehouseName=='洮南新友谊兴旺库'||this.warehouseName=='甘南宏旗库'){
-                          if(this.weighingList.contractManagement){
-                            let cang = {}
-                            cang.value = this.weighingList.contractManagement.seller
-                            cang.label = this.weighingList.contractManagement.seller
-                            if (this.check(this.weighingList.contractManagement.seller, 1)) {
-                              this.ewCustomerOptions.push(cang)
-                              }
-                              let cang1 = {}
-                              cang1.value = this.weighingList.contractManagement.buyer
-                              cang1.label = this.weighingList.contractManagement.buyer
-                              if (this.check(this.weighingList.contractManagement.buyer, 2)) {
-                                this.companyNameEWOptions.push(cang1)
-                              }
-                              this.myCompanyCustomer = this.weighingList.contractManagement.buyer
-                          }
-                          this.isShowPrintType = true
-                        }else{
-                          this.isShowPrintType = true
-                        }
+                        // if(this.warehouseName == '鲅鱼圈金信库' ||
+                        // this
+                        // .warehouseName == '哈尔滨依兰库' || this
+                        // .warehouseName == '白城内陆港'|| this
+                        // .warehouseName == '山东园丰库'|| this
+                        // .warehouseName == '杜尔伯特家禾库'||this.warehouseName=='洮南新友谊兴旺库'||this.warehouseName=='甘南宏旗库'){
+                        //   if(this.weighingList.contractManagement){
+                        //     let cang = {}
+                        //     cang.value = this.weighingList.contractManagement.seller
+                        //     cang.label = this.weighingList.contractManagement.seller
+                        //     if (this.check(this.weighingList.contractManagement.seller, 1)) {
+                        //       this.ewCustomerOptions.push(cang)
+                        //       }
+                        //       let cang1 = {}
+                        //       cang1.value = this.weighingList.contractManagement.buyer
+                        //       cang1.label = this.weighingList.contractManagement.buyer
+                        //       if (this.check(this.weighingList.contractManagement.buyer, 2)) {
+                        //         this.companyNameEWOptions.push(cang1)
+                        //       }
+                        //       this.myCompanyCustomer = this.weighingList.contractManagement.buyer
+                        //   }
+                        //   this.isShowPrintType = true
+                        // }else{
+                        //   this.isShowPrintType = true
+                        // }
                         this.weighingList = {
                           grossWeight: 0,
                           tare: 0,