Commit 1716af0a by 杨树贤

审核加回限制

parent f538691f
...@@ -106,6 +106,9 @@ class SupplierAuditService ...@@ -106,6 +106,9 @@ class SupplierAuditService
$lastUpdateUserId = $supplier['create_uid']; $lastUpdateUserId = $supplier['create_uid'];
} else { } else {
$lastUpdateUserId = $log['admin_id']; $lastUpdateUserId = $log['admin_id'];
if ($lastUpdateUserId == 1000) {
return true;
}
} }
//审批人只能审批自己的部下修改的供应商 //审批人只能审批自己的部下修改的供应商
$departmentService = new DepartmentService(); $departmentService = new DepartmentService();
......
...@@ -286,11 +286,11 @@ ...@@ -286,11 +286,11 @@
// layer.msg('要审核中的供应商才可以审核', {icon: 5}); // layer.msg('要审核中的供应商才可以审核', {icon: 5});
// return // return
// } // }
// let checkAuditMsg = checkCanAudit(supplierId); let checkAuditMsg = checkCanAudit(supplierId);
// if (checkAuditMsg !== '') { if (checkAuditMsg !== '') {
// layer.msg(checkAuditMsg, {icon: 5}); layer.msg(checkAuditMsg, {icon: 5});
// return return
// } }
layer.open({ layer.open({
type: 2, type: 2,
content: '/supplier/AuditSupplier?view=iframe&supplier_id=' + supplierId, 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