12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <%@ page language="java" contentType="text/html; charset=gbk"%>
- <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
- <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
- <%@ page import="com.kpt.common.Util" %>
- <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>
- <tbody>
- <tr style="height: 25px;">
- <td align="center" colspan="18"><b>效率分析${beginDate}</b></td>
- </tr>
- </tbody>
- </table>
- <table cellspacing="1" cellpadding="0" border="0" style="width: 99%;" class="tabsty">
- <tbody>
- <tr align="center" style="height: 25px;">
- <th width="7%">栏舍</th>
- <th width="7%">配方模版</th>
- <th>配方价格(元/kg)</th>
- <th>实际牛头数</th>
- <th>应上料量(kg)</th>
- <th>总上料量(kg)</th>
- <th>昨日转投剩料量(kg)</th>
- <th>今日剩料量(kg)</th>
- <th>剩料率(%)</th>
- <th>TMR干物质(%)</th>
- <th>配方干物质采食量(kg/头)</th>
- <th>实际干物质采食量(kg/头)</th>
- <th>采食率(%)</th>
- <th>配方成本(元/头)</th>
- <th>实际成本(元/头)</th>
- <th>产量(kg)</th>
- <th>产奶效率(奶料比)</th>
- <th>饲料成本(元/公斤奶)</th>
- </tr>
- <c:if test="${empty list}"><tr align="center" class="greb" style="height: 25px;"><td colspan="18">没有对应的结果</td></tr></c:if>
- <c:if test="${!empty list}">
- <c:forEach var="list" items="${list}">
- <tr align="center" class="greb" style="height: 25px;">
- <td>
- <c:if test="${empty list.Fname}"></c:if>
- <c:if test="${!empty list.Fname}">
- <c:if test="${list.Fname == '平均值' or list.Fname == '合计值'}"><c:out value="${list.Fname}" /></c:if>
- <c:if test="${list.Fname != '平均值' and list.Fname != '合计值'}">[<c:out value="${list.Fname}" />]</c:if>
- </c:if>
- </td>
- <td><c:out value="${list.TNAME}" /></td>
- <td><c:out value="${list.tprice}" /></td>
- <td><c:out value="${list.CCOUNT}" /></td>
- <td><c:out value="${list.beginSumActualWeightMinus}" /></td>
- <td><c:out value="${list.SumActualWeightMinus}" /></td>
- <td><c:out value="${list.YesterdayRemain}" /></td>
- <td><c:out value="${list.Remain}" /></td>
- <td><c:out value="${list.RemainRatio}" /></td>
- <td><c:out value="${list.tdry}" /></td>
- <td><c:out value="${list.dryWEIGHT}" /></td>
- <td><c:out value="${list.sjDryCSL}" /></td>
- <td><c:out value="${list.csl}" /></td>
- <td><c:out value="${list.lprice}" /></td>
- <td><c:out value="${list.price}" /></td>
- <td><c:out value="${list.product}" /></td>
- <td><c:out value="${list.milkratio}" /></td>
- <td><fmt:formatNumber value="${list.FeedPricePMilk }" pattern="#.##" minFractionDigits="2" /></td>
- </tr>
- </c:forEach>
- </c:if>
- </tbody>
- </table>
- </div>
- </body>
- </html>
|