Browse Source

发票箱单PDF

master
han\hanst 2 weeks ago
parent
commit
6fd61b0f20
  1. 4
      src/views/modules/ecss/declaration.vue

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

@ -612,6 +612,7 @@
<el-footer style="height:40px;margin-top: 80px;text-align:center">
<el-button type="primary" @click="exportAll()">导出Excel</el-button>
<el-button type="success" @click="exportAllPdf()">导出PDF</el-button>
<!-- <el-button type="warning" @click="exportAllPdf(true)">发票箱单PDF</el-button>-->
<el-button type="info" @click="exportAllYBFlag=false">关闭</el-button>
</el-footer>
</el-dialog>
@ -3002,7 +3003,7 @@
},
exportAllPdf(){
exportAllPdf(onlyInvoicePackingPdf = false){
if (!this.currentRow || !this.currentRow.buNo) {
this.$message.warning('请选择报关单!')
return
@ -3049,6 +3050,7 @@
exportParam.site = this.currentRow.site
exportParam.delNo = this.currentRow.delNo
exportParam.notifyPartDetailList = this.notifyPartDetailList
exportParam.onlyInvoicePackingPdf = onlyInvoicePackingPdf === true
ExportUtil.export(
"/ecss/coDel/downloadAllPdf",
exportParam, this.currentRow.cmcInvoice+" "+this.currentRow.destination+"-"+this.currentRow.shippingMode+".pdf"

Loading…
Cancel
Save