ts备货单

This commit is contained in:
mzl
2025-10-24 15:46:20 +08:00
parent 8db33a40a4
commit 6bd4ed9ec3
@@ -56,9 +56,9 @@ class ApprovalRecordsService
case 'todo':
if ($p['scene'] === 'todo') {
// if (!in_array(1, $request->user->role_ids)) {
// $config['where']['approver_id'] = $request->user->uid;
// }
if (!in_array(1, $request->user->role_ids)) {
$config['where']['approver_id'] = $request->user->uid;
}
$config['where']['status'] = 'pending';
$config['where']['instance.status'] = 'processing';
}