shish 3 лет назад
Родитель
Сommit
9ed73af53e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      biz-ghs/order/classes/PurchaseOrderClass.php

+ 1 - 1
biz-ghs/order/classes/PurchaseOrderClass.php

@@ -453,7 +453,7 @@ class PurchaseOrderClass extends BaseClass
                 $unitFreight = bcmul($avgKgWeight, $productWeight, 2);
                 $unitCost = bcadd($unitCgPrice, $unitFreight, 2);
                 //四舍五入取整数
-                $unitCost = round($unitCost);
+                //$unitCost = round($unitCost);
                 $batchData[$currentKey]['bigFreight'] = $unitFreight;
                 $batchData[$currentKey]['cost'] = $unitCost;