采购单审批流程

This commit is contained in:
mzl
2025-09-23 17:26:01 +08:00
parent 658fd1d6cb
commit 368bfe44ee
8 changed files with 78 additions and 14 deletions
@@ -57,7 +57,7 @@ class ApprovalRecordsService
if ($p['scene'] === 'todo') {
// if (!in_array(1, $request->user->role_ids)) {
$config['where']['approver_id'] = $request->user->uid;
// $config['where']['approver_id'] = $request->user->uid;
// }
$config['where']['status'] = 'pending';
$config['where']['instance.status'] = 'processing';