|
@@ -79,7 +79,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
downloadPdf() {
|
|
|
- if(this.order.invoiceUrl.length > 1) {
|
|
|
+ if(this.order.invoiceUrls.length > 1) {
|
|
|
this.$router.push({
|
|
|
path: 'parkingInvoiceImages?order=' + JSON.stringify(this.order),
|
|
|
});
|
|
@@ -87,12 +87,12 @@ export default {
|
|
|
}
|
|
|
if (window.__wxjs_environment === 'miniprogram') {
|
|
|
wx.miniProgram.navigateTo({
|
|
|
- url: `/pages/package-parkingFee/file?invoiceUrl=${encodeURIComponent(this.order.invoiceUrl)}`,
|
|
|
+ url: `/pages/package-parkingFee/file?invoiceUrl=${encodeURIComponent(this.order.invoiceUrls[0])}`,
|
|
|
});
|
|
|
}
|
|
|
if (this.isAlipayClient) {
|
|
|
my?.navigateTo({
|
|
|
- url: `/pages/package-parkingFee/file?invoiceUrl=${encodeURIComponent(this.order.invoiceUrl)}`,
|
|
|
+ url: `/pages/package-parkingFee/file?invoiceUrl=${encodeURIComponent(this.order.invoiceUrls[0])}`,
|
|
|
})
|
|
|
}
|
|
|
}
|