From 253c9ff372b61cb819738c4ef9c93e55d779a383 Mon Sep 17 00:00:00 2001 From: liuz Date: Sat, 30 Jun 2018 16:53:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DealerDeposit/DMarginChargeInfo_Temp.jsp | 10 +++++ .../LM_GRADE_CLASSIFICATIONList.jsp | 37 +++++++++++++++++++ .../LM_GRADE_CLASSIFICATIONinfo.jsp | 35 ++++++++++++++++++ .../LDistributorAccountList.jsp | 8 ++-- WebContent/WEB-INF/etc/jbo/jbo_comm.xml | 1 + WebContent/WEB-INF/etc/jbo/jbo_customer.xml | 14 +++++++ WebContent/WEB-INF/etc/jbo/jbo_lease.xml | 3 ++ 7 files changed, 104 insertions(+), 4 deletions(-) create mode 100644 WebContent/Tenwa/Apzl/Fivelevelclassification/LM_GRADE_CLASSIFICATIONList.jsp create mode 100644 WebContent/Tenwa/Apzl/Fivelevelclassification/LM_GRADE_CLASSIFICATIONinfo.jsp diff --git a/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp b/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp index 293eb400f..4fab2112e 100644 --- a/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp +++ b/WebContent/DealerDeposit/DMarginChargeInfo_Temp.jsp @@ -43,5 +43,15 @@ function returnList(){ AsControl.OpenView("/DealerDeposit/DMarginChargeInfo_TempList.jsp", "FlowUnid="+sFlowUnid,"_self",""); } + function selectaccount(){ + AsDialog.OpenSelector("SelectAccountS","","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){ + if(!sReturn||sReturn=="_CANCEL_"){ + alert(getHtmlMessage('1'));//请选择一条信息! + return; + } + sReturn = sReturn.split("@");//"@"表示了向页面添加数据时的连续性 + setItemValue(0,getRow(),"ACCOUNT_INFO",sReturn[0]);//向页面的框中添加数据 + },"请选择名称"); + } <%@ 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/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/WEB-INF/etc/jbo/jbo_comm.xml b/WebContent/WEB-INF/etc/jbo/jbo_comm.xml index 209c1b9c8..c414e8348 100644 --- a/WebContent/WEB-INF/etc/jbo/jbo_comm.xml +++ b/WebContent/WEB-INF/etc/jbo/jbo_comm.xml @@ -661,6 +661,7 @@ + diff --git a/WebContent/WEB-INF/etc/jbo/jbo_customer.xml b/WebContent/WEB-INF/etc/jbo/jbo_customer.xml index 1cb4bb97b..81e714c5c 100644 --- a/WebContent/WEB-INF/etc/jbo/jbo_customer.xml +++ b/WebContent/WEB-INF/etc/jbo/jbo_customer.xml @@ -2720,5 +2720,19 @@ + + + + + + + + + + + + + + diff --git a/WebContent/WEB-INF/etc/jbo/jbo_lease.xml b/WebContent/WEB-INF/etc/jbo/jbo_lease.xml index af7796d69..05db31fdc 100644 --- a/WebContent/WEB-INF/etc/jbo/jbo_lease.xml +++ b/WebContent/WEB-INF/etc/jbo/jbo_lease.xml @@ -1105,6 +1105,9 @@ + + +