|
|
|
@ -706,6 +706,7 @@ const handleBatchUnLoad = async () => {
|
|
|
|
|
loadId: details.pageInfo.loadId, |
|
|
|
|
unloadPackageList: _orderArr, |
|
|
|
|
unloadZeroList: _zeroArr, |
|
|
|
|
incomingType: '7', |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
const res = await postBatchUnload(submitData); |
|
|
|
@ -739,6 +740,7 @@ const handleBatchUnLoad = async () => {
|
|
|
|
|
loadId: details.pageInfo.loadId, |
|
|
|
|
unloadPackageList: _orderArr, |
|
|
|
|
unloadZeroList: _zeroArr, |
|
|
|
|
incomingType: '7', |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
const res = await postBatchUnload(submitData); |
|
|
|
@ -764,6 +766,7 @@ const handleBatchUnLoad = async () => {
|
|
|
|
|
loadId: details.pageInfo.loadId, |
|
|
|
|
unloadPackageList: _orderArr.filter(val => val.finalNodeId === myWarehouseId), |
|
|
|
|
unloadZeroList: _zeroArr.filter(val => val.finalNodeId === myWarehouseId), |
|
|
|
|
incomingType: '7', |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
const res = await postBatchUnload(submitData); |
|
|
|
@ -876,6 +879,7 @@ const handleOrderUnLoad = async ({ row }) => {
|
|
|
|
|
loadId: details.pageInfo.loadId, |
|
|
|
|
unloadPackageList: [{ orderPackageCode: row.scanCode }], |
|
|
|
|
unloadZeroList: [], |
|
|
|
|
incomingType: '7', |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
const res = await postBatchUnload(submitData); |
|
|
|
@ -906,6 +910,7 @@ const handleOrderUnLoad = async ({ row }) => {
|
|
|
|
|
loadId: details.pageInfo.loadId, |
|
|
|
|
unloadPackageList: [{ orderPackageCode: row.scanCode }], |
|
|
|
|
unloadZeroList: [], |
|
|
|
|
incomingType: '7', |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
const res = await postBatchUnload(submitData); |
|
|
|
@ -976,7 +981,7 @@ const handleZeroUnLoadSubmit = async () => {
|
|
|
|
|
details.popUpShow.transferVisited = false; |
|
|
|
|
details.loadingObj.pageLoading = true; |
|
|
|
|
|
|
|
|
|
let res = {}; |
|
|
|
|
let res: any = {}; |
|
|
|
|
|
|
|
|
|
if (details.pageInfo.type !== 'TripartiteTransfer') { |
|
|
|
|
const submitData = { |
|
|
|
@ -989,6 +994,7 @@ const handleZeroUnLoadSubmit = async () => {
|
|
|
|
|
orderCode: details.zeroItem.orderCode, |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
incomingType: '7', |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
res = await postBatchUnload(submitData); |
|
|
|
@ -998,6 +1004,7 @@ const handleZeroUnLoadSubmit = async () => {
|
|
|
|
|
waybillNo: details.zeroItem.waybillNo, |
|
|
|
|
enterNum: details.zeroItem.num, |
|
|
|
|
orderCode: details.zeroItem.orderCode, |
|
|
|
|
incomingType: '7', |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
res = await postTransferUnloadZero(submitData); |
|
|
|
|