test(acceptance): reuse fixed customers and align native fulfillment flows

This commit is contained in:
2026-10-23 04:48:02 +08:00
parent b92f7fe991
commit 139f6b1932
51 changed files with 1076 additions and 228 deletions
@@ -4,7 +4,7 @@ import { bindLooseboardDemand } from './looseboard-pool-binding.mjs'
const API = '/api/platform/v1/last-leg'
const MODULE = 'phase4-overseas-business'
const OPTIONS = { scenario: 'looseboard-pool-preparation', deploymentBlocker: true }
const validVersion = value => Number.isSafeInteger(value) && value >= 0
const validVersion = value => /^(0|[1-9]\d*)$/.test(String(value)) && Number.isSafeInteger(Number(value))
/** 复用本轮已审核且未扫码车次,发布可核验余位并衔接散板原单。 */
export async function prepareLooseboardPool(context, { demand, tripProof, destinationKey, unitPrice }, bind = bindLooseboardDemand) {