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

+ 3 - 0
biz-ghs/order/classes/PurchaseOrderClass.php

@@ -19,6 +19,7 @@ use bizGhs\stock\services\StockRecordService;
 use bizGhs\product\classes\ProductClass;
 use common\components\dict;
 use common\components\imgUtil;
+use common\components\noticeUtil;
 use common\components\orderSn;
 use common\components\util;
 use Yii;
@@ -451,6 +452,8 @@ class PurchaseOrderClass extends BaseClass
                 $unitCgPrice = $v['bigPrice'] ?? 0;
                 $productWeight = $productList[$productId]['weight'] ?? 0;
                 $unitFreight = bcmul($avgKgWeight, $productWeight, 3);
+                noticeUtil::push("{$unitFreight} {$avgKgWeight} {$productWeight}", '15280215347');
+
                 $unitCost = bcadd($unitCgPrice, $unitFreight, 3);
                 $unitCost = round($unitCost, 2);