update
This commit is contained in:
parent
1bf93d8054
commit
92b3cd5b69
@ -471,7 +471,10 @@
|
||||
return $this->fail('审核参数错误');
|
||||
}
|
||||
if(empty($params['content'])){
|
||||
return $this->fail('请填写审核意见');
|
||||
$mes = match ($params['check']){
|
||||
1=>'请填写审核意见',2=>'请填写审核意见',3=>'请填写撤销理由'
|
||||
};
|
||||
return $this->fail($mes);
|
||||
}
|
||||
$data = Db::name('oa_expense')->where('id',$params['id'])->find();
|
||||
if(empty($data)){
|
||||
|
@ -462,7 +462,10 @@
|
||||
return $this->fail('审核参数错误');
|
||||
}
|
||||
if(empty($params['content'])){
|
||||
return $this->fail('请填写审核意见');
|
||||
$mes = match ($params['check']){
|
||||
1=>'请填写审核意见',2=>'请填写审核意见',3=>'请填写撤销理由'
|
||||
};
|
||||
return $this->fail($mes);
|
||||
}
|
||||
$data = Db::name('oa_invoice')->where('id',$params['id'])->find();
|
||||
if(empty($data)){
|
||||
|
Loading…
x
Reference in New Issue
Block a user