fix: scope smart loading recommendations

This commit is contained in:
2026-09-14 17:22:09 +08:00
parent 8a1e587ee4
commit 64bddb1f81
10 changed files with 199 additions and 44 deletions
@@ -527,7 +527,10 @@ test('PDA completion acceptance verifies immutable BATCH and COMPLETE_LOADING au
assert.match(loading, /inbound-candidates\?channelGroupCodes=/)
assert.match(loading, /unitType === 'SEALED_PALLET'/)
assert.match(loading, /indivisible === true/)
assert.match(loading, /palletId: id\(candidate\.palletId\)/)
assert.match(loading, /palletId: id\(pallet\.palletId\)/)
assert.match(loading, /一件代发分配首托后其余托盘仍可独立分配/)
assert.match(loading, /智能推荐保留同票全部封托托盘且不按箱拆分/)
assert.match(loading, /customerId:\s*tenantId/)
assert.doesNotMatch(loading, /bridge-assign-inbound/)
assert.match(loading, /skipBatchVerified, partialBatchVerified, dynamicIncrementVerified/)
assert.match(convergence, /expectedBatchCount = fixture\?\.fulfillmentType === 'ONE_CLICK_DROPSHIP' \? 1 : 4/)