审核权限

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
@@ -138,12 +138,9 @@ class InvRequisitionApproveService
// return ['status' => 'noop', 'msg' => '非当前审批'];
// }
return ['status' => 'noop', 'msg' => '无待处理记录'];
} else if ($pendingRecord->approver_id != $uid) { //检查当前用户是否为审核人
return ['status' => 'noop', 'msg' => '无审核权限'];
}
// else{
// if ($pendingRecord->approver_id == $uid) {
// return ['status' => 'noop', 'msg' => '无审核权限'];
// }
// }
$now = time();