优化
This commit is contained in:
@@ -449,7 +449,8 @@ function buildPayload(context, profile, master, productImageFileId, customerAddr
|
||||
const carton = dropship ? selectedBoxes[0] : box
|
||||
const cartonVolumeCbm = carton.lengthCm * carton.widthCm * carton.heightCm / 1_000_000
|
||||
return {
|
||||
skuNo: `SKU-${box.boxType}-${context.marker}`.slice(0, 64),
|
||||
skuNo: context.context?.waitSplitVariant?.skuCodes?.[index]
|
||||
|| `SKU-${box.boxType}-${context.marker}`.slice(0, 64),
|
||||
cargoName: `${box.boxType} 测试产品`, cargoNameEn: `${box.boxType} test product`,
|
||||
hsCode: '8518210000', customsHsCode: '8518210000', packageType: 'CARTON',
|
||||
packingGroupNo: dropship ? mixedPackingGroupNo : null,
|
||||
|
||||
Reference in New Issue
Block a user