achao 3 lat temu
rodzic
commit
b01a56ed0e

+ 1 - 1
public/static/weightCheck.html

@@ -364,7 +364,7 @@
                         <td class="col col-bgc" v-if="_item.serviceManagementType == 3">客户姓名</td>
                         <td class="col" colspan="2" v-if="_item.serviceManagementType == 3">{{_item.customer}}</td>
                         <td class="col col-bgc" v-if="_item.serviceManagementType == 1">发货单位</td>
-                        <td class="col" colspan="2" v-if="_item.serviceManagementType == 1">{{_item.contractManagement ? _item.contractManagement.seller : ""}}</td>
+                        <td class="col" colspan="2" v-if="_item.serviceManagementType == 1">{{_item.customer}}</td>
                         <td class="col col-bgc" v-if="_item.serviceManagementType == 3">客户电话</td>
                         <td class="col" v-if="_item.serviceManagementType == 3">{{_item.customerPhone}}</td>
                         <td class="col col-bgc" v-if="_item.serviceManagementType == 1">联系电话</td>

+ 4 - 1
src/views/houseSelfCollect/weightCheckRecord.vue

@@ -497,6 +497,9 @@
                 this.dialogData.compName = '黑龙江中天昊元贸易有限公司'
               }
               if (this.checked) {
+                if(this.dialogData&&!this.dialogData.customer&&this.dialogData.contractManagement){
+                  this.dialogData.customer = this.dialogData.contractManagement.seller
+                }
                 this.dialogDataList.push(this.dialogData)
                 var _datas = JSON.stringify(this.dialogData)
                 _datas = JSON.parse(_datas)
@@ -625,7 +628,7 @@
       printSmall() {
         window.open('../../../../static/weightCheck.html?type=1&tableData=' + JSON.stringify(this.dialogData).replace(/%/g, 'baifenhao'))
       },
-      printBig(type, radioType) {
+      printBig(type, radioType) {debugger
         // 打印额外
         if (this.checked || this.ddchecked) {
           this.makeEWjjSelectPrintList()