|
@@ -83,6 +83,9 @@ class PurchaseClass extends BaseClass
|
|
|
$unitWeight = $val->unitWeight ?? 0;
|
|
$unitWeight = $val->unitWeight ?? 0;
|
|
|
$currentWeight = bcmul($num, $unitWeight, 2);
|
|
$currentWeight = bcmul($num, $unitWeight, 2);
|
|
|
$weight = bcadd($weight, $currentWeight, 2);
|
|
$weight = bcadd($weight, $currentWeight, 2);
|
|
|
|
|
+
|
|
|
|
|
+ //todo 这边需要库存增加接口
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
$cg->itemPrice = $itemPrice;
|
|
$cg->itemPrice = $itemPrice;
|