|
|
|
@ -103,6 +103,7 @@
|
|
|
|
|
<el-button type="danger" icon="el-icon-delete" @click="handleCallDelivery('1', '2')" |
|
|
|
|
>再次通知</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="danger" icon="el-icon-plus" @click="handleExport" plain>导 出</el-button> |
|
|
|
|
</div> |
|
|
|
|
<div class="avue-crud__left"> |
|
|
|
|
<!-- <el-button type="primary" icon="el-icon-plus" @click="handlebill" >创建提货单</el-button>--> |
|
|
|
@ -506,7 +507,7 @@ import {
|
|
|
|
|
add, |
|
|
|
|
update, |
|
|
|
|
remove, |
|
|
|
|
addStock, |
|
|
|
|
addStock, stockArticExport |
|
|
|
|
} from '@/api/distribution/distributionStockArticle'; |
|
|
|
|
import { getListOwn } from '@/api/distribution/distributionParcelList'; |
|
|
|
|
import { addCallDelivery } from '@/api/distribution/distrilbutionCallDelivery'; |
|
|
|
@ -518,6 +519,7 @@ import { getDictionaryBiz } from '@/api/system/dict';
|
|
|
|
|
import { getListCallDelivery } from '@/api/distribution/distrilbutionCallDelivery'; |
|
|
|
|
import dayjs from 'dayjs'; |
|
|
|
|
import { getListMaterial } from '@/api/basic/basicMaterial'; |
|
|
|
|
import { downloadXls } from '@/utils/util'; |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
data() { |
|
|
|
@ -1176,6 +1178,20 @@ export default {
|
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
//导出 |
|
|
|
|
handleExport() { |
|
|
|
|
let row = { }; |
|
|
|
|
if(!!this.ids){ |
|
|
|
|
row.ids = this.ids; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
row.typeService ="3" |
|
|
|
|
stockArticExport(row).then( res =>{ |
|
|
|
|
console.log(res.data); |
|
|
|
|
downloadXls(res.data, '自提订单数据.xlsx'); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
/*getMethodName(row,num){ |
|
|
|
|
console.log("名称选择事件",row); |
|
|
|
|
switch (num) { |
|
|
|
|