diff --git a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp index 3d979c1c7..45f37746d 100644 --- a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp +++ b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp @@ -17,6 +17,7 @@ String flowunid = CurPage.getParameter("FlowUnid"); String plannumber=CurPage.getParameter("plannumber"); String productId=CurPage.getParameter("ProductId"); + String productName = CurPage.getParameter("ProductName"); String ishistory=CurPage.getParameter("IsHistory"); String nodeNo=CurPage.getParameter("NodeNo"); String RightType= CurPage.getParameter("RightType"); @@ -165,12 +166,16 @@ var adjustType; var count = 0; $(function(){ hideItem(0,'IRR'); + var productName="<%=productName%>"; + setItemValue(0,0,"PRODUCT_NAME",productName); + isFina(); //document.getElementById('div_my0').innerHTML = '
'+document.getElementById('div_my0').innerHTML+'
'; if("ReadOnly"!="<%=RightType%>"){ rentOrRateOption=$("#RENT_OR_RATE").children(); incomeNumberYear=$("#INCOME_NUMBER_YEAR").children(); adjustType=$("#ADJUST_TYPE").children(); console.info(calcRules); + var fundRules=calcRules["fund"]; for(var key in fundRules){ $("#"+key).bind("change",function(){ @@ -194,7 +199,16 @@ $(function(){ changeSettleMethod3(); } }); - +function isFina(){ + var fundRules=calcRules["fund"]; + for(var key in fundRules){ + var flag = getItemValue(0,0,key+"_FINA"); + if(flag=="finatype01"){ + setItemValue(0,0,key+"_FIRST_PAYMENT_RATIO",""); + setItemValue(0,0,key+"_FINANCE",""); + } + } +} function importCustomerQuot(){ AsDialog.OpenSelector("SelectCustomerQuot","flowunid,<%=flowunid%>,productid,<%=productId%>","dialogWidth=800px;dialogHeight=500px", function(sReturn){ @@ -720,7 +734,7 @@ function changeRateType(){ //根据金额算比例 function getRatioByMoney(e){ - debugger; + var equipAmt=getItemValue(0,0,"EQUIP_AMT");//设备款 var cleanLeaseMoney=getItemValue(0,0,"CLEAN_LEASE_MONEY");//融资额 var fundRules=calcRules["fund"]; diff --git a/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp b/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp index 293eb400f..19b1dc6e1 100644 --- a/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp +++ b/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp @@ -27,7 +27,7 @@ <%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Tenwa/Apzl/Fivelevelclassification/LM_GRADE_CLASSIFICATIONList.jsp b/WebContent/Tenwa/Apzl/Fivelevelclassification/LM_GRADE_CLASSIFICATIONList.jsp new file mode 100644 index 000000000..caf8e7451 --- /dev/null +++ b/WebContent/Tenwa/Apzl/Fivelevelclassification/LM_GRADE_CLASSIFICATIONList.jsp @@ -0,0 +1,37 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2018-06-29 + Content: + History Log: + */ + ASObjectModel doTemp = new ASObjectModel("LM_GRADE_CLASSIFICATIONList"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; //--设置为Grid风格-- + dwTemp.ReadOnly = "1"; //只读模式 + dwTemp.setPageSize(10); + dwTemp.genHTMLObjectWindow(""); + + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][] = { + {"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, + {"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""}, + {"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0)","","","","btn_icon_delete",""}, + }; +%><%@include file="/Frame/resources/include/ui/include_list.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Apzl/Fivelevelclassification/LM_GRADE_CLASSIFICATIONinfo.jsp b/WebContent/Tenwa/Apzl/Fivelevelclassification/LM_GRADE_CLASSIFICATIONinfo.jsp new file mode 100644 index 000000000..ca9193052 --- /dev/null +++ b/WebContent/Tenwa/Apzl/Fivelevelclassification/LM_GRADE_CLASSIFICATIONinfo.jsp @@ -0,0 +1,35 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% + /* + Author: undefined 2018-06-30 + Content: 示例详情页面 + History Log: + */ + String sPrevUrl = CurPage.getParameter("PrevUrl"); + if(sPrevUrl == null) sPrevUrl = "/Tenwa/Apzl/Fivelevelclassification/LM_GRADE_CLASSIFICATIONList.jsp"; + + String sTempletNo = "LM_GRADE_CLASSIFICATIONinfo";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + //doTemp.setColTips("", "测试"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + //dwTemp.ReadOnly = "-2";//只读模式 + dwTemp.genHTMLObjectWindow(CurPage.getParameter("id")); + + String sButtons[][] = { + {"true","All","Button","保存","保存所有修改","save()","","","",""}, + {"true","","Button","返回","返回","returnList()","","","","btn_icon_return"} + /* {String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""} */ + }; + 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/Customer/Group/Subcompany/DistributorCustomerGroupRelationList.jsp b/WebContent/Tenwa/Customer/Group/Subcompany/DistributorCustomerGroupRelationList.jsp index 1ab81c9be..997e87b7e 100644 --- a/WebContent/Tenwa/Customer/Group/Subcompany/DistributorCustomerGroupRelationList.jsp +++ b/WebContent/Tenwa/Customer/Group/Subcompany/DistributorCustomerGroupRelationList.jsp @@ -26,10 +26,10 @@ function newgo(){ function newRecord(){ var sUrl = "/Tenwa/Customer/Group/Subcompany/DistributorCustomerGroupRelation.jsp"; AsDialog.PopView(sUrl,"group_id=<%=group_id%>","resizable=yes;dialogWidth=600px;dialogHeight=250px;center:yes;status:no;statusbar:no",function(){ + window.location.reload(); //reloadSelf(); },"新增集团下属公司信息"); //reloadSelf(); - window.location.reload(); } //修改 function viewAndEdit(){ diff --git a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountList.jsp b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountList.jsp index 2b8882024..374810d82 100644 --- a/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountList.jsp +++ b/WebContent/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountList.jsp @@ -20,22 +20,22 @@ if(sFlowUnid == null) sFlowUnid=""; String sTempletNo = CurPage.getParameter("TempletNo");//模板号 if(sTempletNo == null) sTempletNo = "LDistributorAccountList"; - if("DealerDepositReturnApply".equals(sFlowName)){ + if("DealerDepositReturnApply".equals(sFlowName)||"DealerDepositChargeApply".equals(sFlowName)){ sTempletNo = "LDistributorAccountListS"; + sFlowUnid=disno; } ASObjectModel doTemp = new ASObjectModel(sTempletNo); ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); dwTemp.Style="1"; //--设置为Grid风格-- //dwTemp.ReadOnly = "1"; //只读模式 dwTemp.setPageSize(20); - dwTemp.genHTMLObjectWindow(disno); - + dwTemp.genHTMLObjectWindow(sFlowUnid); String sButtons[][] =null; if("DealerDepositReturnApply".equals(sFlowName)||"DealerDepositChargeApply".equals(sFlowName)){ sButtons=new String[][] { //{"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, - {"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""}, + //{"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""}, /* //{"true","All","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0)","","","","btn_icon_delete",""}, */ //{"true","All","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""}, */ }; diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessProjectTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessProjectTempInfo.jsp index 88db16077..aa614ecd3 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessProjectTempInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessProjectTempInfo.jsp @@ -44,7 +44,7 @@ dwTemp.Style = "2";//freeform dwTemp.setGroupHidden("0020"); dwTemp.genHTMLObjectWindow(CurPage.getParameter("FlowUnid")); - dwTemp.replaceColumn("customer_info", "", CurPage.getObjectWindowOutput()); + dwTemp.replaceColumn("customer_info", "", CurPage.getObjectWindowOutput()); String sButtons[][] = { {"ReadOnly".equals(rightType)?"false":"true","","Button","保存","保存","save()","","","","btn_icon_saveNew",""} }; diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp index b4911ebe2..51c355c6e 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp @@ -9,13 +9,15 @@ Date curdate = new Date(); SimpleDateFormat formatter = new SimpleDateFormat("yyyy/MM/dd"); String dateString = formatter.format(curdate); - + + String sPhaseNo=CurPage.getParameter("sPhaseNo"); + System.out.print("==============="+sPhaseNo); + String flowunid = CurPage.getParameter("FlowUnid"); String customerid = Sqlca.getString("select customer_id from lb_union_lessee_temp where flowunid='"+flowunid+"'"); String sTempletNo = "BusinessCustomerInfo";//--模板号-- ASObjectModel doTemp = new ASObjectModel(sTempletNo); String custname=CurPage.getParameter("custname"); - System.out.print(custname+"====================="); doTemp.setHtmlEvent("CERTID","onChange","changeCertid"); doTemp.setHtmlEvent("MARRIAGE","onChange","changeChildrensNumber"); doTemp.setHtmlEvent("Mailing_Address","onChange","checkMailingAddress"); @@ -37,9 +39,12 @@ //自然人标识 String person = "person"; dwTemp.replaceColumn("family", "", CurPage.getObjectWindowOutput()); + String sButtons[][] = { - {"true","","Button","身份校验","身份校验","identityVerification()","","","","btn_icon_check",""} + {"true","","Button","身份校验","身份校验","identityVerification()","","","","btn_icon_check",""} }; + + %><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>