shish 4 лет назад
Родитель
Сommit
e3d4d02b1e
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      biz-ghs/product/classes/ProductClass.php

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

@@ -711,6 +711,8 @@ class ProductClass extends BaseClass
             $tmp['smallNum'] = $v['smallNum'];
             $tmp['userPrice'] = $price;
             $tmp['cost'] = $cost;
+            $tmp['sjId'] = $productData[$productId]['sjId'] ?? 0;
+            $tmp['shopId'] = $productData[$productId]['shopId'] ?? 0;
 
             //小单位单价
             $smallUnitPrice = bcdiv($itemPrice, $tmp['ratio'], 2);