Merge branch 'develop' of http://git2.tenwa.com.cn/ApzlDev/apzl_leasing.git into zhangjun
This commit is contained in:
commit
4449335119
@ -64,7 +64,11 @@
|
||||
return true;
|
||||
}else{
|
||||
//setErrorTips("certId","身份证格式不正确!");
|
||||
alert("身份证格式不正确!");
|
||||
if(certId.length==18){
|
||||
alert("身份证格式错误!");
|
||||
}else{
|
||||
alert("身份证必须是18位!");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@ -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");
|
||||
|
||||
@ -51,7 +51,11 @@
|
||||
return true;
|
||||
}else{
|
||||
//setErrorTips("certId","身份证格式不正确!");
|
||||
alert("身份证格式不正确!");
|
||||
if(certId.length==18){
|
||||
alert("身份证格式错误!");
|
||||
}else{
|
||||
alert("身份证必须是18位!");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -421,7 +421,11 @@
|
||||
if(CheckLicense(certid) ){
|
||||
return true;
|
||||
}else{
|
||||
setErrorTips("certid","身份证格式错误!");
|
||||
if(certid.length==18){
|
||||
setErrorTips("certid","身份证格式错误!");
|
||||
}else{
|
||||
setErrorTips("certid","身份证必须是18位!");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@ -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){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user