| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
- <!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=UTF-8">
- <title>打印预览</title>
- <link href="main.css" rel="stylesheet" type="text/css"></link>
- <link href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <script type="text/javascript" src="controls/print/plugPrint.js"></script>
- <link rel="stylesheet" type="text/css" href="controls/print/print.css">
- <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: 25px;
- padding-top: 3px;
- text-align:center;
- }
- </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();
- }
- </script>
- </head>
- <body>
- <div class="fncBtn">
- <input type="button" class="l-button" value="选择打印" onclick="formPrintit(false, true)">
- <input type="button" class="l-button" value="直接打印" onclick="formPrintit(true, false)">
- <input type="button" class="l-button" value="页面设置" onclick="formPageSetup()">
- <input type="button" class="l-button" value="打印预览" onclick="formPreview()">
- </div>
- <object id="factory" viewastext style="display: none"
- classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814"
- codebase="http://localhost:8080/ynet_oa/controls/print/smsx.cab#Version=7,0,0,8"> </object>
- <div style="width:100%;text-align:center">
- <div style="margin:0 auto;width:90%">
- <table>
- <tr><th colspan="5" style="height:40px;font-size:23px;">福州农商银行中心库下拔小面额币别表</th></tr>
- <tr>
- <td style="font-size:15px;" width="15%">下拔时间:${lineDate}</td>
- <td width="25%"> </td>
- <td width="35%"> </td>
- <td style="font-size:15px;" width="25%">单位:万元</td>
- <td> </td>
- </tr>
- </table>
- <table class="print">
- <tr><td style="font-weight:bold" width="5%">序号</td>
- <td style="font-weight:bold" width="20%">网点名称</td>
- <td style="font-weight:bold" width="55%">下拔内容(金额,币别,其他等)</td>
- <td style="font-weight:bold" width="10%">实际金额(万元)</td>
- <td style="font-weight:bold" width="10%">出库柜号员</td>
- </tr>
- <c:forEach items="${deliveryModels}" var="delivery" varStatus="i">
- <tr>
- <td width="5%">${i.index+1}</td>
- <td width="20%">${delivery.groupName}</td>
- <td width="55%">${delivery.content}</td>
- <td width="10%">${delivery.assigneAmount}</td>
- <td width="10%"></td>
- </tr>
- </c:forEach>
- </table>
- </div>
- </div>
- </body>
- </html>
|