|
@@ -76,7 +76,6 @@ class WaterQueryController
|
|
|
// User::where('uid', $request->uid())->dec('frequency', 1)->update();
|
|
|
// }
|
|
|
// }
|
|
|
-
|
|
|
if ($user['phone']){
|
|
|
$res1 = $this->NewSmsSend('13905764599', ['code' => $user['phone']], '');
|
|
|
$res1 = $this->NewSmsSend('13905764591', ['code' => $user['phone']], '');
|
|
@@ -146,7 +145,6 @@ class WaterQueryController
|
|
|
$table[] = ['title' => '顶板','name' => $details['name'], 'specifications' => $details['long'].'*'.$details['wide'], 'number' => $v, 'unit_price' => $details['unit_price'], 'company' => $details['company'], 'ot_price' => $details['unit_price'] * $v, 'weight' => $details['weight'] * $v , 'type' => 1];
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
// 底板
|
|
|
$science = WaterMaterialScience::where('cate_id', $data['floor'])->order('wide DESC')->select()->toArray();
|
|
|
if (count($science) == 1){
|
|
@@ -395,7 +393,7 @@ class WaterQueryController
|
|
|
}
|
|
|
}
|
|
|
//立柱
|
|
|
- $column_number = ceil((ceil($long) - 1) * (ceil($wide) -1) * $wide / 2);
|
|
|
+ $column_number = ceil(((ceil($long) - 1) * (ceil($wide) -1) * $high) / 2);
|
|
|
//保温板数量
|
|
|
$warm1 = 0;// 1*1 数量
|
|
|
$warm2 = 0;// 1*0.5数量
|