Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1716af0a
authored
Apr 12, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
审核加回限制
parent
f538691f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
app/Http/Services/SupplierAuditService.php
resources/views/script/SupplierListScript.blade.php
app/Http/Services/SupplierAuditService.php
View file @
1716af0a
...
...
@@ -106,6 +106,9 @@ class SupplierAuditService
$lastUpdateUserId
=
$supplier
[
'create_uid'
];
}
else
{
$lastUpdateUserId
=
$log
[
'admin_id'
];
if
(
$lastUpdateUserId
==
1000
)
{
return
true
;
}
}
//审批人只能审批自己的部下修改的供应商
$departmentService
=
new
DepartmentService
();
...
...
resources/views/script/SupplierListScript.blade.php
View file @
1716af0a
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment