style:填报信息
Showing
1 changed file
with
17 additions
and
7 deletions
... | @@ -41,22 +41,30 @@ $(function () { | ... | @@ -41,22 +41,30 @@ $(function () { |
41 | li = '<div class="layui-form-item">' | 41 | li = '<div class="layui-form-item">' |
42 | li += '<div class="layui-inline">' | 42 | li += '<div class="layui-inline">' |
43 | li += '<label class="layui-form-label">姓名</label>' | 43 | li += '<label class="layui-form-label">姓名</label>' |
44 | li += '<div class="layui-input-block">' | ||
44 | li += '<input type="text" name="name" value="'+slsqxx.sqrList[i].sqrmc+'" required lay-verify="name" placeholder="请输权利人" class="layui-input">' | 45 | li += '<input type="text" name="name" value="'+slsqxx.sqrList[i].sqrmc+'" required lay-verify="name" placeholder="请输权利人" class="layui-input">' |
45 | li += '</div>' | 46 | li += '</div>' |
47 | li += '</div>' | ||
46 | li += '<div class="layui-inline idCard">' | 48 | li += '<div class="layui-inline idCard">' |
47 | li += '<label class="layui-form-label">身份证类型</label>' | 49 | li += '<label class="layui-form-label">身份证类型</label>' |
50 | li += '<div class="layui-input-block">' | ||
48 | li += '<select lay-filter="typeId">' | 51 | li += '<select lay-filter="typeId">' |
49 | li += '<option value="'+slsqxx.sqrList[i].sqrzj+'">身份证</option>' | 52 | li += '<option value="'+slsqxx.sqrList[i].sqrzj+'">身份证</option>' |
50 | li += '</select>' | 53 | li += '</select>' |
51 | li += '</div>' | 54 | li += '</div>' |
55 | li += '</div>' | ||
52 | li += '<div class="layui-inline">' | 56 | li += '<div class="layui-inline">' |
53 | li += '<label class="layui-form-label">证件号码</label>' | 57 | li += '<label class="layui-form-label">证件号码</label>' |
58 | li += '<div class="layui-input-block">' | ||
54 | li += '<input type="tel" name="card" value="'+slsqxx.sqrList[i].zjhm+ '" maxlength="18" required lay-verify="card" placeholder="请输证件号码" class="layui-input">' | 59 | li += '<input type="tel" name="card" value="'+slsqxx.sqrList[i].zjhm+ '" maxlength="18" required lay-verify="card" placeholder="请输证件号码" class="layui-input">' |
55 | li += '</div>' | 60 | li += '</div>' |
61 | li += '</div>' | ||
56 | li += '<div class="layui-inline">' | 62 | li += '<div class="layui-inline">' |
57 | li += '<label class="layui-form-label">联系方式</label>' | 63 | li += '<label class="layui-form-label">联系方式</label>' |
64 | li += '<div class="layui-input-block">' | ||
58 | li += '<input type="tel" name="phone" value="'+slsqxx.sqrList[i].dhhm+'" maxlength="11" required lay-verify="phone" placeholder="请输联系方式" class="layui-input">' | 65 | li += '<input type="tel" name="phone" value="'+slsqxx.sqrList[i].dhhm+'" maxlength="11" required lay-verify="phone" placeholder="请输联系方式" class="layui-input">' |
59 | li += '</div>' | 66 | li += '</div>' |
67 | li += '</div>' | ||
60 | li += '<i class="layui-icon layui-icon-reduce-circle"></i>' | 68 | li += '<i class="layui-icon layui-icon-reduce-circle"></i>' |
61 | li += '</div>' | 69 | li += '</div>' |
62 | $('#layui-form').append(li) | 70 | $('#layui-form').append(li) |
... | @@ -88,12 +96,14 @@ $(function () { | ... | @@ -88,12 +96,14 @@ $(function () { |
88 | $('.submitButton').show(); | 96 | $('.submitButton').show(); |
89 | } | 97 | } |
90 | // 邮寄地址 | 98 | // 邮寄地址 |
91 | $('#consignee').val(slsqxx.mailRecordDetail.consignee); | 99 | if (slsqxx.mailRecordDetail) { |
92 | $('#consigneePhone').val(slsqxx.mailRecordDetail.consigneePhone); | 100 | $('#consignee').val(slsqxx.mailRecordDetail.consignee); |
93 | $('#province').attr('data-area',slsqxx.mailRecordDetail.province); | 101 | $('#consigneePhone').val(slsqxx.mailRecordDetail.consigneePhone); |
94 | $('#city').attr('data-area',slsqxx.mailRecordDetail.city); | 102 | $('#province').attr('data-area',slsqxx.mailRecordDetail.province); |
95 | $('#district').attr('data-area',slsqxx.mailRecordDetail.district); | 103 | $('#city').attr('data-area',slsqxx.mailRecordDetail.city); |
96 | $('#consigneeAddress').val(slsqxx.mailRecordDetail.consigneeAddress); | 104 | $('#district').attr('data-area',slsqxx.mailRecordDetail.district); |
105 | $('#consigneeAddress').val(slsqxx.mailRecordDetail.consigneeAddress); | ||
106 | } | ||
97 | }) | 107 | }) |
98 | addTabs('#wssq') | 108 | addTabs('#wssq') |
99 | // form 表单 | 109 | // form 表单 | ... | ... |
-
Please register or sign in to post a comment