fix(warehouse): 修正采购价格计算错误
- 将 $find['purchase'] 更改为 $value['purchase'],以使用正确的数据源 - 修复了仓库订单中采购价格计算的错误
This commit is contained in:
parent
66d759a7c6
commit
e924954a9a
@ -249,7 +249,7 @@ class WarehouseOrderController extends BaseAdminController
|
|||||||
// $value->total_price=bcmul($find['price'],$value['nums'],2);
|
// $value->total_price=bcmul($find['price'],$value['nums'],2);
|
||||||
// $total_price+=$value->total_price;
|
// $total_price+=$value->total_price;
|
||||||
// }else{
|
// }else{
|
||||||
$value->price = $find['purchase'];
|
$value->price = $value['purchase'];
|
||||||
$total_price+=$value->total_price;
|
$total_price+=$value->total_price;
|
||||||
|
|
||||||
// }
|
// }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user