20210820
This commit is contained in:
@@ -306,11 +306,20 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
ShowNotify("请选择证件类型!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
if (string.IsNullOrEmpty(this.txtIdentityCard.Text))
|
||||
string IdCard = this.txtIdentityCard.Text;
|
||||
if (string.IsNullOrEmpty(IdCard))
|
||||
{
|
||||
ShowNotify("证件号码不能为空!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.drpIdcardType.SelectedValue == "SHENFEN_ZHENGJIAN" && (IdCard.Length != 18 && IdCard.Length != 15))
|
||||
{
|
||||
ShowNotify("身份证号码位数不对!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
//if (string.IsNullOrEmpty(this.txtIdcardStartDate.Text))
|
||||
//{
|
||||
// ShowNotify("证件开始日期不能为空!", MessageBoxIcon.Warning);
|
||||
|
||||
Reference in New Issue
Block a user