| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195 |
- <%@ page language="java" contentType="text/html;charset=GBK"
- pageEncoding="GBK"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
- <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
- <!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">
- <title>变更记录查询</title>
- <script type="text/javascript"
- src="${pageContext.request.contextPath }/controls/print/plugPrint.js"></script>
- <!--media=print 这个属性可以在打印时有效-->
- <style media=print>
- .Noprint {
- display: none;
- }
- .PageNext {
- page-break-after: always;
- }
- </style>
- <style type="text/css">
- body {
- font-size: 12pt;
- }
- .auditOpionin_left_td {
- border-left: 1px solid #000000;
- border-bottom: 0px solid #000000;
- border-right: 1px solid #000000;
- }
- .auditOpionin_right_td {
- border-bottom: 0px solid #000000;
- border-right: 1px solid #000000;
- }
- .auditOpionin_div {
- padding-left: 10px;
- padding-top: 10px;
- margin-bottom: 10px;
- }
- .auditOpionin_content_left_td {
- border-left: 1px solid #000000;
- border-bottom: 1px solid #000000;
- border-right: 1px solid #000000;
- padding-left: 10px;
- }
- .auditOpionin_content_right_td {
- border-bottom: 1px solid #000000;
- border-right: 1px solid #000000;
- padding-left: 10px;
- }
- .ctd {
- margin: 5px;
- padding: 5px;
- }
- .tdp {
- border-bottom: 1 2px solid #000000 #000000;
- border-left: 1 2px solid #000000 #000000;
- border-right: 0 2px solid #000000 #ffffff;
- border-top: 0 2px solid #000000 #ffffff;
- }
- .tabp {
- border-color: #000000 #000000 #000000 #000000;
- border: 2px solid #000000;
- border-top-width: 2px;
- border-right-width: 2px;
- border-bottom-width: 1px;
- border-left-width: 1px;
- }
- .NOPRINT {
- font-family: "宋体";
- font-size: 9pt;
- }
- ul {
- list-style: none;
- margin: 0;
- padding: 0;
- }
- ul li {
- line-height: 28px;
- }
- #mdA table,#mdA table td,#mdA table th{border:1px solid #000000;border-collapse:collapse;}
- </style>
- <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>
- <table width="100%" cellpadding="0" cellspacing="0" class="hl hr"
- bordercolor="#000000" align="center">
- <tr class="Noprint">
- <td align="center">
- <%-- <object id="xprint" name="xprint" style="display:none" classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814" codebase="${pageContext.request.contextPath }/controls/print/smsx.cab#version=6,5,439,72"></object> --%>
- <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)">
- <input type=button value="直接打印" onclick="formPrintit(true, false)">
- <input type=button value="页面设置" onclick="formPageSetup()"> <input
- type=button value="打印预览" onclick="formPreview()">
- </td>
- </tr>
- </table>
- <br />
- <div id="mdA" style="margin-top: 4px">
- <table cellpadding="0" width="900" cellspacing="0" align="center" class="print">
- <tr>
- <th>资产编号</th>
- <th>资产名称</th>
- <th>变更后状态</th>
- <th>变更前状态</th>
- <th>变更日期</th>
- </tr>
- <c:forEach items="${asList }" var="assetStatus">
- <tr>
- <td>${assetStatus.asset_id }</td>
- <td>${assetStatus.asset_name }</td>
- <td>${assetStatus.new_asset_status_name }</td>
- <td>${assetStatus.old_asset_status_name }</td>
- <td><fmt:formatDate value="${assetStatus.create_date }" pattern="yyyy-MM-dd"/></td>
- </tr>
- </c:forEach>
- <%-- <tr>
- <td align="left">资产总额(元)</td>
- <td colspan="6" align="center">${assetAllCountTotal}</td>
- </tr> --%>
- </table>
- </div>
- </body>
- </html>
|