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
566e21ca
authored
May 06, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
自定义时间禁用问题
parent
fc2bb774
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
resources/views/script/supplier/SupplierFileScript.blade.php
resources/views/script/supplier/SupplierFileScript.blade.php
View file @
566e21ca
...
@@ -74,11 +74,13 @@
...
@@ -74,11 +74,13 @@
fileTemplateObj
.
find
(
'#file_url'
)
.
val
(
res
.
data
[
0
]);
fileTemplateObj
.
find
(
'#file_url'
)
.
val
(
res
.
data
[
0
]);
fileTemplateObj
.
find
(
'#field_name'
)
.
val
(
$
(
'#file_type_select'
)
.
val
());
fileTemplateObj
.
find
(
'#field_name'
)
.
val
(
$
(
'#file_type_select'
)
.
val
());
fileTemplateObj
.
find
(
'#validity_period'
)
.
addClass
(
'layui-input validity_period layui-disabled'
);
fileTemplateObj
.
find
(
'#validity_period'
)
.
addClass
(
'layui-input validity_period layui-disabled'
);
fileTemplateObj
.
find
(
'#validity_period'
)
.
attr
(
'disabled'
,
true
);
let
fileTemplate
=
fileTemplateObj
.
html
();
let
fileTemplate
=
fileTemplateObj
.
html
();
$
(
'#'
+
fileType
+
'_div'
)
.
show
();
$
(
'#'
+
fileType
+
'_div'
)
.
show
();
$
(
'#'
+
fileType
+
'_file_div'
)
.
append
(
fileTemplate
);
$
(
'#'
+
fileType
+
'_file_div'
)
.
append
(
fileTemplate
);
fileTemplateObj
.
find
(
'#validity_period'
)
.
removeClass
(
'layui-input validity_period layui-disabled'
);
fileTemplateObj
.
find
(
'#validity_period'
)
.
removeClass
(
'layui-input validity_period layui-disabled'
);
fileTemplateObj
.
find
(
'#validity_period'
)
.
attr
(
'disabled'
,
false
);
form
.
render
();
form
.
render
();
}
else
{
}
else
{
layer
.
msg
(
'上传接口异常,请重试或者联系管理员 . '
+
res
.
message
);
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