diff --git a/scripts/admin-test-env-modules/phase4-overseas-finance-cross-region.mjs b/scripts/admin-test-env-modules/phase4-overseas-finance-cross-region.mjs index f8ee7e451..96b565e71 100644 --- a/scripts/admin-test-env-modules/phase4-overseas-finance-cross-region.mjs +++ b/scripts/admin-test-env-modules/phase4-overseas-finance-cross-region.mjs @@ -61,11 +61,14 @@ async function resolveFixtures(context) { const merchantCustomerId = id(context.createdResources?.merchantQualificationFixture?.tenantId || business?.purchase?.customerId || business?.truck?.customerId || business?.looseboard?.customerId) const procurement = await resolveListedBusiness(context, - '/api/platform/v1/last-leg/overseas-procurements', business?.purchase, merchantCustomerId, '海外采购') + '/api/platform/v1/last-leg/overseas-procurements', business?.purchase, + id(business?.purchase?.customerId), '海外采购') const truck = await resolveListedBusiness(context, - '/api/platform/v1/last-leg/us-truck-orders', business?.truck, merchantCustomerId, '美国卡车') + '/api/platform/v1/last-leg/us-truck-orders', business?.truck, + id(business?.truck?.customerId), '美国卡车') const looseboard = await resolveListedBusiness(context, - '/api/platform/v1/last-leg/local-looseboard-orders', business?.looseboard, merchantCustomerId, '本土散板') + '/api/platform/v1/last-leg/local-looseboard-orders', business?.looseboard, + id(business?.looseboard?.customerId), '本土散板') const pda = context.createdResources?.phase4OverseasPda const inboundCustomerId = id(pda?.customerId)