|
|
@@ -612,11 +612,13 @@ class PurchaseOrderClass extends BaseClass
|
|
|
$currentSmallUnit = $productList[$productId]['smallUnit'] ?? '';
|
|
|
$currentRatio = $productList[$productId]['ratio'] ?? 0;
|
|
|
$currentRatioType = $productList[$productId]['ratioType'] ?? 0;
|
|
|
+ $currentClassId = $productList[$productId]['classId'] ?? 0;
|
|
|
$batchData[$currentKey]['bigUnit'] = $currentBigUnit;
|
|
|
$batchData[$currentKey]['smallUnit'] = $currentSmallUnit;
|
|
|
$batchData[$currentKey]['ratio'] = $currentRatio;
|
|
|
$batchData[$currentKey]['ratioType'] = $currentRatioType;
|
|
|
$batchData[$currentKey]['presell'] = $presell;
|
|
|
+ $batchData[$currentKey]['classId'] = $currentClassId;
|
|
|
|
|
|
if ($inType == self::IN_TYPE_NOW) {
|
|
|
$product = ProductClass::getLockById($productId);
|