人口基本信息-修改地区类型保存Bug
人口基本信息-修改人口信息身份证自动识别性别/生日Bug
This commit is contained in:
parent
6429751eac
commit
f2e4f0cbf2
@ -275,6 +275,7 @@
|
||||
mother_phone,
|
||||
relationship,
|
||||
domicile_address,
|
||||
domicile_address_type,
|
||||
domicile_area_code,
|
||||
domicile_area_name,
|
||||
origin_address,
|
||||
@ -355,6 +356,7 @@
|
||||
#{motherPhone},
|
||||
#{relationship},
|
||||
#{domicileAddress},
|
||||
#{domicileAddressType},
|
||||
#{domicileAreaCode},
|
||||
#{domicileAreaName},
|
||||
#{originAddress},
|
||||
|
@ -1149,14 +1149,16 @@
|
||||
laytpl(document.getElementById('labelSelectTemplate').innerHTML).render(data, function(html) {
|
||||
document.getElementById('labelSelectTemplateBox').innerHTML = html;
|
||||
});
|
||||
form.render('checkbox', 'labelSelectTemplateBox')
|
||||
form.render('checkbox', 'labelSelectTemplateBox');
|
||||
|
||||
if(selectValues) {
|
||||
var checkboxValue = selectValues.split(',');
|
||||
var checkboxObj = {};
|
||||
for(var j = 0, checkbox = checkboxValue[j]; checkbox = checkboxValue[j++];) {
|
||||
checkboxObj['label['+ checkbox +']'] = true;
|
||||
}
|
||||
form.val('dataForm', checkboxObj);
|
||||
}
|
||||
}, function(code, data) {
|
||||
top.dialog.msg(data.msg);
|
||||
});
|
||||
@ -1469,7 +1471,7 @@
|
||||
// 身份证号改变时发生
|
||||
$('#idcard').on("input propertychange", function () {
|
||||
var idCardNo = $(this).val();
|
||||
if (idCardNo.length > 15 && idCardNo.length < 18) {
|
||||
if (idCardNo.length == 15 || idCardNo.length == 18) {
|
||||
if (idCardNoUtil.checkIdCardNo(idCardNo)) {
|
||||
//获取身份证信息
|
||||
var idCardInfo = idCardNoUtil.getIdCardInfo(idCardNo);
|
||||
|
@ -1061,14 +1061,16 @@
|
||||
laytpl(document.getElementById('labelSelectTemplate').innerHTML).render(data, function(html) {
|
||||
document.getElementById('labelSelectTemplateBox').innerHTML = html;
|
||||
});
|
||||
form.render('checkbox', 'labelSelectTemplateBox')
|
||||
form.render('checkbox', 'labelSelectTemplateBox');
|
||||
|
||||
if(selectValues) {
|
||||
var checkboxValue = selectValues.split(',');
|
||||
var checkboxObj = {};
|
||||
for(var j = 0, checkbox = checkboxValue[j]; checkbox = checkboxValue[j++];) {
|
||||
checkboxObj['label['+ checkbox +']'] = true;
|
||||
for (var j = 0, checkbox = checkboxValue[j]; checkbox = checkboxValue[j++];) {
|
||||
checkboxObj['label[' + checkbox + ']'] = true;
|
||||
}
|
||||
form.val('dataForm', checkboxObj);
|
||||
}
|
||||
}, function(code, data) {
|
||||
top.dialog.msg(data.msg);
|
||||
});
|
||||
@ -1381,7 +1383,7 @@
|
||||
// 身份证号改变时发生
|
||||
$('#idcard').on("input propertychange", function () {
|
||||
var idCardNo = $(this).val();
|
||||
if (idCardNo.length > 15 && idCardNo.length < 18) {
|
||||
if (idCardNo.length == 15 || idCardNo.length == 18) {
|
||||
if (idCardNoUtil.checkIdCardNo(idCardNo)) {
|
||||
//获取身份证信息
|
||||
var idCardInfo = idCardNoUtil.getIdCardInfo(idCardNo);
|
||||
|
Loading…
Reference in New Issue
Block a user