1234567891011121314151617181920212223242526272829303132333435363738 |
- <%@ page contentType="text/html; charset=utf-8" session="false"%>
- <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
- <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
- <table cellspacing="1" cellpadding="0" border="0" style="width: 99%;" class="tabsty">
- <tbody>
- <tr align="center" style="height: 25px;">
- <c:if test="${tjType == 0}">
- <th width="10%">舍栏</th>
- </c:if>
- <c:if test="${tjType == 1}">
- <th width="10%">日期</th>
- </c:if>
- <th width="12%">配方干物质(kg/头)</th>
- <th width="15%">实际采食干物质(kg/头)</th>
- <th width="12%">配方成本(元/头)</th>
- <th width="12%">实际成本(元/头)</th>
- <th width="10%">产量(kg)</th>
- <th width="10%">产奶效率</th>
- <th width="15%">公斤奶饲料成本(元)</th>
- </tr>
- <c:if test="${empty list}"><tr align="center" class="greb" style="height: 25px;"><td colspan="8">没有对应的结果</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:out value="${list.bname}" /></td>
- <td><c:if test="${list.ldry > 0}"><fmt:formatNumber value="${list.ldry }" pattern="#.##" minFractionDigits="2" /></c:if></td>
- <td><c:if test="${list.dry > 0}"><fmt:formatNumber value="${list.dry }" pattern="#.##" minFractionDigits="2" /></c:if></td>
- <td><c:if test="${list.lprice > 0}"><fmt:formatNumber value="${list.lprice }" pattern="#.##" minFractionDigits="2" /></c:if></td>
- <td><c:if test="${list.price > 0}"><fmt:formatNumber value="${list.price }" pattern="#.##" minFractionDigits="2" /></c:if></td>
- <td><c:if test="${list.product > 0}"><fmt:formatNumber value="${list.product }" pattern="#.##" minFractionDigits="2" /></c:if></td>
- <td><c:if test="${list.milkratio > 0}"><fmt:formatNumber value="${list.milkratio }" pattern="#.##" minFractionDigits="2" /></c:if></td>
- <td><c:if test="${list.FeedPriceMilk > 0}"><fmt:formatNumber value="${list.FeedPriceMilk }" pattern="#.##" minFractionDigits="2" /></c:if></td>
- </tr>
- </c:forEach>
- </c:if>
- </tbody>
- </table>
|