var remFlag = $('#remFlag').val();
if(remFlag == "certifyDate"){
var firstRegisterDate = $('#firstRegisterDate').val();
//2016-05-18
var firstRegisterDateTemp = new Date(firstRegisterDate.substr(0,4),
firstRegisterDate.substr(5,2)-1,firstRegisterDate.substr(8,2));
if(firstRegisterDateTemp >
new Date($("#year1 .pointClick").text(),$("#month1 .pointClick").text()-1,$("#day1 .pointClick").text())){
errorMsg("您好,发证日期必须是大于等于初登日期,请修改");
$("#bodyMask").removeClass('dis');//展示遮罩层
// $("#bodyMask").css('display',"block");//展示遮罩层
//alert("您好,选择日期必须是小于等于当前时间");
return false;
}
}