|
|
@@ -935,9 +935,12 @@ export default {
|
|
|
this.loading = true
|
|
|
let omsAttachmentUrl = row.omsAttachmentUrl.substring(1)
|
|
|
omsAttachmentUrl = omsAttachmentUrl.substring(0, omsAttachmentUrl.lastIndexOf('/') + 1)
|
|
|
- this.financeInvoiceService.downLoadOMSInvoiceAttachzip(omsAttachmentUrl).then((res) => {
|
|
|
+ this.financeInvoiceService.downLoadOMSInvoiceAttachzip({
|
|
|
+ fileUrl: omsAttachmentUrl,
|
|
|
+ invoiceNo: row.no
|
|
|
+ }).then((res) => {
|
|
|
// 将二进制流文件写入excel表,以下为重要步骤
|
|
|
- this.$utils.downloadZip(res, '发票-' + row.number + '所有发票格式.zip')
|
|
|
+ this.$utils.downloadZip(res, '发票-' + row.no + '.zip')
|
|
|
this.loading = false
|
|
|
}).catch(function (err) {
|
|
|
this.loading = false
|