内勤备货单查询
This commit is contained in:
@@ -89,7 +89,7 @@ class ApprovalRecordsService
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($p['scene'] === 'history') {
|
if ($p['scene'] === 'history') {
|
||||||
if (!in_array(1, $request->user->role_ids)) {
|
if (!in_array(1, $request->user->role_ids) && !in_array(5, $request->user->role_ids)) {
|
||||||
$config['where']['approver_id'] = $request->user->uid;
|
$config['where']['approver_id'] = $request->user->uid;
|
||||||
}
|
}
|
||||||
$config['where']['status'] = ['!=', 'pending'];
|
$config['where']['status'] = ['!=', 'pending'];
|
||||||
|
|||||||
Reference in New Issue
Block a user