This commit is contained in:
parent
339d1319a1
commit
5b16fcae67
|
@ -257,8 +257,7 @@ class OrderController extends base
|
||||||
if(empty($desc) || empty($status)) return $this->error(2004, '跟进说明需要填写!');
|
if(empty($desc) || empty($status)) return $this->error(2004, '跟进说明需要填写!');
|
||||||
if(empty($personnel)) return $this->error(2004, '人员情况需要填写!');
|
if(empty($personnel)) return $this->error(2004, '人员情况需要填写!');
|
||||||
if(empty($travel_date)) return $this->error(2004, '出游时间需要填写!');
|
if(empty($travel_date)) return $this->error(2004, '出游时间需要填写!');
|
||||||
if(empty($next_follow)) return $this->error(2004, '下次跟进时间必填!');
|
if (in_array($status, [0, 1])){
|
||||||
if ($status == 1){
|
|
||||||
if(empty($next_follow)) return $this->error(2004, '下次跟进时间需要填写!');
|
if(empty($next_follow)) return $this->error(2004, '下次跟进时间需要填写!');
|
||||||
}
|
}
|
||||||
if ($status == 2){
|
if ($status == 2){
|
||||||
|
|
Loading…
Reference in New Issue