From 43da0fe7b6b3126bb713b9b7ee6e46bb7293b2bc Mon Sep 17 00:00:00 2001 From: liuyifan <710271257@qq.com> Date: Tue, 24 Jul 2018 18:33:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=AD=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Tenwa/Lease/voucher/voucherass_detail.jsp | 61 ++++++++++++------- 1 file changed, 38 insertions(+), 23 deletions(-) diff --git a/WebContent/Tenwa/Lease/voucher/voucherass_detail.jsp b/WebContent/Tenwa/Lease/voucher/voucherass_detail.jsp index 6802a0951..209027928 100644 --- a/WebContent/Tenwa/Lease/voucher/voucherass_detail.jsp +++ b/WebContent/Tenwa/Lease/voucher/voucherass_detail.jsp @@ -16,6 +16,7 @@ dwTemp.MultiSelect = false; // dwTemp.setPageSize(50); dwTemp.genHTMLObjectWindow(""); + dwTemp.MultiSelect = true; doTemp.setLockCount(2); //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 String sButtons[][] = { @@ -96,15 +97,27 @@ function importFK(){ //导出凭证 function createContractByTemplate(){ - var id=getItemValue(0,getRow(),'f3'); - if(typeof(id)=="undefined" || id.length==0 ){ + //var id=getItemValue(0,getRow(),'f3'); + var id = getItemValueArray(0,'f3'); + if(id.length == 0){ + AsDebug.showMessage("提示:", "请选择一条凭证信息!"); + } + var idStr = ""; + for(var i=0;i").appendTo("body"); + window.open(sWebRootPath+"/servlet/view/docDownloadServlet?CompClientID=<%=sCompClientID%>&sqlString=save@"+id, "downloadTemplate"); + } function showContractInsurance() { var sPara = getItemValue(0,getRow(0),'f3');