fix(dropship): generate pallet numbers atomically and extend full regressions
This commit is contained in:
@@ -47,8 +47,8 @@ export async function run(context) {
|
||||
`status=${plan?.status || 'missing'}, beforeVersion=${fixture.beforePlanVersion}, afterVersion=${plan?.version ?? 'missing'}, items=${afterItems.length}`,
|
||||
OPTIONS)
|
||||
|
||||
const containerResponse = await context.request('GET', `${CONTAINERS}/${encodeURIComponent(containerId)}`)
|
||||
const container = context.apiSuccess(MODULE, '读取关联真实柜号后的稳定柜次', containerResponse, '', OPTIONS)
|
||||
const containerResponse = await context.request('GET', `${CONTAINERS}/domestic/${encodeURIComponent(containerId)}`)
|
||||
const container = context.apiSuccess(MODULE, '读取关联真实柜号后的稳定柜次', containerResponse, '', OPTIONS)?.container
|
||||
const oceanBookingId = id(container?.oceanBookingId)
|
||||
const realContainerNo = String(container?.containerNo || '')
|
||||
context.assert(MODULE, '真实柜号和订舱原地补全且内部柜次身份不变', containerResponse,
|
||||
|
||||
Reference in New Issue
Block a user