Browse Source

Merge branch 'dev' of http://47.108.105.48:3000/java_project/logpm_page into dev

fix_bug_pro20231227
13208366016 1 year ago
parent
commit
0840a85f17
  1. 16
      src/views/distribution/deliverylist/distributionDeliveryListmar.vue

16
src/views/distribution/deliverylist/distributionDeliveryListmar.vue

@ -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 },

Loading…
Cancel
Save