|
|
|
@ -105,12 +105,8 @@
|
|
|
|
|
>批量打印</el-button |
|
|
|
|
> |
|
|
|
|
<!-- <el-button type="danger" icon="el-icon-delete" @click="handleDelete" plain>删 除</el-button>--> |
|
|
|
|
<el-button |
|
|
|
|
type="danger" |
|
|
|
|
icon="el-icon-download" |
|
|
|
|
@click="handleExportInfo" |
|
|
|
|
plain |
|
|
|
|
>导出 |
|
|
|
|
<el-button type="danger" icon="el-icon-download" @click="handleExportInfo" plain |
|
|
|
|
>导出 |
|
|
|
|
</el-button> |
|
|
|
|
</div> |
|
|
|
|
<!-- 头部右侧按钮模块 --> |
|
|
|
@ -323,7 +319,8 @@ import {
|
|
|
|
|
remove, |
|
|
|
|
getPage, |
|
|
|
|
getstatistics, |
|
|
|
|
printBatch, getDeliveryListExport |
|
|
|
|
printBatch, |
|
|
|
|
getDeliveryListExport, |
|
|
|
|
} from '@/api/distribution/distributionDeliveryList'; |
|
|
|
|
import option from '@/option/distribution/distributionDeliveryList'; |
|
|
|
|
import { mapGetters } from 'vuex'; |
|
|
|
@ -706,7 +703,7 @@ export default {
|
|
|
|
|
/** |
|
|
|
|
* 导出 |
|
|
|
|
* */ |
|
|
|
|
handleExportInfo(){ |
|
|
|
|
handleExportInfo() { |
|
|
|
|
let row = {}; |
|
|
|
|
const ids = this.selectionList.join(','); |
|
|
|
|
row.ids = ids; |
|
|
|
@ -715,7 +712,6 @@ export default {
|
|
|
|
|
console.log(res.data); |
|
|
|
|
downloadXls(res.data, '市配配送计划数据.xlsx'); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
getvehicleData() { |
|
|
|
|
return new Promise((rv, rev) => { |
|
|
|
@ -1161,7 +1157,7 @@ export default {
|
|
|
|
|
*/ |
|
|
|
|
async printOrder(row) { |
|
|
|
|
console.log('row :>> ', row); |
|
|
|
|
const res = await printBatch({ ids: row.id, type: 1 }); |
|
|
|
|
const res = await printBatch({ ids: row.id, type: 2 }); |
|
|
|
|
console.log('res :>> ', res); |
|
|
|
|
const { |
|
|
|
|
data: { code, data }, |
|
|
|
|