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