From c9f5fa904abcea10f465737190f35e2602890f2b Mon Sep 17 00:00:00 2001 From: liuzhao Date: Thu, 27 Sep 2018 11:50:19 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=8F=91=E7=A5=A8=E6=89=93=E5=8D=B0?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ConfirmInvoice/InvoicePrintResultList.jsp | 65 +++++++++ .../InvoiceRentDirectConfirmList.jsp | 4 +- WebContent/WEB-INF/etc/jbo/jbo_calc.xml | 12 +- .../rentPlanInvoiceDirectManager.java | 132 ++++++++++++++---- 4 files changed, 182 insertions(+), 31 deletions(-) create mode 100644 WebContent/Tenwa/Core/InvoiceManager/ConfirmInvoice/InvoicePrintResultList.jsp diff --git a/WebContent/Tenwa/Core/InvoiceManager/ConfirmInvoice/InvoicePrintResultList.jsp b/WebContent/Tenwa/Core/InvoiceManager/ConfirmInvoice/InvoicePrintResultList.jsp new file mode 100644 index 000000000..4c6a8ac86 --- /dev/null +++ b/WebContent/Tenwa/Core/InvoiceManager/ConfirmInvoice/InvoicePrintResultList.jsp @@ -0,0 +1,65 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2018-09-27 + Content: + History Log: + */ + ASObjectModel doTemp = new ASObjectModel("InvoicePrintResultList"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; //--设置为Grid风格-- + dwTemp.MultiSelect = true; //多选 + 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","打印","打印","print()","","","","",""}, + {"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/Core/InvoiceManager/ConfirmInvoice/InvoiceRentDirectConfirmList.jsp b/WebContent/Tenwa/Core/InvoiceManager/ConfirmInvoice/InvoiceRentDirectConfirmList.jsp index bb84cb977..11d64dc0d 100644 --- a/WebContent/Tenwa/Core/InvoiceManager/ConfirmInvoice/InvoiceRentDirectConfirmList.jsp +++ b/WebContent/Tenwa/Core/InvoiceManager/ConfirmInvoice/InvoiceRentDirectConfirmList.jsp @@ -18,8 +18,8 @@ //{"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, {"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""}, {"true","","Button","查询","查询","selectInvoice()","","","","",""}, - {"true","","Button","打印发票","打印发票","printInvoice()","","","","",""}, - {"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""}, + {"true","","Button","发票打印申请","发票打印申请","printInvoice()","","","","",""}, + {"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"%> diff --git a/WebContent/Accounting/LoanSimulation_change/RentPlanList.jsp b/WebContent/Accounting/LoanSimulation_change/RentPlanList.jsp index 7f4ad6b65..4044a3523 100644 --- a/WebContent/Accounting/LoanSimulation_change/RentPlanList.jsp +++ b/WebContent/Accounting/LoanSimulation_change/RentPlanList.jsp @@ -28,12 +28,12 @@ String sButtons[][] =null; sButtons=new String[][] { - {"false","","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, - {"false","","Button","修改","修改","viewAndEdit()","","","","btn_icon_detail",""}, - {"false","","Button","删除","删除","deleteRecord()","","","","btn_icon_delete",""}, - {"false","","Button","更新现金流","更新现金流","updateFlow()","","","","btn_icon_detail",""}, - {"false","","Button","导入租金计划","导入租金计划","importRentPlan()","","","","btn_icon_detail",""}, - {"false","","Button","模板下载","模板下载","downloadTemplate()","","","","btn_icon_set",""}, + {"true","","Button","新增","新增","newRecord()","","","","btn_icon_add",""}, + {"true","","Button","修改","修改","viewAndEdit()","","","","btn_icon_detail",""}, + {"true","","Button","删除","删除","deleteRecord()","","","","btn_icon_delete",""}, + {"true","","Button","更新现金流","更新现金流","updateFlow()","","","","btn_icon_detail",""}, + {"true","","Button","导入租金计划","导入租金计划","importRentPlan()","","","","btn_icon_detail",""}, + {"true","","Button","模板下载","模板下载","downloadTemplate()","","","","btn_icon_set",""}, }; %><%@include file="/Frame/resources/include/ui/include_list.jspf"%>