From 4992ac876a94ad09b7eb1116f6781b08dbbd7f87 Mon Sep 17 00:00:00 2001 From: linxiaoping <12345678> Date: Sun, 10 Jun 2018 18:33:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=B4=E6=81=AF=E7=AE=A1=E7=90=86=EF=BC=9B?= =?UTF-8?q?=E8=BD=A6=E7=B3=BB=E4=BF=A1=E6=81=AF=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Interface/CarInfo/LbProductCarInfo.jsp | 76 +++++++++++++++++++ .../Interface/CarInfo/LbProductCarList.jsp | 50 ++++++++++++ .../Interface/CarInfo/LbProductInfoList.jsp | 39 ++++++++++ .../Interface/CarInfo/LbProductSalvage.jsp | 37 +++++++++ .../CarInfo/LbProductSalvageInfo.jsp | 45 +++++++++++ 5 files changed, 247 insertions(+) create mode 100644 WebContent/Tenwa/Lease/App/Interface/CarInfo/LbProductCarInfo.jsp create mode 100644 WebContent/Tenwa/Lease/App/Interface/CarInfo/LbProductCarList.jsp create mode 100644 WebContent/Tenwa/Lease/App/Interface/CarInfo/LbProductInfoList.jsp create mode 100644 WebContent/Tenwa/Lease/App/Interface/CarInfo/LbProductSalvage.jsp create mode 100644 WebContent/Tenwa/Lease/App/Interface/CarInfo/LbProductSalvageInfo.jsp diff --git a/WebContent/Tenwa/Lease/App/Interface/CarInfo/LbProductCarInfo.jsp b/WebContent/Tenwa/Lease/App/Interface/CarInfo/LbProductCarInfo.jsp new file mode 100644 index 000000000..f27ca858d --- /dev/null +++ b/WebContent/Tenwa/Lease/App/Interface/CarInfo/LbProductCarInfo.jsp @@ -0,0 +1,76 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% + /* + Author: undefined 2018-06-07 + Content: 示例详情页面 + History Log: + */ + String id = CurPage.getParameter("id"); + String product_id = CurPage.getParameter("product_id"); + String name = CurUser.getUserName(); + String orgName = CurUser.getOrgName(); + /* Date d = new Date(); + System.out.print(d); */ + /* if(sPrevUrl == null) sPrevUrl = ""; */ + String sTempletNo = "LB_PRODUCT_CAR_INFO";//--模板号-- + 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("product_id")); + dwTemp.genHTMLObjectWindow(CurPage.getParameter("id")); + + String sButtons[][] = { + {"true","All","Button","保存","保存所有修改","save()","","","",""}, + {"true","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/App/Interface/CarInfo/LbProductCarList.jsp b/WebContent/Tenwa/Lease/App/Interface/CarInfo/LbProductCarList.jsp new file mode 100644 index 000000000..301c5774d --- /dev/null +++ b/WebContent/Tenwa/Lease/App/Interface/CarInfo/LbProductCarList.jsp @@ -0,0 +1,50 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2018-06-05 + Content: + History Log: + */ + String product_id = CurPage.getParameter("product_id"); + ASObjectModel doTemp = new ASObjectModel("LB_PRODUCT_CAR_LIST"); + if (""!=product_id || null==product_id){ + doTemp.appendJboWhere("lpi.product_id='"+product_id+"'"); + } + 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,'alert(getRowCount(0))')","","","","btn_icon_delete",""}, + {"true","","Button","返回","返回","returnList()","","","","btn_icon_return",""}, + }; +%><%@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/Lease/App/Interface/CarInfo/LbProductInfoList.jsp b/WebContent/Tenwa/Lease/App/Interface/CarInfo/LbProductInfoList.jsp new file mode 100644 index 000000000..57be3d5b8 --- /dev/null +++ b/WebContent/Tenwa/Lease/App/Interface/CarInfo/LbProductInfoList.jsp @@ -0,0 +1,39 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2018-06-06 + Content: + History Log: + */ + ASObjectModel doTemp = new ASObjectModel("LB_PRODUCT_INFO_LIST"); + 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","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""}, + //{"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(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/Lease/App/Interface/CarInfo/LbProductSalvage.jsp b/WebContent/Tenwa/Lease/App/Interface/CarInfo/LbProductSalvage.jsp new file mode 100644 index 000000000..154388a05 --- /dev/null +++ b/WebContent/Tenwa/Lease/App/Interface/CarInfo/LbProductSalvage.jsp @@ -0,0 +1,37 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2018-06-09 + Content: + History Log: + */ + ASObjectModel doTemp = new ASObjectModel("LB_PRODUCT_SALVAGE"); + 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,'alert(getRowCount(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/Lease/App/Interface/CarInfo/LbProductSalvageInfo.jsp b/WebContent/Tenwa/Lease/App/Interface/CarInfo/LbProductSalvageInfo.jsp new file mode 100644 index 000000000..0eb1d9340 --- /dev/null +++ b/WebContent/Tenwa/Lease/App/Interface/CarInfo/LbProductSalvageInfo.jsp @@ -0,0 +1,45 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% + /* + Author: undefined 2018-06-09 + Content: 示例详情页面 + History Log: + */ + String sPrevUrl = CurPage.getParameter("id"); + /* if(sPrevUrl == null) sPrevUrl = ""; */ + + String sTempletNo = "LB_PRODUCT_SALVAGE_INFO";//--模板号-- + 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","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