md
This commit is contained in:
parent
e4385fd80f
commit
364d304d36
@ -298,8 +298,17 @@
|
||||
plain
|
||||
size="mini"
|
||||
:disabled="single"
|
||||
@click="handleDownWarehouseIn"
|
||||
>下载进仓PDF</el-button>
|
||||
@click="handleDownWarehouseInPDF"
|
||||
>下载进仓(PDF)</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
size="mini"
|
||||
:disabled="single"
|
||||
@click="handleDownWarehouseInWORD"
|
||||
>下载进仓(WORD)</el-button>
|
||||
</el-col>
|
||||
<!-- <el-col :span="1.5">
|
||||
<el-button
|
||||
@ -1010,16 +1019,28 @@ export default {
|
||||
// });
|
||||
|
||||
},
|
||||
handleDownWarehouseIn() {
|
||||
handleDownWarehouseInPDF() {
|
||||
if(this.selectionList&&this.selectionList.length>0){
|
||||
this.selectionList.forEach(item=>{
|
||||
this.download('oms2c/emisWarehouseIn/exportWarehouseInTpl', {
|
||||
orderSn:item.orderSn
|
||||
orderSn:item.orderSn,
|
||||
fileType:'pdf'
|
||||
}, `${item.intoWarehouseBillCode}.pdf`)
|
||||
|
||||
});
|
||||
}
|
||||
},
|
||||
handleDownWarehouseInWORD() {
|
||||
if(this.selectionList&&this.selectionList.length>0){
|
||||
this.selectionList.forEach(item=>{
|
||||
this.download('oms2c/emisWarehouseIn/exportWarehouseInTpl', {
|
||||
orderSn:item.orderSn,
|
||||
fileType:'docx'
|
||||
}, `${item.intoWarehouseBillCode}.docx`)
|
||||
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
onDateSelect(value){
|
||||
// this.dateTimeRange=value;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user