|
@@ -1136,6 +1136,7 @@
|
|
printBig() {}
|
|
printBig() {}
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
|
|
+ debugger
|
|
this.date = new Date().toLocaleString()
|
|
this.date = new Date().toLocaleString()
|
|
// let _data = decodeURIComponent(this.getQueryVariable('dataList'))
|
|
// let _data = decodeURIComponent(this.getQueryVariable('dataList'))
|
|
let _data ={}
|
|
let _data ={}
|
|
@@ -1145,7 +1146,7 @@
|
|
else{
|
|
else{
|
|
_data = decodeURIComponent(this.getQueryVariable("dataList"))
|
|
_data = decodeURIComponent(this.getQueryVariable("dataList"))
|
|
}
|
|
}
|
|
- if (!_data) {
|
|
|
|
|
|
+ if (!_data || _data == 'false') {
|
|
this.selectPrint = true
|
|
this.selectPrint = true
|
|
this.printData1 = JSON.parse(
|
|
this.printData1 = JSON.parse(
|
|
localStorage.getItem('selectPrint_selectPrintList')
|
|
localStorage.getItem('selectPrint_selectPrintList')
|
|
@@ -1164,7 +1165,7 @@
|
|
} else {
|
|
} else {
|
|
this.printData = JSON.parse(_data)
|
|
this.printData = JSON.parse(_data)
|
|
//地址过长截取
|
|
//地址过长截取
|
|
- if (this.printData.identityAuthenticationInfo.compAddress.length > 24) {
|
|
|
|
|
|
+ if (this.printData.identityAuthenticationInfo&&this.printData.identityAuthenticationInfo.compAddress.length > 24) {
|
|
this.printData.identityAuthenticationInfo.compAddress = this.printData.identityAuthenticationInfo
|
|
this.printData.identityAuthenticationInfo.compAddress = this.printData.identityAuthenticationInfo
|
|
.compAddress.substring(0, 24)
|
|
.compAddress.substring(0, 24)
|
|
}
|
|
}
|
|
@@ -1202,11 +1203,14 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
for (let i = 0; i < this.printData1.length; i++) {
|
|
for (let i = 0; i < this.printData1.length; i++) {
|
|
- let _url2 = this.printData1[i].payeeAddressUrl.split(',')
|
|
|
|
- this.printData1[i].imgURl = {
|
|
|
|
- imageUrl3: _url2[0],
|
|
|
|
- imageUrl4: _url2[1]
|
|
|
|
|
|
+ if(this.printData1[i].payeeAddressUrl){
|
|
|
|
+ let _url2 = this.printData1[i].payeeAddressUrl.split(',')
|
|
|
|
+ this.printData1[i].imgURl = {
|
|
|
|
+ imageUrl3: _url2[0],
|
|
|
|
+ imageUrl4: _url2[1]
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
+
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
if (this.customerList.cardAddressUrl) {
|
|
if (this.customerList.cardAddressUrl) {
|