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
675b5f08
authored
Mar 17, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
临时供应商申请审核限制
parent
a38711f8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
resources/views/script/supplier/SupplierBaseScript.blade.php
resources/views/web/supplier/SupplierBase.blade.php
resources/views/script/supplier/SupplierBaseScript.blade.php
View file @
675b5f08
...
...
@@ -65,12 +65,15 @@
});
//监听供应商类别单选,如果是临时供应商,附件可以不上传
//如果是临时供应商并且不显示申请审核按钮
form
.
on
(
'radio(supplier_type)'
,
function
(
data
){
let
supplier_type
=
data
.
value
;
if
(
supplier_type
===
'1'
)
{
$
(
'#attachment_required_span'
).
show
();
$
(
'#apply_audit_button'
).
show
();
}
else
{
$
(
'#attachment_required_span'
).
hide
();
$
(
'#apply_audit_button'
).
hide
();
}
});
...
...
@@ -195,6 +198,7 @@
form
.
on
(
'submit(addAndApplySupplier)'
,
function
(
data
)
{
layer
.
confirm
(
'确定直接申请审核吗?确定后会直接进入审核中的状态,无法进行二次修改'
,
function
(
index
)
{
//还要判断
let
url
=
'/api/supplier/AddSupplier?direct_apply=1'
;
let
res
=
ajax
(
url
,
data
.
field
);
if
(
!
res
)
{
...
...
resources/views/web/supplier/SupplierBase.blade.php
View file @
675b5f08
...
...
@@ -350,7 +350,7 @@
</div>
<div
class=
"layui-col-md4"
style=
"margin-top: 30px"
>
<div
class=
"layui-row"
style=
"text-align: right"
>
<button
type=
"button"
class=
"layui-btn layui-btn submit-loading"
lay-submit
<button
type=
"button"
class=
"layui-btn layui-btn submit-loading"
id=
"apply_audit_button"
lay-submit
lay-filter=
"addAndApplySupplier"
>
申请审核
</button>
<button
type=
"button"
class=
"layui-btn layui-btn submit-loading"
lay-submit
...
...
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