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