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