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
f6280398
authored
Apr 28, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
附件说明
parent
78b991d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
resources/views/script/AddSupplierScript.blade.php
resources/views/web/supplier/SupplierFile.blade.php
resources/views/script/AddSupplierScript.blade.php
View file @
f6280398
...
...
@@ -108,15 +108,18 @@
let
validity_type
=
[];
let
field_name
=
[];
let
validity_period
=
[];
let
description
=
[];
$
(
'.single_file_div'
).
each
(
function
()
{
file_name
.
push
(
$
(
this
).
find
(
'#file_name'
).
val
());
file_url
.
push
(
$
(
this
).
find
(
'#file_url'
).
val
());
field_name
.
push
(
$
(
this
).
find
(
'#field_name'
).
val
());
validity_type
.
push
(
$
(
this
).
find
(
'#validity_type'
).
val
());
description
.
push
(
$
(
this
).
find
(
'#description'
).
val
());
validity_period
.
push
(
$
(
this
).
find
(
'#validity_period'
).
val
());
});
data
.
field
.
file_name
=
file_name
;
data
.
field
.
file_url
=
file_url
;
data
.
field
.
description
=
description
;
data
.
field
.
field_name
=
field_name
;
data
.
field
.
validity_type
=
validity_type
;
data
.
field
.
validity_period
=
validity_period
;
...
...
resources/views/web/supplier/SupplierFile.blade.php
View file @
f6280398
...
...
@@ -51,7 +51,7 @@
<input
type=
"hidden"
id=
"field_name"
>
</div>
</div>
<div
class=
"layui-col-md
7
"
>
<div
class=
"layui-col-md
5
"
>
<label
class=
"layui-form-label"
>
有效期 :
</label>
<div
class=
"layui-input-inline"
style=
"width: 100px"
>
<select
id=
"validity_type"
lay-filter=
"validity_period_selector"
>
...
...
@@ -63,6 +63,14 @@
<input
type=
"text"
id=
"validity_period"
placeholder=
"请选择时间区间"
autocomplete=
"off"
class=
""
disabled
>
</div>
</div>
<div
class=
"layui-col-md4"
>
<label
class=
"layui-form-label"
>
附件说明 :
</label>
<div
class=
"layui-input-block block-42"
>
<input
type=
"text"
id=
"description"
placeholder=
"附件说明"
class=
"layui-input"
value=
""
>
</div>
<button
style=
"margin-top: 3px"
class=
"layui-btn layui-btn-xs layui-btn-danger delete_file"
>
删除
</button>
</div>
</div>
...
...
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