📄 gisearch.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"><strong>物品入库管理:</strong></h2>
<form id="form3" name="form3" method="post" action="/SMS/giSearch.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="39">请选择入库时间:</td>
<td >从:
<input type="text" name="time" value="<%=time%>" onFocus="show_cele_date(time,'','',time)"/></td>
<td >到:
<input type="text" name="time1" value="<%=time1%>" onfocus="show_cele_date(time1,'','',time1)"/></td>
<td width="182"><div align="center">
<input type="submit" name="search" value="查 询" id="search" />
</div></td>
</tr>
</table>
</form>
<form id="form1" name="form1" method="get" action="/SMS/giDel.do">
<table width="749" border="1" cellpadding="1" cellspacing="1" class="tablelistcontent">
<tr>
<td width="86" height="45"> </td>
<td colspan="6"><div align="center">入库记录详细信息</div></td>
<td width="86"> </td>
</tr>
<tr>
<td height="45">
<label for="checkbox">选择</label></td>
<td width="85" >货物名称</td>
<td width="90" >入库数量</td>
<td width="85" >价格</td>
<td width="85" >供应商</td>
<td width="85" >入库时间</td>
<td width="90" >经办人</td>
<td>操作</td>
</tr>
<c:forEach var="p" items="${plist}">
<tr>
<c:choose>
<c:when test="${p.directorID==0}">
<td><input type="checkbox" name="id" value="${p.productID}" id="checkbox" />
<input type="hidden" name="time" value="${p.inputtime }"/></td>
</c:when>
<c:otherwise>
<td><label for="Submit">无法选择</label></td>
</c:otherwise>
</c:choose>
<td>${p.productname}</td>
<td>${p.amount}</td>
<td>${p.price}</td>
<td>${p.provider}</td>
<td>${p.inputtime }</td>
<td>${p.checker}</td>
<c:choose>
<c:when test="${p.directorID==0}">
<td><a href="/SMS/giGet.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="36" colspan="4"><div align="center">
<input type="button" name="add" class="widthbutton" value="增加记录" id="add" onClick="window.location.href='/SMS/storeManage/gIm/addGI.jsp'"/>
</div></td>
<td colspan="4"><div align="center">
<input type="submit" name="Submit" class="widthbutton" value="删除记录" id="Submit" />
</div></td>
</tr>
</table>
<p> </p>
</form>
<p> </p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -