Browse Source

采购批量

shish 2 years ago
parent
commit
22d76c25b8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      biz-ghs/order/classes/PurchaseOrderClass.php

+ 2 - 0
biz-ghs/order/classes/PurchaseOrderClass.php

@@ -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);