|
|
@ -388,11 +388,13 @@ |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|
<el-footer style="height:40px;margin-top: 80px;text-align:center"> |
|
|
<el-footer style="height:40px;margin-top: 80px;text-align:center"> |
|
|
<el-button type="primary" @click="exportAll()">确定</el-button> |
|
|
|
|
|
<el-button type="primary" @click="exportAllFlag=false">关闭</el-button> |
|
|
|
|
|
|
|
|
<el-button type="primary" @click="exportAll()">导出Excel</el-button> |
|
|
|
|
|
<el-button type="success" @click="exportAllPdf()">导出PDF</el-button> |
|
|
|
|
|
<el-button type="info" @click="exportAllFlag=false">关闭</el-button> |
|
|
</el-footer> |
|
|
</el-footer> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog title="导出报关要素" :close-on-click-modal="false" v-drag :visible.sync="brandTypeFlag" |
|
|
<el-dialog title="导出报关要素" :close-on-click-modal="false" v-drag :visible.sync="brandTypeFlag" |
|
|
:width="(currentRow.buNo==='02-Hardtag' || currentRow.buNo==='04-MHM')?'600px':'300px'"> |
|
|
:width="(currentRow.buNo==='02-Hardtag' || currentRow.buNo==='04-MHM')?'600px':'300px'"> |
|
|
<el-form label-position="top" style="margin-left: 7px;margin-top: 10px;margin-bottom: 20px"> |
|
|
<el-form label-position="top" style="margin-left: 7px;margin-top: 10px;margin-bottom: 20px"> |
|
|
@ -2391,6 +2393,52 @@ |
|
|
await this.searchTemplateOne(); |
|
|
await this.searchTemplateOne(); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
exportAllPdf(){ |
|
|
|
|
|
if (!this.currentRow || !this.currentRow.buNo) { |
|
|
|
|
|
this.$message.warning('请选择报关单!') |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
|
|
|
if (!this.packageUnit ) { |
|
|
|
|
|
this.$message.warning('请选择托/箱!') |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
|
|
|
let exportParam=this.exportPaking |
|
|
|
|
|
exportParam.salesMethod=this.exportGoods.salesMethod |
|
|
|
|
|
exportParam.currency=this.exportGoods.currency |
|
|
|
|
|
exportParam.madeArea=this.exportGoods.madeArea |
|
|
|
|
|
exportParam.sendPort=this.exportGoods.sendPort |
|
|
|
|
|
exportParam.deliveryGoodsDate=this.exportGoods.deliveryGoodsDate |
|
|
|
|
|
exportParam.voyage=this.exportGoods.voyage |
|
|
|
|
|
exportParam.shippingDate=this.exportGoods.shippingDate |
|
|
|
|
|
exportParam.hsCodeDescType=this.exportGoods.hsCodeDescType |
|
|
|
|
|
exportParam.shipper=this.exportGoods.shipper |
|
|
|
|
|
|
|
|
|
|
|
exportParam.brandType = this.brandType |
|
|
|
|
|
exportParam.hsCodeDescType=this.hsCodeDescType |
|
|
|
|
|
exportParam.packageUnit=this.packageUnit |
|
|
|
|
|
exportParam.declarationWeight = this.declarationWeight |
|
|
|
|
|
if (this.propertiesList.length>0) { |
|
|
|
|
|
this.currentRow.brand='品牌' |
|
|
|
|
|
exportParam.brand = '品牌' |
|
|
|
|
|
exportParam.propertiesList = this.propertiesList |
|
|
|
|
|
} |
|
|
|
|
|
exportParam.hsCodeDesc = this.exportInvoice.hsCodeDesc |
|
|
|
|
|
exportParam.contractFlag = this.exportInvoice.contractFlag |
|
|
|
|
|
exportParam.fpremark = this.exportInvoice.fpremark |
|
|
|
|
|
|
|
|
|
|
|
exportParam.declarationNo = this.currentRow.declarationNo |
|
|
|
|
|
exportParam.site = this.currentRow.site |
|
|
|
|
|
exportParam.delNo = this.currentRow.delNo |
|
|
|
|
|
exportParam.notifyPartDetailList = this.notifyPartDetailList |
|
|
|
|
|
ExportUtil.export( |
|
|
|
|
|
"/ecss/coDel/downloadAllPdf", |
|
|
|
|
|
exportParam, this.currentRow.cmcInvoice+"单证信息.pdf" |
|
|
|
|
|
); |
|
|
|
|
|
this.exportAllFlag = false |
|
|
|
|
|
this.searchTable() |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
getCustomerInfo() { |
|
|
getCustomerInfo() { |
|
|
getCustomerInfo(this.currentRow).then(({data}) => { |
|
|
getCustomerInfo(this.currentRow).then(({data}) => { |
|
|
//区分请求成功和失败的状况 |
|
|
//区分请求成功和失败的状况 |
|
|
|