fix(test): align receiving pallets with FBA destinations

This commit is contained in:
2026-09-08 12:45:46 +08:00
parent 847df6a85f
commit 096ab8d48b
3 changed files with 32 additions and 7 deletions
@@ -669,7 +669,9 @@ async function runReceiving(context, token, secondaryToken, merchantToken, prefe
pallets.get(inbound.inboundCode), inbound.destinationType)
if (warehouseFacts && context.context?.phase4OverseasPdaOperations) {
context.context.phase4OverseasPdaOperations.completedFixtures.push({
containerNo, order, ...warehouseFacts,
containerNo, order, destinationType: inbound.destinationType,
fbaWarehouseCode: inbound.destinationType === 'FBA' ? inbound.fbaWarehouseCode : null,
...warehouseFacts,
})
}
}