|
|
@@ -165,9 +165,10 @@ class WaterQueryController
|
|
|
$details = WaterMaterialScience::where('cate_id', $data['lacing'][$lac_storey-1])->where($where)->find();
|
|
|
$zj += $details['unit_price'] * $v;
|
|
|
$zzl += $details['weight'] * $v;
|
|
|
- $table[] = ['title' => '辅拉B'.$lac_storey.'层' , 'name' => $details['name'], 'specifications' => '1', 'number' => $v, 'unit_price' => $details['unit_price'], 'company' => $details['company'], 'ot_price' => $details['unit_price'] * $v, 'weight' => $details['weight'] * $v , 'type' => 3];
|
|
|
+ $table[] = ['title' => '主拉B'.$lac_storey.'层' , 'name' => $details['name'], 'specifications' => '1', 'number' => $v, 'unit_price' => $details['unit_price'], 'company' => $details['company'], 'ot_price' => $details['unit_price'] * $v, 'weight' => $details['weight'] * $v , 'type' => 3];
|
|
|
}
|
|
|
|
|
|
+ //辅拉
|
|
|
$fula_storey = 0;
|
|
|
foreach ($calculation['fula_number'] as $v){
|
|
|
$fula_storey ++;
|