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');