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
06025657
authored
Oct 17, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
代理证切换前端逻辑
parent
d84f1dc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
resources/views/script/supplier/SupplierFileScript.blade.php
resources/views/script/supplier/SupplierFileScript.blade.php
View file @
06025657
...
...
@@ -84,6 +84,15 @@
fileTemplateObj
.
find
(
'#validity_period'
)
.
removeClass
(
'layui-input validity_period layui-disabled'
);
fileTemplateObj
.
find
(
'#validity_period'
)
.
prop
(
'disabled'
,
false
);
form
.
render
();
//如果是混合分销,同时还是代理证类型,那么有效期要默认自定义
let
supplierGroup
=
$
(
'#supplier_group'
)
.
val
();
if
(
supplierGroup
===
'7'
&&
fileType
===
'proxy_certificate'
)
{
let
selector
=
$
(
'#'
+
fileType
+
'_file_div'
)
.
find
(
'select'
)
.
last
();
selector
.
val
(
'2'
);
selector
.
parent
()
.
next
()
.
find
(
'input'
)
.
removeClass
(
'layui-disabled'
);
selector
.
parent
()
.
next
()
.
find
(
'input'
)
.
prop
(
'disabled'
,
false
);
form
.
render
();
}
}
else
{
layer
.
msg
(
'上传接口异常,请重试或者联系管理员 . '
+
res
.
message
);
}
...
...
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