This commit is contained in:
2026-08-14 16:06:27 +08:00
parent 87eb1aa72f
commit 87e919f3c4
54 changed files with 984 additions and 175 deletions
@@ -150,7 +150,8 @@ test('container loading creates and confirms booking before scoped candidates',
assert.match(value, /tasks\?loadingPlanId=\$\{encodeURIComponent\(planId\)\}&warehouseId=/)
assert.match(value, /loadingPlanId: planId, containerBookingId: containerId/)
assert.ok(value.includes("'PATCH', `${CONTAINERS}/${containerId}/transport"))
assert.match(value, /绑定本轮真实箱号并补建 PDA 任务/)
assert.match(value, /在放舱前绑定本轮真实箱号/)
assert.match(value, /订舱放舱并开放现场 PDA 任务/)
assert.doesNotMatch(value, /POST', CONTAINERS, containerPayload/)
})
@@ -188,7 +189,9 @@ test('container loading enforces channel isolation and stable PDA identity acros
'创建异渠道隔离订舱',
'异渠道入库单拒绝装入当前柜次',
'无真实柜号时计划可排柜但 PDA 任务不开放',
'绑定本轮真实箱号并补建 PDA 任务',
'在放舱前绑定本轮真实箱号',
'订舱 CONFIRMED 即使已有真实柜号也不开放 PDA 任务',
'订舱放舱并开放现场 PDA 任务',
'换柜号前读取 PDA 稳定库存快照',
'PDA 任务创建后替换真实柜号',
'PDA 任务创建后清空真实柜号失败',