📄 producequery.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link href="<%=request.getContextPath()%>/css/SMSpublic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" name="form1" method="post" action="producequery.do">
<table width="700" border="0" cellspacing="1" >
<tr>
<td colspan="6"> <span class="title1"> 生产部门信息查询</span></td>
</tr>
<tr>
<td colspan="6"><label>
<input name="app" type="radio" value="1" checked="checked" />
<span class="title2"> 申领单 </span></label>
<span class="title2">
<label> </label>
</span>
<label>
<input type="radio" name="app" value="2" />
<span class="title2">申购单 </span>
<input name="Submit" type="submit" class="button" value="查询" />
</label></td>
</tr>
<tr>
<td colspan="-3" class="title2">货品ID</td>
<td class="title2">申请人ID</td>
<td class="title2"><p>申请部门主管ID<span class="smalltitle">(0代表主管还未审批)</span></p></td>
<td class="title2">数量</td>
<td><p class="title2">申请时间</p></td>
<td class="title2">状态</td>
</tr>
<c:forEach var="p" items="${list}">
<tr>
<td width="101" colspan="-3"> ${p.productID} </td>
<td width="100">${p.applicantID}</td>
<c:choose>
<c:when test="${condition=='1'}">
<td width="111">${p.directorID}</td>
<td width="80">${p.amount}</td>
</c:when>
<c:when test="${condition=='2'}">
<td width="105">${p.appdirctorID}</td>
<td width="98">${p.buyamount}</td>
</c:when>
</c:choose>
<td width="78"> ${p.apptime}</td>
<td width="87">${p.state} </td>
</tr>
</c:forEach>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -