| | |
| | | <c:if test="${task!=null || approvePermission}"> |
| | | <button class="pt-btn pt-btn-primary" onclick="dealFlow()">流程办理</button> |
| | | </c:if> |
| | | <c:if test="${physicalForm.flowState==1}"> |
| | | |
| | | <button class="pt-btn pt-btn-warning" onclick="reportPrinting()"><i class="fa fa-map-o"></i>打印实物利用单 |
| | | </button> |
| | | </c:if> |
| | | |
| | | <button class="pt-btn pt-btn-default" onclick="closeWindow()">关闭</button> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | //打印实物利用单 |
| | | function reportPrinting() { |
| | | var flag = ${archivesUtilizationForm.utilizationType==1}; |
| | | // var reportFile = "borrow_approval.ureport.xml"; |
| | | var reportFile = "borrow_approval_hn.ureport.xml"; |
| | | if (flag) { |
| | | // reportFile = "borrow_approval_sampling.ureport.xml"; |
| | | reportFile = "borrow_approval_hn.ureport.xml"; |
| | | } |
| | | |
| | | var reportFile = "borrow_approval_gh.ureport.xml"; |
| | | var path = "<%=path%>"; |
| | | var url = path + "/ureport/preview?_u=file:" + reportFile + "&_i=1&formId=" + '${archivesUtilizationForm.formId}'; |
| | | var url = path + "/ureport/preview?_u=file:" + reportFile + "&_i=1&formId=" + '${physicalForm.formId}'; |
| | | window.open(url); |
| | | } |
| | | |