123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <%@ page language="java" contentType="text/html; charset=gbk"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
- <%@page import="java.util.List"%>
- <%@page import="java.util.Map"%>
- <%@page import="java.util.ArrayList"%>
- <%@ page import="com.kpt.common.Util" %>
- <%@page import="java.text.DecimalFormat"%>
- <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">
- <meta http-equiv="Content-Type" content="text/html; charset=GBK" />
- <%
- String str = Util.getHeaderType(request,"栏舍配方");
- response.setContentType("application/vnd.ms-excel;charset=gbk");response.setHeader("Content-disposition",str);
- %>
- <head>
- <style>
- .STYLE1 {color: #FFFFFF}
- </style>
- <!--[if gte mso 9]><xml>
- <x:ExcelWorkbook>
- <x:ExcelWorksheets>
- <x:ExcelWorksheet>
- <x:Name>readers</x:Name>
- <x:WorksheetOptions>
- <x:Print>
- <x:ValidPrinterInfo />
- </x:Print>
- </x:WorksheetOptions>
- </x:ExcelWorksheet>
- </x:ExcelWorksheets>
- </x:ExcelWorkbook>
- </xml><![endif]-->
- </head>
- <body style="margin:0";>
- <div class="content">
- <table cellspacing="1" cellpadding="0" border="0" style="width:99%;">
- <tr>
- <td align="center" colspan="12">
- <h1>栏舍配方备份[<c:out value="${nDate}" />]</h1>
- </td>
- </tr>
- </table>
- <table cellspacing="1" cellpadding="0" border="0" style="width:99%;">
- <tbody>
- <tr align="center" style="height: 25px;">
- <th width="8%">栏舍名称</th>
- <th width="8%">实际头数</th>
- <th width="8%">系数</th>
- <th width="8%">系数头数</th>
- <th width="8%">配方模版</th>
- <th width="8%">补料模版</th>
- <th width="8%">早班1比例(%)</th>
- <th width="8%">早班2比例(%)</th>
- <th width="8%">中班1比例(%)</th>
- <th width="8%">中班2比例(%)</th>
- <th width="8%">晚班1比例(%)</th>
- <th width="8%">晚班2比例(%)</th>
- </tr>
- <c:if test="${!empty list}">
- <c:forEach var="list" items="${list}">
- <tr align="center">
- <td>[<c:out value="${list.BNAME}"/>]</td>
- <td><c:out value="${list.CCOUNT}"/></td>
- <td><c:out value="${list.CCountRatio}"/></td>
- <td><c:out value="${list.CCountRatioCCOUNT}"/></td>
- <td><c:out value="${list.PFMB}"/></td>
- <td><c:out value="${list.BLMB}"/></td>
- <td><c:out value="${list.Rtime1}"/></td>
- <td><c:out value="${list.Rtime2}"/></td>
- <td><c:out value="${list.Rtime3}"/></td>
- <td><c:out value="${list.Rtime4}"/></td>
- <td><c:out value="${list.Rtime5}"/></td>
- <td><c:out value="${list.Rtime6}"/></td>
- </tr>
- </c:forEach>
- </c:if>
- </tbody>
- </table>
- </div>
- </body>
- </html>
|