From fe74974bf584787520efc9b5ce0adc2b7445173e Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Wed, 10 Jan 2024 10:03:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=95=86=E9=85=8D=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/distribution/VehicleStowage.js | 33 ++ src/option/distribution/VehicleStowage.js | 58 +++ src/router/views/index.js | 11 + .../distribution/artery/VehicleStowage.vue | 227 +++--------- .../artery/handleLoadingDestination.vue | 329 ++++++++++++++++++ .../turndelivery/deliveryDiscuss.vue | 111 +----- .../parcelList/distributionParcelList.vue | 10 +- 7 files changed, 492 insertions(+), 287 deletions(-) create mode 100644 src/views/distribution/artery/handleLoadingDestination.vue diff --git a/src/api/distribution/VehicleStowage.js b/src/api/distribution/VehicleStowage.js index d2c4512b..f0ee2aaf 100644 --- a/src/api/distribution/VehicleStowage.js +++ b/src/api/distribution/VehicleStowage.js @@ -81,3 +81,36 @@ export const postCancelCarsLoadByLoadId = data => { data, }); }; + +/** + * 判断是否有未有终点的装车数据 + */ +export const postDetermineHasNoFinalNode = data => { + return request({ + url: '/api/logpm-trunkline/carsLoad/determineHasNoFinalNode', + method: 'post', + data, + }); +}; + +/** + * 更新节点数据的最终目的仓id + */ +export const postUpdateLoadScanFinalNodeIdById = data => { + return request({ + url: '/api/logpm-trunkline/carsLoad/updateLoadScanFinalNodeIdById', + method: 'post', + data, + }); +}; + +/** + * 查询当前节点以后的节点id + */ +export const postFindNextNodeList = data => { + return request({ + url: '/api/logpm-trunkline/carsLoad/findNextNodeList ', + method: 'post', + data, + }); +}; diff --git a/src/option/distribution/VehicleStowage.js b/src/option/distribution/VehicleStowage.js index 089c6199..ef3a1d47 100644 --- a/src/option/distribution/VehicleStowage.js +++ b/src/option/distribution/VehicleStowage.js @@ -743,3 +743,61 @@ export const truckLoadingColumnList = [ sortable: false, }, ]; + +/** 对比报表 -- 仓库节点 */ +export const packageColumnList = [ + { + prop: '', + label: '复选框', + type: 0, + values: '', + width: 55, + fixed: true, + }, + { + prop: '', + label: '序号', + type: 12, + values: '', + width: 55, + fixed: true, + }, + { + prop: 'orderCode', + label: '合同号', + type: 2, + values: '', + checkarr: [], + fixed: true, + sortable: false, + head: false, + }, + { + prop: 'scanCode', + label: '包条码', + type: 2, + values: '', + checkarr: [], + fixed: true, + sortable: false, + head: false, + }, + { + prop: 'waybillNo', + label: '运单号', + type: 2, + values: '', + checkarr: [], + fixed: false, + sortable: false, + }, + { + prop: '', + label: '操作', + type: 6, + values: '', + checkarr: [], + fixed: 'right', + sortable: false, + }, +]; diff --git a/src/router/views/index.js b/src/router/views/index.js index 7eaaed35..308cb55d 100644 --- a/src/router/views/index.js +++ b/src/router/views/index.js @@ -245,6 +245,17 @@ export default [ /* webpackChunkName: "views" */ '@/views/distribution/artery/VehicleStowageDetails.vue' ), }, + { + path: 'handleLoadingDestination', + name: '配置装车目的地', + meta: { + i18n: 'data', + }, + component: () => + import( + /* webpackChunkName: "views" */ '@/views/distribution/artery/handleLoadingDestination.vue' + ), + }, ], }, // { diff --git a/src/views/distribution/artery/VehicleStowage.vue b/src/views/distribution/artery/VehicleStowage.vue index 7915ae5f..42d84a42 100644 --- a/src/views/distribution/artery/VehicleStowage.vue +++ b/src/views/distribution/artery/VehicleStowage.vue @@ -67,26 +67,24 @@