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 -1
View File
@@ -21,7 +21,7 @@ test('a server task never inherits a completed marker from the previously opened
assert.match(page, /submitStatusHint\(\)[\s\S]*?if \(this\.pickingCompleted\) return '拣货已完成,请继续装柜取证'/)
const submit = page.match(/async submitPicking\(\) \{[\s\S]*?\n\t\t\t\},/)?.[0] || ''
assert.doesNotMatch(submit, /completedBoxes/)
assert.match(page, /v-else-if="pickingOperationReady" class="pick-item-actions processed-actions"/)
assert.match(page, /v-else-if="pickingOperationReady && !isPalletItem\(item\)" class="pick-item-actions processed-actions"/)
assert.doesNotMatch(page, /v-else-if="!(?:pickingCompleted|completedBoxes\[currentBoxIndex\])"/)
})