📄 gssearch.jsp
字号:
<%@ page contentType="text/html; charset=utf-8" language="java" errorPage="" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>物品查询</title>
<link href="<%=request.getContextPath()%>/css/SMSpublic.css" rel="stylesheet" type="text/css"/>
</head>
<script language="javascript" type="text/javascript" src="<%=request.getContextPath() %>/js/birthday.js"></script>
<body>
<h2 class="title1">物品管理:</h2>
<form id="form3" name="form3" method="get" action="/SMS/gsSearch.do">
<table width="743" border="1" cellpadding="1" cellspacing="1" class="tablelistcontent">
<tr>
<%String time=(String)request.getAttribute("time");
String time1=(String)request.getAttribute("time1");
if(time==null) time="2000-01-01";
if(time1==null) time1="2080-01-01";
%>
<td width="154" height="30" class="title2">请选择入库时间:</td>
<td >从:
<input name="time" type="text" class="inputcontent" onFocus="show_cele_date(time,'','',time)" value="<%=time%>"/></td>
<td >到:
<input name="time1" type="text" class="inputcontent" onfocus="show_cele_date(time1,'','',time1)" value="<%=time1%>"/></td>
<td width="182"><div align="center">
<input name="search" type="submit" class="button" id="search" value="查 询" />
</div></td>
</tr>
</table>
</form>
<form id="form1" name="form1" method="get" action="delgood.do">
<table width="759" border="1" cellpadding="1" cellspacing="1" class="tablelistcontent">
<tr>
<td width="66" height="31"> </td>
<td colspan="6"><div align="center" class="title2">物品报损信息</div></td>
<td width="92"> </td>
</tr>
<tr>
<td height="34">
<label for="checkbox">选择</label></td>
<td width="98" >货物ID</td>
<td width="114" >货物名称</td>
<td width="81" >报损数量</td>
<td width="87" >损坏原因</td>
<td width="70" >损坏时间</td>
<td width="106" >经办人</td>
<td>操作</td>
</tr>
<c:forEach var="p" items="${plist}">
<tr>
<c:choose>
<c:when test="${p.directorID==0}">
<td><input type="checkbox" name="checkbox" value="${p.productID}" id="checkbox" /></td>
</c:when>
<c:otherwise>
<td><label for="Submit">无法选择</label></td>
</c:otherwise>
</c:choose>
<td>${p.productID}</td>
<td>${p.productname}</td>
<td>${p.brokenamount}</td>
<td>${p.reason}</td>
<td>${p.breaktime}</td>
<td>${p.checker }</td>
<c:choose>
<c:when test="${p.directorID==0}">
<td><label for="Submit"></label><a href="gsGet.do?id=${p.productID}">修改记录</a></td>
</c:when>
<c:otherwise>
<td><label for="Submit">无法修改</label></td>
</c:otherwise>
</c:choose>
</tr>
</c:forEach>
<tr>
<td height="25" colspan="4"><div align="center">
<input name="add" type="button" class="widthbutton" id="add" onClick="window.location.href='storeManage/gSm/addGS.jsp'" value="增加记录"/>
</div></td>
<td colspan="4"><div align="center">
<input name="Submit" type="submit" class="widthbutton" id="Submit" value="删除记录" />
</div></td>
</tr>
</table>
</form>
<p align="center"><a href="/SMS/gsList.do">上一页</a></p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -