审核权限

This commit is contained in:
2026-02-06 15:34:01 +08:00
parent d3ed9c05c6
commit d719ee5ea2
3 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ class InvRequisitionService
if(isset($p['phase']) && $p['phase'] == 'approve'){//借用审批中
$config['where']['status'] = ['in',[10,11,13]];
}elseif(isset($p['phase']) && $p['phase'] == 'repaid'){//已全部归还
$config['where']['unreturned'] = 17;
$config['where']['status'] = 17;
}elseif(isset($p['phase']) && $p['phase'] == 'unreturned'){ //未归还
$config['where']['status'] = ['in',[12,14,15,16,18]];
}