修复报销审核发票审核抄送人为空时的bug
This commit is contained in:
parent
b72f57a9ef
commit
d2247609cd
@ -441,6 +441,7 @@ class Expense extends BaseController
|
||||
$detail = $this->detail($id);
|
||||
$flows = Db::name('FlowStep')->where(['action_id'=>$detail['id'],'type'=>2,'sort'=>$detail['check_step_sort'],'delete_time'=>0])->find();
|
||||
$detail['check_user'] = '-';
|
||||
$detail['copy_user'] = '-';
|
||||
$check_user_ids = [];
|
||||
if($detail['check_status']<2){
|
||||
if($flows['flow_type']==1){
|
||||
|
@ -373,6 +373,7 @@ class Invoice extends BaseController
|
||||
$detail = $this->detail($id);
|
||||
$flows = Db::name('FlowStep')->where(['action_id'=>$detail['id'],'type'=>3,'sort'=>$detail['check_step_sort'],'delete_time'=>0])->find();
|
||||
$detail['check_user'] = '-';
|
||||
$detail['copy_user'] = '-';
|
||||
$check_user_ids = [];
|
||||
if($detail['check_status']<2){
|
||||
if($flows['flow_type']==1){
|
||||
|
Loading…
x
Reference in New Issue
Block a user