整批提交原子性的方案
This commit is contained in:
+2
-1
@@ -119,7 +119,8 @@ export async function submitContainerPickingBatch(task, actions, { warehouseId,
|
||||
pickedPackageCount: action.type === 'PICK' ? action.pickedPackageCount : null,
|
||||
finalPickedPackageCount: action.type === 'PARTIAL' ? action.finalPickedPackageCount : null,
|
||||
version: action.version,
|
||||
reason: action.type === 'SKIP' ? action.reason : null
|
||||
reason: action.type === 'SKIP' ? action.reason : null,
|
||||
palletNo: action.type === 'PICK_PALLET' ? action.palletNo : null
|
||||
}))
|
||||
return request({
|
||||
url: `/first-leg/pda-loading/tasks/${encodeURIComponent(task.taskId)}/batch`,
|
||||
|
||||
Reference in New Issue
Block a user