Commit 1716af0a by 杨树贤

审核加回限制

parent f538691f
......@@ -106,6 +106,9 @@ class SupplierAuditService
$lastUpdateUserId = $supplier['create_uid'];
} else {
$lastUpdateUserId = $log['admin_id'];
if ($lastUpdateUserId == 1000) {
return true;
}
}
//审批人只能审批自己的部下修改的供应商
$departmentService = new DepartmentService();
......
......@@ -286,11 +286,11 @@
// layer.msg('要审核中的供应商才可以审核', {icon: 5});
// return
// }
// let checkAuditMsg = checkCanAudit(supplierId);
// if (checkAuditMsg !== '') {
// layer.msg(checkAuditMsg, {icon: 5});
// return
// }
let checkAuditMsg = checkCanAudit(supplierId);
if (checkAuditMsg !== '') {
layer.msg(checkAuditMsg, {icon: 5});
return
}
layer.open({
type: 2,
content: '/supplier/AuditSupplier?view=iframe&supplier_id=' + supplierId,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment