Ver código fonte

体积字段

Zhouzhendong 6 anos atrás
pai
commit
1d49a22a8c

+ 1 - 1
app/Http/Controllers/api/thirdPart/flux/WaybillController.php

@@ -42,7 +42,7 @@ class WaybillController extends Controller
                 $warehouseWeight=0;
                 $warehouseWeightOther=0;
                 foreach ($receiveInputting['order_list'] as $orderInputting){
-                    if ($orderInputting['Qtyordered_each'])$warehouseWeight += $orderInputting['Qtyordered_each'];
+                    if ($orderInputting['Cubic'])$warehouseWeight += $orderInputting['Cubic'];
                     if ($orderInputting['GrossWeight'])$warehouseWeightOther +=$orderInputting['GrossWeight'];
                     if (!$orderInputting['GrossWeight'] && $orderInputting['NetWeight']) $warehouseWeightOther +=$orderInputting['NetWeight'];
                     $orderInputting['OrderNo']=$receiveInputting['OrderNo'];