📄 storage.jsp
字号:
<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
<title>jb-aptech毕业设计项目</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="html/css/style.css" rel="stylesheet" type="text/css">
<script src="html/script/common.js"></script>
</head>
<body>
<form action="depot.do?operate=doFind" method="post">
<div class="page_title"> 产品查询</div>
<div class="button_bar">
<button class="common_button" onclick="help('');">帮助</button>
<input type="submit" class="common_button" value="查询">
</div>
<table class="query_form_table">
<tr>
<th>产品</th>
<td><input name="depot.productInfo.productName"/></td>
<th>仓库</th>
<td><input name="depot.depotAddress"/></td>
<th> </th>
<td> </td>
</tr>
</table>
<br />
<table class="data_list_table">
<tr>
<th>序号</th>
<th>产品</th>
<th>仓库</th>
<th>货位</th>
<th>件数</th>
<th>备注</th>
</tr>
<c:forEach var="depot" items="${depotList}">
<tr>
<td class="list_data_number">${depot.depotId}</td>
<td class="list_data_ltext">
${depot.productInfo.productName} -
${depot.productInfo.productModel} - ${depot.productInfo.productGradeJob}
</td>
<td class="list_data_ltext">${depot.depotAddress}</td>
<td class="list_data_text">${depot.depotBooth}</td>
<td class="list_data_number">${depot.depotPiece}</td>
<td class="list_data_ltext">${depot.depotRemark}</td>
</tr>
</c:forEach>
<tr>
<th colspan="100" class="pager">
<div class="pager">
<input type="hidden" name="p" value="${page }">
共${count}条记录 每页<input value="${pageSize}" size="2" name="pageSize" readonly="readonly" />条
第<input value="${pageNo}" size="2" name="pageNo" readonly="readonly"/>页/共${page}页
<c:if test="${pageNo==1}">
<a href="#" onclick="javascript:alert('已经是第一页了!')">第一页</a>
</c:if>
<c:if test="${pageNo!=1}">
<a href="depot.do?operate=doPage&pageNo=1">第一页</a>
<a href="depot.do?operate=doPage&pageNo=${pageNo-1}">上一页</a>
</c:if>
<c:if test="${pageNo!=page}">
<a href="depot.do?operate=doPage&pageNo=${pageNo+1}">下一页</a>
</c:if>
<a href="depot.do?operate=doPage&pageNo=${page}">最后一页</a>
转到第<input value="1" size="4" name="toPageNo"/>页
<a onclick="return check();" href="javascript:page('depot');">GO</a>
</div>
</th>
</tr>
</table></form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -