整批提交原子性的方案

This commit is contained in:
2026-09-11 18:14:35 +08:00
parent 1b45a4f2ec
commit 28c574ae36
7 changed files with 114 additions and 19 deletions
+2 -1
View File
@@ -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`,