Browse Source

成本问题

shish 2 years ago
parent
commit
9c879cbcdd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      biz-ghs/product/classes/ProductClass.php

+ 1 - 0
biz-ghs/product/classes/ProductClass.php

@@ -1335,6 +1335,7 @@ class ProductClass extends BaseClass
             $tmp['mainId'] = $currentGhsProduct['mainId'] ?? 0;
             $tmp['smallUnitPrice'] = $itemPrice;
             $tmp['classId'] = $classId;
+            $tmp['belongCost'] = $currentGhsProduct['belongCost'] ?? 0;
 
             $totalBigNum += $bigNum;
             $totalSmallNum += $smallNum;