|
|
@@ -450,7 +450,7 @@ class PurchaseOrderClass extends BaseClass
|
|
|
//单位采购价
|
|
|
$unitCgPrice = $v['bigPrice'] ?? 0;
|
|
|
$productWeight = $productList[$productId]['weight'] ?? 0;
|
|
|
- $unitFreight = bcmul($avgKgWeight, $productWeight, 2);
|
|
|
+ $unitFreight = bcmul($avgKgWeight, $productWeight, 3);
|
|
|
$unitCost = bcadd($unitCgPrice, $unitFreight, 3);
|
|
|
$unitCost = round($unitCost, 2);
|
|
|
|