fix(pda): stage sealed pallet scans for atomic batch picking

This commit is contained in:
2026-09-09 12:29:46 +08:00
parent 0745e9600c
commit b19cecb54f
10 changed files with 136 additions and 11 deletions
+1
View File
@@ -107,6 +107,7 @@ export async function submitContainerPickingBatch(task, actions, { warehouseId,
const items = (actions || []).map((action) => ({
itemId: action.itemId,
action: action.type,
palletNo: action.type === 'PICK_PALLET' ? action.palletNo : null,
pickedPackageCount: action.type === 'PICK' ? action.pickedPackageCount : null,
finalPickedPackageCount: action.type === 'PARTIAL' ? action.finalPickedPackageCount : null,
version: action.version,