diff --git a/src/option/waybill/TemporaryStorageList.js b/src/option/waybill/TemporaryStorageList.js index 2a075301..84ad6e80 100644 --- a/src/option/waybill/TemporaryStorageList.js +++ b/src/option/waybill/TemporaryStorageList.js @@ -85,6 +85,76 @@ export const columnList = [ fixed: false, sortable: true, }, + { + prop: 'senderFactory', + label: '发货单位', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'senderName', + label: '发货人', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'senderPhone', + label: '发货人电话', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'senderAddress', + label: '发货地址', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'consigneePerson', + label: '商场联系人', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'consigneeMobile', + label: '联系电话', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'consigneeAddress', + label: '地址', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, { prop: 'lineNameTitle', label: '干仓配', diff --git a/src/views/distribution/artery/VehicleArrivalManagement.vue b/src/views/distribution/artery/VehicleArrivalManagement.vue index 43a24a7b..8a7aaf6b 100644 --- a/src/views/distribution/artery/VehicleArrivalManagement.vue +++ b/src/views/distribution/artery/VehicleArrivalManagement.vue @@ -194,6 +194,43 @@ @click="handleEditStowage(slotProps.scope)" >编辑 + + + + + 更多 + + + @@ -417,6 +454,7 @@ import { postUpdateLoadScanFinalNodeIdById, postRemoveCarsLoadScan, postCancelStartCarByLoadId, + postManualLoadingloadId, postFindLoadingListData, } from '@/api/distribution/VehicleStowage'; import { useRouter } from 'vue-router'; @@ -1187,6 +1225,29 @@ const handleShowListOfLoadedWagons = async () => { details.loadingObj.pageLoading = false; } }; + +/** 手动装车 */ +const handleManualLoading = ({ row }) => { + console.log('row :>> ', row); + ElMessageBox.confirm(`是否进行手动装车?`) + .then(async () => { + try { + details.loadingObj.pageLoading = true; + + const response = await postManualLoadingloadId({ loadId: row.id }); + if (response.data.code !== 200) return; + ElMessage.success(response.data.msg); + onLoad(); + } catch (error) { + console.log('error :>> ', error); + } finally { + details.loadingObj.pageLoading = false; + } + }) + .catch(() => { + // catch error + }); +};