|
@@ -261,6 +261,7 @@ class Beihuogl extends Start_Controller {
|
|
|
$time = time();
|
|
$time = time();
|
|
|
if(empty($data['yqwc_time'])){
|
|
if(empty($data['yqwc_time'])){
|
|
|
echo json_encode(['code'=>-1,'msg'=>'预期完工事时间为填写']);
|
|
echo json_encode(['code'=>-1,'msg'=>'预期完工事时间为填写']);
|
|
|
|
|
+ die;
|
|
|
}
|
|
}
|
|
|
foreach($data['title'] as $k=>$v){
|
|
foreach($data['title'] as $k=>$v){
|
|
|
$insert_arr[] = [
|
|
$insert_arr[] = [
|
|
@@ -432,6 +433,7 @@ class Beihuogl extends Start_Controller {
|
|
|
|
|
|
|
|
if(empty($data['yqwc_time'])){
|
|
if(empty($data['yqwc_time'])){
|
|
|
echo json_encode(['code'=>-1,'msg'=>'预期完工事时间为填写']);
|
|
echo json_encode(['code'=>-1,'msg'=>'预期完工事时间为填写']);
|
|
|
|
|
+ die;
|
|
|
}
|
|
}
|
|
|
$r = $this->bhsq->save($update_arr,$id);
|
|
$r = $this->bhsq->save($update_arr,$id);
|
|
|
if($r){
|
|
if($r){
|