shish 4 лет назад
Родитель
Сommit
104fa5be35
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      biz-hd/purchase/classes/PurchaseClass.php

+ 3 - 0
biz-hd/purchase/classes/PurchaseClass.php

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