This commit is contained in:
liuz 2018-07-27 14:33:13 +08:00
commit 4449335119
6 changed files with 34 additions and 4 deletions

View File

@ -64,7 +64,11 @@
return true;
}else{
//setErrorTips("certId","身份证格式不正确!");
alert("身份证格式不正确!");
if(certId.length==18){
alert("身份证格式错误!");
}else{
alert("身份证必须是18位");
}
return false;
}
}

View File

@ -14,6 +14,7 @@
String phaseNo = CurPage.getAttribute("PhaseNo");
String taskno=CurPage.getParameter("TaskNo");
String RightType= CurPage.getParameter("RightType");
String customerType= CurPage.getParameter("CustomerType");
String flowunid = CurPage.getParameter("FlowUnid");
String clean_lease_money = Sqlca.getString("select CLEAN_LEASE_MONEY from LC_CALC_CONDITION_TEMP where flowunid='"+flowunid+"'");
@ -26,6 +27,9 @@
String sTempletNo = "VI_BUSINESS_APPROVAL";//--Ä£°åºÅ--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
if("01".equals(customerType)){
doTemp.setVisible("SEX",false);//如果是法人客户隐藏性别字段
}
doTemp.setHtmlEvent("firstchoice","onChange","changeFirstChoice");
doTemp.setHtmlEvent("secondchoice","onChange","changeSecondChoice");
doTemp.setHtmlEvent("thirdchoice","onChange","changeThirdChoice");

View File

@ -51,7 +51,11 @@
return true;
}else{
//setErrorTips("certId","身份证格式不正确!");
alert("身份证格式不正确!");
if(certId.length==18){
alert("身份证格式错误!");
}else{
alert("身份证必须是18位");
}
return false;
}

View File

@ -209,7 +209,11 @@
// }
else{
parent.parent.openDWDialog();
setErrorTips("certid","身份证格式有误!");
if(certid.length==18){
setErrorTips("certid","身份证格式错误!");
}else{
setErrorTips("certid","身份证必须是18位");
}
parent.parent.resetDWDialog("配偶身份证信息错误!",false);
return false;
}

View File

@ -421,7 +421,11 @@
if(CheckLicense(certid) ){
return true;
}else{
setErrorTips("certid","身份证格式错误!");
if(certid.length==18){
setErrorTips("certid","身份证格式错误!");
}else{
setErrorTips("certid","身份证必须是18位");
}
return false;
}
}

View File

@ -42,6 +42,7 @@ public class CustomerInfoManage {
private String smincome;
private String shukou;
private String projectId;
private String workunit;
public String getF_I_TYPE() {
return F_I_TYPE;
@ -218,6 +219,13 @@ public class CustomerInfoManage {
public void setFlowunid(String flowunid) {
this.flowunid = flowunid;
}
public String getWorkunit() {
return workunit;
}
public void setWorkunit(String workunit) {
this.workunit = workunit;
}
public String saveCustomerFamilyFormal(JBOTransaction tx){
try{
@ -261,6 +269,7 @@ public class CustomerInfoManage {
bo.setAttributeValue("shukou", shukou);
bo.setAttributeValue("Spouse_", "Y");
bo.setAttributeValue("PROJECT_ID", projectId);
bo.setAttributeValue("workunit", workunit);
}else{
bo = bom.newObject();
bo.setAttributeValue("flowunid", flowunid);
@ -279,6 +288,7 @@ public class CustomerInfoManage {
bo.setAttributeValue("shukou", shukou);
bo.setAttributeValue("Spouse_", "Y");
bo.setAttributeValue("PROJECT_ID", projectId);
bo.setAttributeValue("workunit", workunit);
}
bom.saveObject(bo);
}catch(Exception e){