From bb3a75636a921e502b1248cd24d3f5e9e682abcc Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Thu, 11 Jan 2024 23:57:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E6=8F=90=E7=AD=BE=E6=94=B6=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/distribution/truckLoadingDetails.js | 11 + src/option/distribution/TripartiteTransfer.js | 44 +- .../artery/TripartiteTransfer.vue | 11 +- .../artery/VehicleArrivalManagement.vue | 166 +++--- .../distribution/artery/VehicleStowage.vue | 1 + .../artery/truckLoadingDetails.vue | 491 ++++++++++++++---- .../distributionStockArticleDetails.vue | 9 - .../inventory/distrilbutionBillLadingList.vue | 29 +- .../inventory/distrilbutionBillLadingView.vue | 354 +++++++++---- 9 files changed, 805 insertions(+), 311 deletions(-) diff --git a/src/api/distribution/truckLoadingDetails.js b/src/api/distribution/truckLoadingDetails.js index 3b65ded5..19d69738 100644 --- a/src/api/distribution/truckLoadingDetails.js +++ b/src/api/distribution/truckLoadingDetails.js @@ -10,3 +10,14 @@ export const postLoadingDetail = (data = {}) => { data, }); }; + +/** + * 批量卸车 + */ +export const postBatchUnload = (data = {}) => { + return request({ + url: '/api/logpm-trunkline/carsLoad/batchUnload', + method: 'post', + data, + }); +}; diff --git a/src/option/distribution/TripartiteTransfer.js b/src/option/distribution/TripartiteTransfer.js index 5bc89b94..2614b8ce 100644 --- a/src/option/distribution/TripartiteTransfer.js +++ b/src/option/distribution/TripartiteTransfer.js @@ -311,7 +311,7 @@ export const detailsColumnList = [ { prop: 'scanStatusName', label: '装卸状态', - type: 1, + type: 3, values: '', width: '130', checkarr: [], @@ -401,6 +401,16 @@ export const detailsColumnList = [ { prop: 'typeName', label: '类型', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'num', + label: '数量', type: 1, values: '', width: '130', @@ -411,7 +421,7 @@ export const detailsColumnList = [ { prop: 'isDataName', label: '有无数据', - type: 1, + type: 3, values: '', width: '130', checkarr: [], @@ -419,9 +429,9 @@ export const detailsColumnList = [ sortable: true, }, { - prop: 'isAbnormalName', - label: '是否异常', - type: 1, + prop: 'loadingAbnormalName', + label: '是否装车异常', + type: 3, values: '', width: '130', checkarr: [], @@ -429,9 +439,19 @@ export const detailsColumnList = [ sortable: true, }, { - prop: 'chargeType', + prop: 'unloadAbnormalName', + label: '是否卸车异常', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'isSuppleName', label: '是否补录', - type: 1, + type: 3, values: '', width: '130', checkarr: [], @@ -518,6 +538,16 @@ export const detailsColumnList = [ // fixed: false, // sortable: true, // }, + { + prop: '', + label: '操作', + type: 6, + values: '', + width: '200', + checkarr: [], + fixed: true, + sortable: true, + }, ]; /** 运单池列表 */ diff --git a/src/views/distribution/artery/TripartiteTransfer.vue b/src/views/distribution/artery/TripartiteTransfer.vue index 07ee6e84..7dd55d7c 100644 --- a/src/views/distribution/artery/TripartiteTransfer.vue +++ b/src/views/distribution/artery/TripartiteTransfer.vue @@ -679,7 +679,16 @@ const beforeClose = done => { }; /** 显示装车详情 */ -const handleShowTruckLoadingDetails = ({ row }) => {}; +const handleShowTruckLoadingDetails = ({ row }) => { + $router.push({ + path: '/distribution/artery/truckLoadingDetails', + query: { + loadId: row.id, + name: row.carsNo + '--' + '装车明细', + type: 'TripartiteTransfer' + }, + }); +}; /** 跳转零担补录 */ const handleShowzeroAdditionalRecording = ({ row }) => { diff --git a/src/views/distribution/artery/VehicleArrivalManagement.vue b/src/views/distribution/artery/VehicleArrivalManagement.vue index 57a1dd9d..19937d71 100644 --- a/src/views/distribution/artery/VehicleArrivalManagement.vue +++ b/src/views/distribution/artery/VehicleArrivalManagement.vue @@ -124,92 +124,91 @@ - - - -