Browse Source

采购优化

林琦海 5 years ago
parent
commit
f7d5338f09
1 changed files with 1 additions and 1 deletions
  1. 1 1
      biz-ghs/order/classes/PurchaseOrderClass.php

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

@@ -65,7 +65,7 @@ class PurchaseOrderClass extends BaseClass
                 if (getenv('YII_ENV') == 'production') {
                     $weight = $v['weight'] ?? 0;
                 } else {
-                    $weight = 0.6;
+                    $weight = $v['weight'] ?? 0;
                 }
                 $totalItemWeight = bcadd($totalItemWeight, $weight, 2);
             }