业务申请,配偶信息页面单位名称字段

This commit is contained in:
user 2018-06-23 19:27:36 +08:00
parent ec6fba00bd
commit f22fdc0c6c
4 changed files with 15 additions and 17 deletions

View File

@ -22,12 +22,13 @@
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
function save(){
debugger;
var name = getItemValue(0,0,"name");
var certid = getItemValue(0,0,"certid");
var tel = getItemValue(0,0,"tel");
var suname = getItemValue(0,0,"suname");
if(name.length > 0){
if(certid.length > 0){
debugger;
if(CheckLicense(certid)){
setItemValue(0,0,"certid",certid);
//setItemUnit(0,0,"certid","");
@ -57,7 +58,7 @@
}
}
var sResult = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoManage","saveCustomerFamily",
"relative=01,status=valid,customerid=<%=customerid%>,flowunid=<%=flowunid%>,certid="+getItemValue(0,0,"certid")+",name="+getItemValue(0,0,"name")+",tel="+getItemValue(0,0,"tel"));
"relative=01,status=valid,customerid=<%=customerid%>,flowunid=<%=flowunid%>,certid="+getItemValue(0,0,"certid")+",name="+getItemValue(0,0,"name")+",tel="+getItemValue(0,0,"tel")+",suname="+getItemValue(0,0,"suname"));
if(sResult == "SUCCESS"){
reloadSelf();
}

View File

@ -159,7 +159,6 @@
}
function saveRecord(leasfrom,projectSource){
//as_save("myiframe0","frame_list.window.as_save(0);");
<%-- var idexpiry=getItemValue(0,getRow(),"IDEXPIRY");
var date1 = "<%=dateString%>";
if(date1>=idexpiry){
@ -179,6 +178,7 @@
var certid=getItemValue(0,0,"CERTID");
var customerid=RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerAction","updateCustomerId",'certid='+certid+',flowunid=<%=flowunid%>');
setItemValue(0,0,"customerid",customerid);
//as_save("myiframe0","frame_list.window.save(0);");
as_save("0","saveCertInfo("+leasfrom+",'"+projectSource+"')");
};
}

View File

@ -1,14 +0,0 @@
package com.tenwa.voucher.CreateVoucherProcess;
import com.amarsoft.awe.util.Transaction;
import com.tenwa.flow.baseBussion.BaseBussiness;
public class createVoucherLoanDistributor extends BaseBussiness{
@Override
public Object run(Transaction Sqlca) throws Exception {
return super.run(Sqlca);
}
}

View File

@ -30,7 +30,16 @@ public class CustomerInfoManage {
private String leas_from;
private String idexpiry;
private String project_source;
private String suname;
public String getSuname() {
return suname;
}
public void setSuname(String suname) {
this.suname = suname;
}
public String getProject_source() {
return project_source;
}
@ -169,6 +178,7 @@ public class CustomerInfoManage {
bo.setAttributeValue("certid", certid);
bo.setAttributeValue("name", name);
bo.setAttributeValue("tel", tel);
bo.setAttributeValue("suname", suname);
}else{
bo = bom.newObject();
bo.setAttributeValue("flowunid", flowunid);
@ -179,6 +189,7 @@ public class CustomerInfoManage {
bo.setAttributeValue("certtype", "Ind01");
bo.setAttributeValue("name", name);
bo.setAttributeValue("tel", tel);
bo.setAttributeValue("suname", suname);
}
bom.saveObject(bo);
}catch(Exception e){