fix: prepare mixed-SKU dropship acceptance data
This commit is contained in:
@@ -444,7 +444,6 @@ function buildPayload(context, profile, master, productImageFileId, customerAddr
|
||||
},
|
||||
receiver,
|
||||
cargoes: selectedBoxes.map((box, index) => {
|
||||
const volumeCbm = box.lengthCm * box.widthCm * box.heightCm / 1_000_000
|
||||
const unitsPerPackage = 10 + index
|
||||
const packageCount = dropship ? mixedPackageCount : Number(packageCounts[index] || packageCountPerSku)
|
||||
const carton = dropship ? selectedBoxes[0] : box
|
||||
|
||||
Reference in New Issue
Block a user