Browse Source

导出文件名修改

java8
han\hanst 3 months ago
parent
commit
4e0fa586d6
  1. 4
      src/views/modules/ecss/codelnotify.vue
  2. 14
      src/views/modules/ecss/declaration.vue

4
src/views/modules/ecss/codelnotify.vue

@ -2537,7 +2537,7 @@
exportParam.notifyPartDetailList = this.notifyPartDetailList exportParam.notifyPartDetailList = this.notifyPartDetailList
ExportUtil.export( ExportUtil.export(
"/ecss/coDel/downloadInvoice", "/ecss/coDel/downloadInvoice",
exportParam, this.currentRow.cmcInvoice+"发票.xlsx"
exportParam, "CI "+this.currentRow.cmcInvoice+" "+this.currentRow.destination+"-"+this.currentRow.shippingMode+".xlsx"
); );
this.exportInvoiceFlag=false this.exportInvoiceFlag=false
this.searchTable() this.searchTable()
@ -2554,7 +2554,7 @@
exportParam.delNo = this.currentRow.delNo exportParam.delNo = this.currentRow.delNo
ExportUtil.export( ExportUtil.export(
"/ecss/coDel/downloadExportGoods", "/ecss/coDel/downloadExportGoods",
exportParam, this.currentRow.cmcInvoice+"出口货物委托书.xlsx"
exportParam, "Booking "+this.currentRow.cmcInvoice+" "+this.currentRow.destination+"-"+this.currentRow.shippingMode+".xlsx"
); );
this.exportGoodsFlag = false; this.exportGoodsFlag = false;
this.searchTable() this.searchTable()

14
src/views/modules/ecss/declaration.vue

@ -2077,7 +2077,7 @@
let error; let error;
ExportUtil.export( ExportUtil.export(
"/ecss/coDel/downloadDeclarationElements", "/ecss/coDel/downloadDeclarationElements",
exportParam, this.currentRow.cmcInvoice+"报关要素.xlsx"
exportParam, "报关要素 "+this.currentRow.cmcInvoice+" "+this.currentRow.destination+"-"+this.currentRow.shippingMode+".xlsx"
); );
this.brandTypeFlag = false this.brandTypeFlag = false
}, },
@ -2099,7 +2099,7 @@
exportParam.declarationWeight = this.declarationWeight exportParam.declarationWeight = this.declarationWeight
ExportUtil.export( ExportUtil.export(
"/ecss/coDel/downloadDeclaration", "/ecss/coDel/downloadDeclaration",
exportParam, this.currentRow.cmcInvoice+"报关单.xlsx"
exportParam, "报关单 "+this.currentRow.cmcInvoice+" "+this.currentRow.destination+"-"+this.currentRow.shippingMode+".xlsx"
); );
this.declarationFlag = false this.declarationFlag = false
}, },
@ -2115,7 +2115,7 @@
exportParam.notifyPartDetailList = this.notifyPartDetailList exportParam.notifyPartDetailList = this.notifyPartDetailList
ExportUtil.export( ExportUtil.export(
"/ecss/coDel/downloadInvoice", "/ecss/coDel/downloadInvoice",
exportParam, this.currentRow.cmcInvoice+"发票.xlsx"
exportParam, "CI "+this.currentRow.cmcInvoice+" "+this.currentRow.destination+"-"+this.currentRow.shippingMode+".xlsx"
); );
this.exportInvoiceFlag=false this.exportInvoiceFlag=false
this.searchTable() this.searchTable()
@ -2150,7 +2150,7 @@
exportParam.notifyPartDetailList = this.notifyPartDetailList exportParam.notifyPartDetailList = this.notifyPartDetailList
ExportUtil.export( ExportUtil.export(
"/ecss/coDel/downloadPackingList", "/ecss/coDel/downloadPackingList",
exportParam, this.currentRow.cmcInvoice+"箱单.xlsx"
exportParam, "PL "+this.currentRow.cmcInvoice+" "+this.currentRow.destination+"-"+this.currentRow.shippingMode+".xlsx"
); );
this.exportPakingFlag = false; this.exportPakingFlag = false;
this.searchTable() this.searchTable()
@ -2166,7 +2166,7 @@
exportParam.delNo = this.currentRow.delNo exportParam.delNo = this.currentRow.delNo
ExportUtil.export( ExportUtil.export(
"/ecss/coDel/downloadExportGoods", "/ecss/coDel/downloadExportGoods",
exportParam, this.currentRow.cmcInvoice+"出口货物委托书.xlsx"
exportParam, "Booking "+this.currentRow.cmcInvoice+" "+this.currentRow.destination+"-"+this.currentRow.shippingMode+".xlsx"
); );
this.exportGoodsFlag = false; this.exportGoodsFlag = false;
this.searchTable() this.searchTable()
@ -2225,7 +2225,7 @@
exportParam.notifyPartDetailList = this.notifyPartDetailList exportParam.notifyPartDetailList = this.notifyPartDetailList
ExportUtil.export( ExportUtil.export(
"/ecss/coDel/downloadAll", "/ecss/coDel/downloadAll",
exportParam, this.currentRow.cmcInvoice+"单证信息.xlsx"
exportParam, this.currentRow.cmcInvoice+" "+this.currentRow.destination+"-"+this.currentRow.shippingMode+".xlsx"
); );
this.exportAllFlag = false this.exportAllFlag = false
this.searchTable() this.searchTable()
@ -2433,7 +2433,7 @@
exportParam.notifyPartDetailList = this.notifyPartDetailList exportParam.notifyPartDetailList = this.notifyPartDetailList
ExportUtil.export( ExportUtil.export(
"/ecss/coDel/downloadAllPdf", "/ecss/coDel/downloadAllPdf",
exportParam, this.currentRow.cmcInvoice+"单证信息.pdf"
exportParam, this.currentRow.cmcInvoice+" "+this.currentRow.destination+"-"+this.currentRow.shippingMode+".pdf"
); );
this.exportAllFlag = false this.exportAllFlag = false
this.searchTable() this.searchTable()

Loading…
Cancel
Save