9c7f5e8c by 任超

style:填报信息

1 parent 79fdd4c8
......@@ -41,22 +41,30 @@ $(function () {
li = '<div class="layui-form-item">'
li += '<div class="layui-inline">'
li += '<label class="layui-form-label">姓名</label>'
li += '<div class="layui-input-block">'
li += '<input type="text" name="name" value="'+slsqxx.sqrList[i].sqrmc+'" required lay-verify="name" placeholder="请输权利人" class="layui-input">'
li += '</div>'
li += '</div>'
li += '<div class="layui-inline idCard">'
li += '<label class="layui-form-label">身份证类型</label>'
li += '<div class="layui-input-block">'
li += '<select lay-filter="typeId">'
li += '<option value="'+slsqxx.sqrList[i].sqrzj+'">身份证</option>'
li += '</select>'
li += '</div>'
li += '</div>'
li += '<div class="layui-inline">'
li += '<label class="layui-form-label">证件号码</label>'
li += '<div class="layui-input-block">'
li += '<input type="tel" name="card" value="'+slsqxx.sqrList[i].zjhm+ '" maxlength="18" required lay-verify="card" placeholder="请输证件号码" class="layui-input">'
li += '</div>'
li += '</div>'
li += '<div class="layui-inline">'
li += '<label class="layui-form-label">联系方式</label>'
li += '<div class="layui-input-block">'
li += '<input type="tel" name="phone" value="'+slsqxx.sqrList[i].dhhm+'" maxlength="11" required lay-verify="phone" placeholder="请输联系方式" class="layui-input">'
li += '</div>'
li += '</div>'
li += '<i class="layui-icon layui-icon-reduce-circle"></i>'
li += '</div>'
$('#layui-form').append(li)
......@@ -88,12 +96,14 @@ $(function () {
$('.submitButton').show();
}
// 邮寄地址
if (slsqxx.mailRecordDetail) {
$('#consignee').val(slsqxx.mailRecordDetail.consignee);
$('#consigneePhone').val(slsqxx.mailRecordDetail.consigneePhone);
$('#province').attr('data-area',slsqxx.mailRecordDetail.province);
$('#city').attr('data-area',slsqxx.mailRecordDetail.city);
$('#district').attr('data-area',slsqxx.mailRecordDetail.district);
$('#consigneeAddress').val(slsqxx.mailRecordDetail.consigneeAddress);
}
})
addTabs('#wssq')
// form 表单
......