fix(dropship): project sealed carton identities into overseas receiving

This commit is contained in:
2026-09-09 13:20:11 +08:00
parent 90973532f0
commit 748855793d
19 changed files with 558 additions and 33 deletions
+2 -1
View File
@@ -1380,6 +1380,7 @@ export class AcceptanceRun {
orderId: fixture.orderId || this.createdResources.orders?.orderId,
inboundId: fixture.inboundId,
boxCode: fixture.boxCode,
sealedCartonMarks: Array.isArray(fixture.sealedCartonMarks) ? fixture.sealedCartonMarks : [],
fulfillmentType: fixtureOrder.fulfillmentType || 'STANDARD',
skuCodes: Array.isArray(fixtureOrder.skuCodes) ? fixtureOrder.skuCodes : [],
skuLines: Array.isArray(fixtureOrder.skuLines) ? fixtureOrder.skuLines : [],
@@ -1573,7 +1574,7 @@ export class AcceptanceRun {
await this.runPhase4ProducerVariant('FBA-STANDARD', 'FBA', 'STANDARD', false)
}
if (Number(readiness().overseasContainerCount || 0) < 1) {
await this.runPhase4ProducerVariant('OVERSEAS-PRIMARY', 'OVERSEAS', 'STANDARD', true)
await this.runPhase4ProducerVariant('OVERSEAS-PRIMARY', 'OVERSEAS', 'ONE_CLICK_DROPSHIP', true)
}
if (Number(readiness().distinctContainerCount || 0) < 4) {
await this.runPhase4ProducerVariant('SECONDARY', 'FBA', 'STANDARD', false)