fix(acceptance): complete overseas fulfillment closure
This commit is contained in:
@@ -254,7 +254,7 @@ export async function run(context) {
|
||||
dropshipCandidates.length > 0, `inboundId=${inboundId}, pallets=${dropshipCandidates.length}`, OPTIONS)
|
||||
}
|
||||
context.assert(MODULE, '柜次装柜候选与入库单、客户和仓库一致', candidateResponse,
|
||||
Boolean(candidate?.inboundDetailId) && id(candidate?.accountId) === tenantId
|
||||
Boolean(candidate?.inboundDetailId || id(candidate?.palletId)) && id(candidate?.accountId) === tenantId
|
||||
&& id(candidate?.warehouseId) === warehouseId,
|
||||
`candidate=${Boolean(candidate)}, warehouseId=${warehouseId || 'missing'}`, OPTIONS)
|
||||
if ((!candidate?.inboundDetailId && !id(candidate?.palletId)) || !warehouseId) return
|
||||
|
||||
Reference in New Issue
Block a user