|
@@ -563,6 +563,8 @@ TalentInfoInfoDlg.sourceChange = function () {
|
|
case "3":
|
|
case "3":
|
|
$("#source_batch").parents("td").css("display", "table-cell");
|
|
$("#source_batch").parents("td").css("display", "table-cell");
|
|
$(".fujian_highcert").css("display", "table-cell");
|
|
$(".fujian_highcert").css("display", "table-cell");
|
|
|
|
+ $("#quanzhou_highcert_pubtime").val("");
|
|
|
|
+ $("#quanzhou_highcert_exptime").val("");
|
|
$('#talentInfoForm').bootstrapValidator('addField', "source_batch", {validators: {notEmpty: {message: '申报来源批次不能为空'}}});
|
|
$('#talentInfoForm').bootstrapValidator('addField', "source_batch", {validators: {notEmpty: {message: '申报来源批次不能为空'}}});
|
|
$('#talentInfoForm').bootstrapValidator('addField', "fujian_highcert_pubtime", {validators: {notEmpty: {message: '福建省高层次人才证书发证日期不能为空'}}});
|
|
$('#talentInfoForm').bootstrapValidator('addField', "fujian_highcert_pubtime", {validators: {notEmpty: {message: '福建省高层次人才证书发证日期不能为空'}}});
|
|
$('#talentInfoForm').bootstrapValidator('addField', "fujian_highcert_exptime", {validators: {notEmpty: {message: '福建省高层次人才证书有效期不能为空'}}});
|
|
$('#talentInfoForm').bootstrapValidator('addField', "fujian_highcert_exptime", {validators: {notEmpty: {message: '福建省高层次人才证书有效期不能为空'}}});
|
|
@@ -570,11 +572,20 @@ TalentInfoInfoDlg.sourceChange = function () {
|
|
case "2":
|
|
case "2":
|
|
case "4":
|
|
case "4":
|
|
$("#source_batch").parents("td").css("display", "table-cell");
|
|
$("#source_batch").parents("td").css("display", "table-cell");
|
|
- $(".quanzhou_highcert").css("display", "table-cell");
|
|
|
|
|
|
+ $("#quanzhou_highcert").css("display", "table-cell");
|
|
|
|
+ $("#fujian_highcert_pubtime").val("");
|
|
|
|
+ $(".fujian_highcert_exptime").val("");
|
|
$('#talentInfoForm').bootstrapValidator('addField', "source_batch", {validators: {notEmpty: {message: '申报来源批次不能为空'}}});
|
|
$('#talentInfoForm').bootstrapValidator('addField', "source_batch", {validators: {notEmpty: {message: '申报来源批次不能为空'}}});
|
|
$('#talentInfoForm').bootstrapValidator('addField', "quanzhou_highcert_pubtime", {validators: {notEmpty: {message: '泉州高层次人才证书发证日期不能为空'}}});
|
|
$('#talentInfoForm').bootstrapValidator('addField', "quanzhou_highcert_pubtime", {validators: {notEmpty: {message: '泉州高层次人才证书发证日期不能为空'}}});
|
|
$('#talentInfoForm').bootstrapValidator('addField', "quanzhou_highcert_exptime", {validators: {notEmpty: {message: '泉州高层次人才证书有效期不能为空'}}});
|
|
$('#talentInfoForm').bootstrapValidator('addField', "quanzhou_highcert_exptime", {validators: {notEmpty: {message: '泉州高层次人才证书有效期不能为空'}}});
|
|
break;
|
|
break;
|
|
|
|
+ default:
|
|
|
|
+ $("#source_batch").val("");
|
|
|
|
+ $("#quanzhou_highcert_pubtime").val("");
|
|
|
|
+ $("#quanzhou_highcert_exptime").val("");
|
|
|
|
+ $("#fujian_highcert_pubtime").val("");
|
|
|
|
+ $("#fujian_highcert_exptime").val("");
|
|
|
|
+ break;
|
|
}
|
|
}
|
|
if (source == 3) {
|
|
if (source == 3) {
|
|
//显示入选来源地级市除泉
|
|
//显示入选来源地级市除泉
|