Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.portalStaticPage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
9c7f5e8c
authored
2020-12-17 13:45:06 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:填报信息
1 parent
79fdd4c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
7 deletions
staticJs/onlineApply/houseFill.js
staticJs/onlineApply/houseFill.js
View file @
9c7f5e8
...
...
@@ -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>'
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
();
}
// 邮寄地址
$
(
'#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
);
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 表单
...
...
Please
register
or
sign in
to post a comment