Commit f6280398 by 杨树贤

附件说明

parent 78b991d5
...@@ -108,15 +108,18 @@ ...@@ -108,15 +108,18 @@
let validity_type = []; let validity_type = [];
let field_name = []; let field_name = [];
let validity_period = []; let validity_period = [];
let description = [];
$('.single_file_div').each(function () { $('.single_file_div').each(function () {
file_name.push($(this).find('#file_name').val()); file_name.push($(this).find('#file_name').val());
file_url.push($(this).find('#file_url').val()); file_url.push($(this).find('#file_url').val());
field_name.push($(this).find('#field_name').val()); field_name.push($(this).find('#field_name').val());
validity_type.push($(this).find('#validity_type').val()); validity_type.push($(this).find('#validity_type').val());
description.push($(this).find('#description').val());
validity_period.push($(this).find('#validity_period').val()); validity_period.push($(this).find('#validity_period').val());
}); });
data.field.file_name = file_name; data.field.file_name = file_name;
data.field.file_url = file_url; data.field.file_url = file_url;
data.field.description = description;
data.field.field_name = field_name; data.field.field_name = field_name;
data.field.validity_type = validity_type; data.field.validity_type = validity_type;
data.field.validity_period = validity_period; data.field.validity_period = validity_period;
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<input type="hidden" id="field_name"> <input type="hidden" id="field_name">
</div> </div>
</div> </div>
<div class="layui-col-md7"> <div class="layui-col-md5">
<label class="layui-form-label">有效期 : </label> <label class="layui-form-label">有效期 : </label>
<div class="layui-input-inline" style="width: 100px"> <div class="layui-input-inline" style="width: 100px">
<select id="validity_type" lay-filter="validity_period_selector"> <select id="validity_type" lay-filter="validity_period_selector">
...@@ -63,6 +63,14 @@ ...@@ -63,6 +63,14 @@
<input type="text" id="validity_period" <input type="text" id="validity_period"
placeholder="请选择时间区间" autocomplete="off" class="" disabled> placeholder="请选择时间区间" autocomplete="off" class="" disabled>
</div> </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> <button style="margin-top: 3px" class="layui-btn layui-btn-xs layui-btn-danger delete_file">删除</button>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment