From 1ce83c1abffdb4527ed1558fa20690a4512333e4 Mon Sep 17 00:00:00 2001 From: linxiaoping <12345678> Date: Sun, 24 Jun 2018 23:47:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DealerDeposit/DDepositReturn_TempInfo.jsp | 10 ++- .../DealerDeposit/DMarginChargeInfo_Temp.jsp | 1 - .../CLMSDistributorList.jsp | 4 +- .../Tenwa/Comm/CustomerDoc/CustomerList.jsp | 4 +- .../tenwa/flow/action/comm/SelectBalance.java | 66 +++++++++++++++++++ 5 files changed, 77 insertions(+), 8 deletions(-) create mode 100644 src_sys/com/tenwa/flow/action/comm/SelectBalance.java diff --git a/WebContent/DealerDeposit/DDepositReturn_TempInfo.jsp b/WebContent/DealerDeposit/DDepositReturn_TempInfo.jsp index 1a5812c45..1ebfd1de5 100644 --- a/WebContent/DealerDeposit/DDepositReturn_TempInfo.jsp +++ b/WebContent/DealerDeposit/DDepositReturn_TempInfo.jsp @@ -9,7 +9,8 @@ String sPrevUrl = CurPage.getParameter("ID"); String ProjectName = CurPage.getParameter("ProjectName"); /* if(sPrevUrl == null) sPrevUrl = ""; */ - + BizObject flow=JBOFactory.createBizObjectQuery("jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT","flow_unid=:flowunid").setParameter("flowunid", sFlowUnid).getSingleResult(false); + String DISTRIBUTOR_NO=flow.getAttribute("Flow_Key").getString(); String sTempletNo = "DDepositReturn_TempInfo";//--模板号-- ASObjectModel doTemp = new ASObjectModel(sTempletNo); /* doTemp.setColTips("", "测试"); */ @@ -45,8 +46,11 @@ AsControl.OpenView("/DealerDeposit/DDepositReturn_TempList.jsp", "FlowUnid="+sFlowUnid,"_self",""); } function selectBalance(){ - AsControl.RunJavaMethod(ClassName,MethodName, Args); - + //var distributor_id = getItemValue(0,getRow(),'distributor_id'); + //var CAUTION_MONEY = getItemValue(0,getRow(),'CAUTION_MONEY'); + var sReturn=AsControl.RunJavaMethodTrans("com.tenwa.flow.action.comm.SelectBalance","runs","distributor_no=<%=DISTRIBUTOR_NO%>");<%-- "distributor_no=<%=DISTRIBUTOR_NO%>" --%>/* +"&CAUTION_MONEY="+CAUTION_MONEY */ + setItemValue(0,0,"ACCOUNT_BALANCE",sReturn); + } <%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp b/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp index 7f07a77a0..293eb400f 100644 --- a/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp +++ b/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp @@ -27,7 +27,6 @@