stabilize overseas admin acceptance fixtures
This commit is contained in:
@@ -170,10 +170,16 @@ async function verifyTransfer(context, token, orders) {
|
||||
deliveryAddress: `${order.row.fbaWarehouseCode} ${context.marker}`.slice(0, 1000),
|
||||
packageCount: packages, volumeCbm: volume, deliveryMethod: 'TRUCK', estimatedArrivalAt: future(10),
|
||||
fbaShipmentNo: cargo.shipmentNo || `${context.marker}-TRANSFER-SHIP`, trackingNo: cargo.fbaTrackingNo || null,
|
||||
fbaBoxNos: cargo.shippingMark || null, remark: context.marker, needRelabel: false,
|
||||
fbaBoxNos: cargo.shippingMark || null, remark: context.marker, needRelabel: true,
|
||||
labelDeadline: future(7), relabelContactName: '客户贴标验收联系人', relabelContactPhone: '13800000006',
|
||||
relabelChargeAmount: 0.01, relabelDeliveryMethod: 'TRUCK',
|
||||
idempotencyKey: `${context.marker}-CLIENT-TRANSFER`.slice(0, 255),
|
||||
items: [{ skuCode: cargo.skuCode, productNameZh: cargo.productNameZh,
|
||||
packageCount: packages, shippingMark: cargo.shippingMark || null }],
|
||||
relabelItems: [{ operationType: 'CARTON_AND_SKU', customerCartonMarks: [cargo.shippingMark || `CM-${context.marker}`],
|
||||
originalSku: cargo.skuCode, newSku: `${cargo.skuCode}-NEW`.slice(0, 128), quantity: 1,
|
||||
fbaCartonMark: `FBA-${context.marker}`.slice(0, 255), destinationWarehouseCode: order.row.fbaWarehouseCode,
|
||||
remark: context.marker }],
|
||||
}
|
||||
const created = await merchant(context, token, 'POST', '客户创建仓储转运申请', TRANSFER, body)
|
||||
const transferNo = id(created.data?.transferNo)
|
||||
|
||||
Reference in New Issue
Block a user