hrjy 2 years ago
parent
commit
6ff751e476
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/api/controller/water/WaterQueryController.php

+ 2 - 0
app/api/controller/water/WaterQueryController.php

@@ -174,6 +174,8 @@ class WaterQueryController
                             $floor1 += 1;
                             $floor = 0;
                         }
+                        $zj +=  $item['unit_price'] * $floor1;
+                        $zzl += $item['weight'] * $v;
                         $table[] = ['title' => '底板', 'name' => $item['name'], 'specifications' =>  $item['long'].'m*'.$item['wide'].'m', 'number' => $floor1, 'unit_price' => $item['unit_price'], 'company' => $item['company'], 'ot_price' => $item['unit_price'] * $floor1, 'weight' => $item['weight'] * $v, 'type' => 4];
                     }
                 }