From d1accf52682e7cc6865f380544ba379c11f8a422 Mon Sep 17 00:00:00 2001 From: jianghongdong Date: Fri, 27 Jul 2018 19:32:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=8F=E9=94=80=E5=95=86=E9=80=80=E5=9B=9E?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E7=9A=84=E4=BC=98=E5=8C=96=E5=A4=84=E7=90=86?= =?UTF-8?q?~?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DealerDeposit/DDepositReturn_TempInfo.jsp | 50 ++++++++----------- 1 file changed, 21 insertions(+), 29 deletions(-) diff --git a/WebContent/DealerDeposit/DDepositReturn_TempInfo.jsp b/WebContent/DealerDeposit/DDepositReturn_TempInfo.jsp index f8cf22f2b..765d09d4b 100644 --- a/WebContent/DealerDeposit/DDepositReturn_TempInfo.jsp +++ b/WebContent/DealerDeposit/DDepositReturn_TempInfo.jsp @@ -9,12 +9,16 @@ String sPrevUrl = CurPage.getParameter("ID"); String ProjectName = CurPage.getParameter("ProjectName"); String DistributorNo = CurPage.getParameter("DistributorNo"); + String RightType = CurPage.getParameter("RightType"); String sTempletNo = "DDepositReturn_TempInfo";//--模板号-- ASObjectModel doTemp = new ASObjectModel(sTempletNo); + doTemp.setDefaultValue("DISTRIBUTOR_ID", DistributorNo); - doTemp.setHtmlEvent("CAUTION_MONEY", "onchange", "selectBalance"); + if("ReadOnly".equals(RightType)){ + doTemp.setColInnerBtEvent("REFUND_NUMBER,LOCAL_ACCOUNT", ""); + } ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); dwTemp.Style = "2";//freeform //dwTemp.ReadOnly = "-2";//只读模式 @@ -24,31 +28,26 @@ String acc_bank = Sqlca.getString("select acc_bank from OWN_ACCOUNT limit 0,1"); String acc = Sqlca.getString("select acc_number from DISTRIBUTOR_ACCOUNT where distributor_id='"+DistributorNo+"' limit 0,1"); String sButtons[][] = { - {"true","All","Button","保存","保存所有修改","save()","","","",""}, - {String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""} + {"true","All","Button","保存","保存所有修改","save()","","","",""} }; - /* 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