12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <%@ page contentType="text/html; charset=utf-8" session="false" %>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
- <%@ 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"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
- <head>
- <title>我的工作台</title>
- <%@ include file="../common/header.jsp" %>
- <body style="background-color: #E0E0E0">
- <div>
- <div class="navfrm">
- <span>当前位置:</span>
- <span><a href="${contextPath }/admin/welcome.html">首页</a></span>
- <span> >> </span>
- <span>库存预警</span> <font color="red"><b>【备注:牛头数按最后一天审核的牛头数进行计算;不通过 TMR 的饲料不经过库存预警】</b></font>
- </div>
- <div id="list">
- <table cellspacing="1" cellpadding="0" border="0" style="width: 99%;" class="tabsty">
- <tbody>
- <tr align="center" style="height: 25px;">
- <th>饲料名称</th>
- <th>库存量</th>
- <th>最近一次审核日期</th>
- <th>最近一次审核通过使用量</th>
- <th>剩余使用天数</th>
- </tr>
- <c:if test="${!empty feedStorageWarnList}">
- <c:forEach var="list" items="${feedStorageWarnList}">
- <tr align="center" style="height: 25px;">
- <td><c:out value="${list.FeedName}"/></td>
- <td><c:out value="${list.StockWeight}"/></td>
- <td><c:out value="${list.LastCheckDate}"/></td>
- <td><c:out value="${list.lastOperateWeight}"/></td>
- <td>
- <c:if test="${list.lastOperateWeight == 0}">0</c:if>
- <c:if test="${list.lastOperateWeight > 0}">
- <fmt:formatNumber type="number" value="${list.StockWeight / list.lastOperateWeight}" maxFractionDigits="0"/>
- </c:if>
- </td>
- </tr>
- </c:forEach>
- </c:if>
- </tbody>
- </table>
- </div>
- </div>
- </body>
- </html>
|