| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 |
- <%@ page language="java" contentType="text/html; charset=GBK"
- pageEncoding="GBK"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
- <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=GBK">
- <link href="main.css" rel="stylesheet" type="text/css"></link>
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="controls/print/plugPrint.js"></script>
- <link rel="stylesheet" type="text/css" href="controls/print/print.css">
- <!--media=print 这个属性可以在打印时有效-->
- <style media=print>
- .Noprint {
- display: none;
- }
- .PageNext {
- page-break-after: always;
- }
- </style>
- <style type="text/css">
- table{
- width:100%;
- }
- .print td{
- padding-top:2px;
- height:30px;
- text-align:center;
- }
- .commont{
- height:30px;
- margin-top:30px;
- text-align:left;
- font-weight:bold;
- font-size:15px;
- }
- .fncBtn {
- width: 100%;
- background: #e5ecf9;
- height: 30px;
- padding-top: 3px;
- text-align:center;
- }
- .btn {
- height: 25px;
- line-height: 20px;
- }
- </style>
- <title>工程内业资料清单打印</title>
- <script language="javascript" type="text/javascript">
- //****************************************************************
- //* 名 称:formPrintit
- //* 功 能:打印
- //* 作 者: 章家明
- //* 入口参数:
- //* 出口参数:
- //*****************************************************************
- function formPrintit(isZong, isSelectPrinter) {
- setupHeaderAndFooter("", "");
- setupMargin("1", "28", "28", "28", "28");
- printit(isZong, isSelectPrinter);
- }
- //****************************************************************
- //* 名 称:formPageSetup
- //* 功 能:打印设置
- //* 作 者: 章家明
- //* 入口参数:
- //* 出口参数:
- //*****************************************************************
- function formPageSetup() {
- setupHeaderAndFooter("", "");
- setupMargin("1", "28", "28", "28", "28");
- popPageSetup();
- }
- //****************************************************************
- //* 名 称:formPreview
- //* 功 能:打印预览
- //* 作 者: 章家明
- //* 入口参数:
- //* 出口参数:
- //*****************************************************************
- function formPreview() {
- setupHeaderAndFooter("", "");
- setupMargin("1", "28", "28", "28", "28");
- popPreview();
- }
- function printWindow() {
- factory.printing.header = "This is MeadCo";
- factory.printing.footer = "Printing by ScriptX";
- factory.printing.portrait = false;
- factory.printing.leftMargin = 1.0;
- factory.printing.topMargin = 1.0;
- factory.printing.rightMargin = 1.0;
- factory.printing.bottomMargin = 1.0;
- // factory.printing.Print(false);
- factory.printing.Preview();
- }
- </script>
- </head>
- <body>
- <div class="fncBtn Noprint"> <object id="factory" viewastext style="display: none"
- classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814"
- codebase="${pageContext.request.contextPath}/controls/print/smsx.cab#Version=7,0,0,8">
- </object> <input type=button value="选择打印" onclick="formPrintit(false, true)" class="btn">
- <input type=button value="直接打印" onclick="formPrintit(true, false)" class="btn">
- <input type=button value="页面设置" onclick="formPageSetup()" class="btn">
- <input type=button value="打印预览" onclick="formPreview()" class="btn">
- </div>
- <div style="width:100%;text-align:center">
- <div style="margin:0 auto;width:90%">
- <table class="print">
- <tr>
- <td colspan="6" >
- <h6 style="font-size:30px;">
- 工程内业资料清单
- </h6>
- </td>
- </tr>
- <tr>
- <td style="font-size:15px;" colspan="2" >工程名称</td>
- <td style="font-size:15px;text-align: left;" colspan="4" >${requestScope.projectInfo.project_name }</td>
- </tr>
- <tr>
- <td style="font-size:15px;" colspan="2" >开工时间</td>
- <td style="font-size:15px;" >${requestScope.projectInfo.project_start_date }</td>
- <td style="font-size:15px;" colspan="2" >竣工验收日期</td>
- <td style="font-size:15px;" >${requestScope.projectInfo.project_end_date }</td>
- </tr>
- <tr>
- <td style="font-size:15px;" >序号</td>
- <td style="font-size:15px;" colspan="2" >资料名称</td>
- <td style="font-size:15px;" >份数</td>
- <td style="font-size:15px;">是否原件</td>
- <td style="font-size:15px;">备注</td>
- </tr>
-
- <c:forEach var="list" items="${listProjectDetail}" varStatus="status">
- <tr>
- <td style="font-size:15px;" >${status.index + 1}</td>
- <td style="font-size:15px;" colspan="2" >${list.record_detail_name }</td>
- <td style="font-size:15px;" >${list.record_detail_count }</td>
- <td style="font-size:15px;">${list.record_detail_iscopy }</td>
- <td style="font-size:15px;">${list.record_detail_remark }</td>
- </tr>
- </c:forEach>
-
- <tr>
- <td style="font-size:15px;" colspan="2" rowspan="2">项目部资料专用章</td>
- <td style="font-size:15px;" >领出时间</td>
- <td style="font-size:15px;" >${requestScope.projectInfo.record_out_date }</td>
- <td style="font-size:15px;">领出人</td>
- <td style="font-size:15px;">${requestScope.projectInfo.record_get_person }</td>
- </tr>
- <tr>
- <td style="font-size:15px;" >收回时间</td>
- <td style="font-size:15px;" >${requestScope.projectInfo.record_in_date }</td>
- <td style="font-size:15px;">接收人</td>
- <td style="font-size:15px;">${requestScope.projectInfo.record_receive_person }</td>
- </tr>
- </table>
-
- </div>
- </div>
- </body>
- </html>
|