Browse Source

比例类型

shish 3 years ago
parent
commit
31af11092d
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

@@ -467,9 +467,11 @@ class PurchaseOrderClass extends BaseClass
                 $currentBigUnit = $productList[$productId]['bigUnit'] ?? '';
                 $currentSmallUnit = $productList[$productId]['smallUnit'] ?? '';
                 $currentRatio = $productList[$productId]['ratio'] ?? 0;
+                $currentRatioType = $productList[$productId]['ratioType'] ?? 0;
                 $batchData[$currentKey]['bigUnit'] = $currentBigUnit;
                 $batchData[$currentKey]['smallUnit'] = $currentSmallUnit;
                 $batchData[$currentKey]['ratio'] = $currentRatio;
+                $batchData[$currentKey]['ratioType'] = $currentRatioType;
                 $batchData[$currentKey]['presell'] = $presell;
 
                 if ($inType == self::IN_TYPE_NOW) {