|
@@ -494,7 +494,7 @@
|
|
|
excelFreightspace: [],
|
|
|
goodnameList: [],
|
|
|
goodsName: '全部货名',
|
|
|
- printTips:""
|
|
|
+ printTips:''
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
@@ -520,8 +520,8 @@
|
|
|
},
|
|
|
methods: {
|
|
|
goodsNameChange(e) {
|
|
|
- if(e == "全部货名"){
|
|
|
- this.goodsName = ""
|
|
|
+ if(e == '全部货名'){
|
|
|
+ this.goodsName = ''
|
|
|
}
|
|
|
this.getList()
|
|
|
},
|
|
@@ -1059,6 +1059,7 @@
|
|
|
// val 是数组中每个接口返回的值 res.data
|
|
|
console.log('两个接口全部加载完成', val1, val2);
|
|
|
this.printData = val2.data
|
|
|
+ console.log(this.printData)
|
|
|
if (val2.data.compName == '黑龙江秋收有限公司') {
|
|
|
this.printData.compName = '黑龙江中天昊元贸易有限公司'
|
|
|
}
|
|
@@ -1274,8 +1275,10 @@
|
|
|
} else if (this.printType == 0) {
|
|
|
localStorage.setItem('cwprint', true)
|
|
|
_list1 = JSON.stringify(this.printData)
|
|
|
+ localStorage.setItem('printData1',_list1)
|
|
|
_list2 = JSON.stringify(this.customerList)
|
|
|
} else {
|
|
|
+ localStorage.setItem('printData1',_list1)
|
|
|
_list1 = JSON.stringify(this.printData)
|
|
|
_list2 = JSON.stringify(this.customerList)
|
|
|
}
|