Browse Source

前端打印出库

高敬炎 2 years ago
parent
commit
f8e1055f52
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/views/outboundManagement/weighingManagementrecord.vue

+ 5 - 1
src/views/outboundManagement/weighingManagementrecord.vue

@@ -570,10 +570,14 @@
                 this.printBig(1, this.radio)
               } else {
                 this.dialogData.compName = this.companyName
+                // console.log(                this.dialogData)
                 //代储合同出库收货方是卖方
+                if(this.dialogData.contractManagement){
+                
                 if(this.dialogData.contractManagement.agreementType=='代储合同'){
                     this.dialogData.customer = this.dialogData.contractManagement.seller
                   }
+                }
                 if(this.dialogData&&!this.dialogData.customer&&this.dialogData.contractManagement){
                     this.dialogData.customer = this.dialogData.contractManagement.buyer
                 }
@@ -1134,7 +1138,7 @@
           this.makeEWjjSelectPrintList()
           //  this.selectEW = true;
         }
-       
+       console.log(type)
         if (type == 1) {
           localStorage.setItem('selectPrint_jjSelectPrintList', JSON.stringify(this.dialogDataList))
           window.open('../../../../static/weightCheckOutNew.html?type=2&radioType=' + radioType + '&selectEW=' + this