⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tjoutquery.jsp

📁 仓库管理系统毕业设计论文最好的参考资料!
💻 JSP
字号:
<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>

		<title>出库统计查询</title>
		<style>
    	input{
    		border:1px solid red;
    	}
    	table{
    		border-collapse:collapse;
    	}
    </style>
		<script type="text/javascript" src="../js/calindar.js"></script>
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<script>
		function changePage(obj){
			if(obj.value == '首页'){
				document.all("currpage").value = 1;
				document.all("query").submit();
			}else if(obj.value == '上一页'){
				document.all("currpage").value = document.all("ppage").value;
				document.all("query").submit();
			}else if(obj.value == '下一页'){
				document.all("currpage").value = document.all("npage").value;
				document.all("query").submit();
			}else{
				document.all("currpage").value = document.all("allpage").value;
				document.all("query").submit();
			}
		}
		
	</script>
	</head>

	<body>
		<br>
		<font color="blue" size="4"> 出库统计</font>
		<hr color="gray" width="100%" />
		${message}
		<font color=red>${error}</font>
		<form action="TjAction.query.do?tj=1" name="query" method="post">
			料&nbsp;品&nbsp;编&nbsp;号:&nbsp;
			<input name="mpid" value="${param.mpid}">
			<br>
			出库日期开始:
			<input name="outindatebegin" value="${param.outindatebegin}">
			结束:
			<input name="outindateend" value="${param.outindateend}">
			<input name="outintype" type="hidden" value="i">
			<input type="submit" value="查询">
			<br>
			<br>
			<table border="1" id="tab" width="70%" >
				<tr>
					<th>
						序号
					</th>
					<th>
						料品编号
					</th>
					<th>
						料品名字
					</th>
					<th>
						数量
					</th>
				</tr>
				<c:forEach items="${po.list}" var="array" varStatus="status">
					<tr>
						<td align="center">
							${(po.currpage-1)*po.pagesize + status.count}
						</td>
						<td align="center">
							${array[0] }
						</td>
						<td align="center">
							${array[1] }
						</td>
						<td align="center">
							${array[2] }
						</td>
					</tr>
				</c:forEach>
				<tr>
					<td align="center">
						合计
					</td>
					<td></td>
					<td></td>
					<td align="center">
						${sum }
					</td>
				</tr>
			</table>
			<br>
			<input type="hidden" name="ppage" value="${po.ppage}">
			<input type="hidden" name="currpage" value="${po.currpage}">
			<input type="hidden" name="npage" value="${po.npage}">
			<input type="hidden" name="allpage" value="${po.allpage}">
			<input type="hidden" name="addcount" value="0">
			<input type="hidden" name="delbid">
			<input type="hidden" name="modoiid">
			总记录条数:${po.allcount} 每页显示:${po.pagesize} 总页数:${po.allpage}
			<input type="button" value="首页" onclick="changePage(this)">
			<input type="button" value="上一页" onclick="changePage(this)">
			当前页:${po.currpage}
			<input type="button" value="下一页" onclick="changePage(this)">
			<input type="button" value="末页" onclick="changePage(this)">
		</form>
	</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -