fix(lastleg): complete generated pallet receiving flow

This commit is contained in:
2026-09-09 02:54:09 +08:00
parent 86646ccd69
commit c5862db98d
20 changed files with 367 additions and 225 deletions
+5 -5
View File
@@ -59,18 +59,18 @@ const MODULE_DEPENDENCIES = new Map([
['truck-appointments', ['merchant-qualification-fixture']],
['service-center-flow', ['ocean-bookings', 'truck-appointments']],
['phase3-loading-finalize', ['phase3-loading', 'phase3-evidence-gate']],
['phase3-container-documents', ['phase3-loading-finalize']],
['phase3-container-documents', ['phase3-outbound-dispatch']],
['phase3-customs', ['phase3-loading-finalize']],
['phase3-container-customs', ['merchant-qualification-fixture']],
['phase3-port-schedules', ['ocean-bookings']],
['phase3-outbound-dispatch', ['phase3-container-documents', 'phase3-customs', 'phase3-port-schedules', 'service-center-flow']],
['phase3-outbound-dispatch', ['phase3-customs', 'phase3-port-schedules', 'service-center-flow']],
['phase3-outbound-aggregate', ['phase3-outbound-dispatch']],
['phase3-dispatch-gate', ['phase3-outbound-dispatch']],
['phase3-waiting-for-loading', ['phase3-outbound-dispatch']],
['phase3-carrier-schedule-queries', ['phase3-outbound-dispatch']],
['phase3-order-splitting', ['phase3-loading-finalize']],
['manual-state-matrix', ['phase3-loading-finalize', 'phase3-customs', 'ocean-bookings']],
['phase4-carrier-pickup-ready', ['phase3-carrier-schedule-queries']],
['phase4-carrier-pickup-ready', ['phase3-carrier-schedule-queries', 'phase3-container-documents']],
['phase4-tail-order-controls', ['phase4-carrier-pickup-ready']],
['phase4-overseas-pda', ['phase4-tail-order-controls']],
['phase4-overseas-pda-operations', ['phase4-overseas-pda']],
@@ -1497,8 +1497,6 @@ export class AcceptanceRun {
await this.executeModule(`phase3-loading-phase4-${label}`, () => loading.run(this))
const finalize = await import(new URL('./admin-test-env-modules/phase3-loading-finalize.mjs', import.meta.url))
await this.executeModule(`phase3-loading-finalize-phase4-${label}`, () => finalize.run(this))
const documents = await import(new URL('./admin-test-env-modules/phase3-container-documents.mjs', import.meta.url))
await this.executeModule(`phase3-container-documents-phase4-${label}`, () => documents.run(this))
const producerKey = this.createdResources.phase3LoadingCompletedProducer?.resourceKey
const writeShippingEvidence = (shippingReady, carrierScheduleQueryId = null,
carrierLatestActualAt = null) => {
@@ -1527,6 +1525,8 @@ export class AcceptanceRun {
await this.executeModule(`phase3-port-schedules-phase4-${label}`, () => portSchedules.run(this))
const outbound = await import(new URL('./admin-test-env-modules/phase3-outbound-dispatch.mjs', import.meta.url))
await this.executeModule(`phase3-outbound-dispatch-phase4-${label}`, () => outbound.run(this))
const documents = await import(new URL('./admin-test-env-modules/phase3-container-documents.mjs', import.meta.url))
await this.executeModule(`phase3-container-documents-phase4-${label}`, () => documents.run(this))
const carrierQueries = await import(new URL('./admin-test-env-modules/phase3-carrier-schedule-queries.mjs', import.meta.url))
await this.executeModule(`phase3-carrier-schedule-queries-phase4-${label}`, () => carrierQueries.run(this))
const carrierNodes = await import(new URL('./admin-test-env-modules/phase4-carrier-nodes.mjs', import.meta.url))