业务申请,配偶信息添加居住地址字段并入值。

This commit is contained in:
user 2018-07-17 09:01:51 +08:00
parent 5caec9f09e
commit a2df4a5746
2 changed files with 17 additions and 1 deletions

View File

@ -132,6 +132,7 @@
var suphone = getItemValue(0,getRow(0),"suphone");
var sposition = getItemValue(0,getRow(0),"sposition");
var smincome = getItemValue(0,getRow(0),"smincome");
var workunit = getItemValue(0,getRow(0),"workunit");
if(name=="" && "01"==status){
alert("请输入姓名!");
@ -169,6 +170,10 @@
alert("请输入月收入金额!");
return;
}
if(workunit=="" && "01"==status){
alert("ÇëÊäÈë¾ÓסµØÖ·!");
return;
}
if(name.length > 0){
if(certid.length > 0){
@ -201,7 +206,7 @@
}
}
var sResult = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoManage","saveCustomerFamily",
"relative=01,status=valid,customerid=<%=customerid%>,flowunid=<%=flowunid%>,projectId=<%=projectId%>,certid="+getItemValue(0,0,"certid")+",name="+getItemValue(0,0,"name")+",tel="+getItemValue(0,0,"tel")+",suname="+getItemValue(0,0,"suname")+",partner="+getItemValue(0,getRow(0),"Partner_")+",sposition="+getItemValue(0,getRow(0),"sposition")+",suphone="+getItemValue(0,getRow(0),"suphone")+",smincome="+getItemValue(0,getRow(0),"smincome")+",shukou="+getItemValue(0,getRow(0),"shukou"));
"relative=01,status=valid,customerid=<%=customerid%>,flowunid=<%=flowunid%>,projectId=<%=projectId%>,certid="+getItemValue(0,0,"certid")+",name="+getItemValue(0,0,"name")+",tel="+getItemValue(0,0,"tel")+",suname="+getItemValue(0,0,"suname")+",partner="+getItemValue(0,getRow(0),"Partner_")+",sposition="+getItemValue(0,getRow(0),"sposition")+",suphone="+getItemValue(0,getRow(0),"suphone")+",smincome="+getItemValue(0,getRow(0),"smincome")+",shukou="+getItemValue(0,getRow(0),"shukou")+",workunit="+getItemValue(0,getRow(0),"workunit"));
if(sResult == "SUCCESS"){
reloadSelf();
}

View File

@ -37,7 +37,16 @@ public class CustomerInfoManage {
private String smincome;
private String shukou;
private String projectId;
private String workunit;
public String getWorkunit() {
return workunit;
}
public void setWorkunit(String workunit) {
this.workunit = workunit;
}
public String getProjectId() {
return projectId;
}
@ -240,6 +249,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);
@ -258,6 +268,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){