test: use channel groups in booking fixtures
This commit is contained in:
@@ -188,7 +188,7 @@ export async function run(context) {
|
||||
if (!shippingCarrier?.id) return
|
||||
const bookingDraft = {
|
||||
customerId: tenantId, customerName: inbound?.summary?.customerName || `验收客户-${tenantId}`,
|
||||
channelCode, warehouseId,
|
||||
channelCode: channelGroup(channelCode), warehouseId,
|
||||
billOfLadingNo: `BL-${suffix}`.slice(0, 128),
|
||||
shippingCompanyId: id(shippingCarrier.id), shippingCompanyName: shippingCarrier.name, carrierCode: 'MATSON',
|
||||
bookingAgentId: id(bookingAgent.id), bookingAgentName: bookingAgent.name,
|
||||
|
||||
@@ -197,7 +197,7 @@ export async function run(context) {
|
||||
const bookingDraft = {
|
||||
customerId: tenantId, customerName: initial?.summary?.customerName,
|
||||
warehouseId,
|
||||
channelCode: initial?.summary?.channelCode,
|
||||
channelCode: channelGroup(initial?.summary?.channelCode),
|
||||
billOfLadingNo: `P3BL-${suffix}`.slice(0, 128),
|
||||
shippingCompanyId: id(shippingCarrier.id), shippingCompanyName: shippingCarrier.name, carrierCode: 'MATSON',
|
||||
bookingAgentId: id(supplier.id), bookingAgentName: supplier.name,
|
||||
|
||||
Reference in New Issue
Block a user