diff --git a/WebContent/Tenwa/Customer/Lessee/Person/CustomerCompanyTempInfo.jsp b/WebContent/Tenwa/Customer/Lessee/Person/CustomerCompanyTempInfo.jsp index 20eba491d..654450c15 100644 --- a/WebContent/Tenwa/Customer/Lessee/Person/CustomerCompanyTempInfo.jsp +++ b/WebContent/Tenwa/Customer/Lessee/Person/CustomerCompanyTempInfo.jsp @@ -7,6 +7,9 @@ */ String sPrevUrl = CurPage.getParameter("PrevUrl"); String flowName = CurPage.getParameter("FlowName"); + String flowUnid = CurPage.getParameter("FlowUnid"); + String phaseNo = CurPage.getParameter("PhaseNo"); + String userID = CurUser.getUserID(); String customertype = CurPage.getParameter("customertype"); if(sPrevUrl == null) sPrevUrl = ""; @@ -14,12 +17,19 @@ if("01".equals(customertype)&&!("业务申请流程".equals(flowName))){ sTempletNo = "MakingCustomerCompanyTempInfo";//--模板号-- } + if("01".equals(customertype)&&"业务撤销流程".equals(flowName)){ + sTempletNo = "ProjectCustomerCompanyTempInfo";//--模板号-- + flowUnid = CurPage.getParameter("ProjectId"); + } ASObjectModel doTemp = new ASObjectModel(sTempletNo); doTemp.setColTips("", ""); + doTemp.setHtmlEvent("tel","onChange","changetel"); + doTemp.setHtmlEvent("wealth_tel","onChange","changewealth_tel"); + doTemp.setHtmlEvent("company_tel","onChange","changecompany_tel"); ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); dwTemp.Style = "2";//freeform //dwTemp.ReadOnly = "-2";//只读模式 - dwTemp.genHTMLObjectWindow(CurPage.getParameter("FlowUnid")); + dwTemp.genHTMLObjectWindow(flowUnid); String sButtons[][] = { //{"true","All","Button","保存","保存所有修改","as_save(0)","","","",""}, @@ -28,15 +38,36 @@ //sButtonPosition = "south"; %><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> <%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp index 2770fbe9c..8f3a2f59e 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp @@ -148,10 +148,10 @@ if(falgs==false){ return; } - /* var WorkTelResult = checkWorkTel(); + var WorkTelResult = checkWorkTel(); if(WorkTelResult==false){ return; - } */ + } as_save(0,"goBack()"); } diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessProjectTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessProjectTempInfo.jsp index 81668be53..be31bd87c 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessProjectTempInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessProjectTempInfo.jsp @@ -65,7 +65,8 @@ var inputTel = getItemValue(0,getRow(),"inputTel"); var customerType = "<%=custype%>"; if(customerType=="01"){//法人 - as_save("myiframe0","frame_list.window.as_save(0);"); + //as_save("myiframe0","frame_list.window.saveCompany();"); + frame_list.window.saveCompany(inputName,inputTel); //as_save(0); } if(customerType=="03"){//自然人 diff --git a/WebContent/fileTemplate/鍚堝悓锛堝敭鍚庡洖绉燂級.docx b/WebContent/fileTemplate/鍚堝悓锛堝敭鍚庡洖绉燂級.docx index 49f827ff7..a858e5163 100644 Binary files a/WebContent/fileTemplate/鍚堝悓锛堝敭鍚庡洖绉燂級.docx and b/WebContent/fileTemplate/鍚堝悓锛堝敭鍚庡洖绉燂級.docx differ diff --git a/WebContent/fileTemplate/鍚堝悓锛堢洿绉燂級.docx b/WebContent/fileTemplate/鍚堝悓锛堢洿绉燂級.docx index 6a35f7ff9..5a9674fbc 100644 Binary files a/WebContent/fileTemplate/鍚堝悓锛堢洿绉燂級.docx and b/WebContent/fileTemplate/鍚堝悓锛堢洿绉燂級.docx differ diff --git a/src_tenwa/com/tenwa/lease/flow/project/businessapply/CustomerInfoManage.java b/src_tenwa/com/tenwa/lease/flow/project/businessapply/CustomerInfoManage.java index 635012f7b..c7904250b 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/businessapply/CustomerInfoManage.java +++ b/src_tenwa/com/tenwa/lease/flow/project/businessapply/CustomerInfoManage.java @@ -429,7 +429,22 @@ public class CustomerInfoManage { } return "SUCCESS"; } - + public String saveCompanyInfo(JBOTransaction tx){ + try { + BizObjectManager bm = JBOFactory.getBizObjectManager(LB_PROJECT_INFO_TEMP.CLASS_NAME,tx); + BizObject proj = bm.createQuery("flowunid=:flowUnid").setParameter("flowUnid", flowunid).getSingleResult(true); + if(proj != null){ + proj.setAttributeValue("inputName", inputName); + proj.setAttributeValue("inputTel", inputTel); + } + bm.saveObject(proj); + tx.commit(); + } catch (JBOException e) { + e.printStackTrace(); + return "ERROR"; + } + return "SUCCESS"; + } /* public String SelectGroup(JBOTransaction tx){ if(this.F_I_TYPE=="f_i_type02" && this.DISTRIBUTOR_STATUS=="distributor_status04"){ return "true";