From 38266c2f9f56008756800264be451ece13647683 Mon Sep 17 00:00:00 2001 From: zhangbb Date: Sat, 24 Aug 2019 11:33:46 +0800 Subject: [PATCH] =?UTF-8?q?1=E5=A4=A7=E5=90=8C=E5=88=86=E6=B6=A6=E5=88=A9?= =?UTF-8?q?=E7=8E=87=E5=8F=96=E5=80=BC=E6=9B=B4=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../splittingRatioInfo.jsp | 50 +++++++++++++ .../splittingRatioList.jsp | 75 +++++++++++++++++++ .../etc/app/component/component-config.xml | 2 +- .../component/component-parameter-config.xml | 2 +- WebContent/WEB-INF/etc/jbo/jbo_prd.xml | 16 ++++ .../FundIncomeEndRentPlanModify.java | 3 +- 6 files changed, 145 insertions(+), 3 deletions(-) create mode 100644 WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/splittingRatioInfo.jsp create mode 100644 WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/splittingRatioList.jsp diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/splittingRatioInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/splittingRatioInfo.jsp new file mode 100644 index 000000000..822ab8749 --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/splittingRatioInfo.jsp @@ -0,0 +1,50 @@ +<%@page import="com.itextpdf.text.log.SysoCounter"%> +<%@ page contentType="text/html; charset=GBK"%><%@ +include + file="/Frame/resources/include/include_begin_info.jspf"%> +<% + + String sTempletNo = "SplittingRatioInfo";//--模板号-- + ASObjectModel doTemp = new ASObjectModel(sTempletNo); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); + dwTemp.Style = "2";//freeform + dwTemp.ReadOnly = "0";//只读模式 + dwTemp.genHTMLObjectWindow(CurPage.getParameter("ID")); + + String sButtons[][] = { + {"true", "All", "Button", "保存","保存所有修改", "saveRecord()", "", "", "", ""}, + }; +%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/splittingRatioList.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/splittingRatioList.jsp new file mode 100644 index 000000000..79376a210 --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/splittingRatioList.jsp @@ -0,0 +1,75 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%> + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%> +<% + String PG_TITLE = "分润利率"; // 浏览器窗口标题 PG_TITLE +%> +<% + String userid=CurUser.getUserID(); + ASObjectModel doTemp = new ASObjectModel("SplittingRatioList"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; //--设置为Grid风格-- + dwTemp.MultiSelect = true; //多选 + dwTemp.ReadOnly = "1"; //只读模式 + dwTemp.setPageSize(30); + dwTemp.genHTMLObjectWindow(""); +%> +<%/*~END~*/%> + + +<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List04;Describe=定义按钮;]~*/%> +<% + String sButtons[][] = { + {"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, + {"true","","Button","修改","修改","viewAndEdit()","","","","btn_icon_edit"}, + {"true","All","Button","删除","删除","deleteRecord()","","","","btn_icon_delete",""}, + }; +%> +<%/*~END~*/%> +<%/*~BEGIN~不可编辑区~[Editable=false;CodeAreaID=List05;Describe=主体页面;]~*/%> +<%@include file="/Frame/resources/include/ui/include_list.jspf"%> +<%/*~END~*/%> + +
+
+ +
+
+<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%> + +<%/*~END~*/%> +<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List07;Describe=自定义函数;]~*/%> + +<%/*~END~*/%> +<%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/WEB-INF/etc/app/component/component-config.xml b/WebContent/WEB-INF/etc/app/component/component-config.xml index 03e8985b6..5410033a7 100644 --- a/WebContent/WEB-INF/etc/app/component/component-config.xml +++ b/WebContent/WEB-INF/etc/app/component/component-config.xml @@ -27,7 +27,7 @@ - + diff --git a/WebContent/WEB-INF/etc/app/component/component-parameter-config.xml b/WebContent/WEB-INF/etc/app/component/component-parameter-config.xml index 0cf94932b..a9d9d95c3 100644 --- a/WebContent/WEB-INF/etc/app/component/component-parameter-config.xml +++ b/WebContent/WEB-INF/etc/app/component/component-parameter-config.xml @@ -196,4 +196,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/WebContent/WEB-INF/etc/jbo/jbo_prd.xml b/WebContent/WEB-INF/etc/jbo/jbo_prd.xml index e1067dd2a..4cddc2750 100644 --- a/WebContent/WEB-INF/etc/jbo/jbo_prd.xml +++ b/WebContent/WEB-INF/etc/jbo/jbo_prd.xml @@ -163,6 +163,22 @@ + + + + + + + + + + + + + + + + diff --git a/src_tenwa/com/tenwa/flow/fund/actualpayment/FundIncomeEndRentPlanModify.java b/src_tenwa/com/tenwa/flow/fund/actualpayment/FundIncomeEndRentPlanModify.java index 1fbc0a6c1..f20bc0053 100644 --- a/src_tenwa/com/tenwa/flow/fund/actualpayment/FundIncomeEndRentPlanModify.java +++ b/src_tenwa/com/tenwa/flow/fund/actualpayment/FundIncomeEndRentPlanModify.java @@ -66,7 +66,8 @@ public class FundIncomeEndRentPlanModify extends BaseBussiness{ cre.carRunOnhire(Sqlca); //额外生成分润的租金计划 - String splittingRatio = ProductParamUtil.getProductParameterValue(productId, "PRD0350", "product_rate", "splitting_ratio"); + String distributor_id = Sqlca.getString("select distributor_id from lb_contract_info where id='"+contractId+"'"); + String splittingRatio =Sqlca.getString("select splitting_ratio from lb_splitting_ratio where distributor_id='"+distributor_id+"' and product_id='"+productId+"'"); if("".equals(splittingRatio)||splittingRatio==null){ }else{