| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- <%@ 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>
- <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:18px;">客户转账预约表</th></tr>
- <tr><td width="16%"> </td><td width="16%"> </td><td width="16%"> </td><td width="20%">填报时间:${appointDate}</td><td> </td></tr>
- </table>
- <table class="print">
- <tr><td style="font-weight:bold" width="10%">序号</td><td style="font-weight:bold" width="25%">网点</td><td style="font-weight:bold" width="35%">预约客户名称(企业账户可用简称)</td><td style="font-weight:bold" width="15%">预约金额(万元)</td><td style="font-weight:bold" width="15%">转账方式</td></tr>
- <c:forEach items="${customerModels}" var="customerModel" varStatus="vstatus">
- <tr><td style="font-weight:bold">${vstatus.index+1} </td> <td style="font-weight:bold">${customerModel.groupname} </td><td style="font-weight:bold">${customerModel.customerName} </td><td style="font-weight:bold">${customerModel.appointAmount} </td><td style="font-weight:bold">${customerModel.transferTypeStr} </td></tr>
- </c:forEach>
- <tr><td style="font-weight:bold"> </td> <td style="font-weight:bold"> </td><td style="font-weight:bold">合计</td><td style="font-weight:bold">${requestScope.sumAppointAmount} </td><td style="font-weight:bold"> </td></tr>
- </table>
- </div>
- </div>
- </body>
- </html>
|