📄 rejectselectbyid.jsp
字号:
<%@ page language="java" import="java.util.*,com.jxc.vo.*" pageEncoding="UTF-8"%>
<html>
<head>
<style type="text/css">
.style13 {
font-size: 12px;
font-weight: bold;
color: #00FF00;
}
.style14 {
font-size: 12px;
color: #FF00FF;
}
.style15 {font-size: 12px}
.style17 {color: #FF0000}
.style19 {color: #0000FF; font-size: 12px; }
.style20 {color: #F1F4F8}
.style23 {color: #0000FF}
</style>
<script language="javascript" src="../JS/pagelist.js"></script>
</head>
<body bgcolor="#F1F4F8"><form action="RejectSelectBySid" method="post" name="listpage" class="style12">
<table width="660" height="480" border="0">
<tr>
<td height="30" bgcolor="#FFCCFF">
<jsp:include page="reject_top.jsp"></jsp:include>
</td>
</tr>
<tr>
<td height="25"><span class="style1 style13 style17">---->商品销售退货<----<span class="style15"> <span class="style23"> |-></span></span><span class="style11 style15 style23">提示</span><span class="style19">:日期的格式为xxxx-xx-xx<-|</span></span></td>
</tr>
<tr>
<td height="25">
<div align="center"><span class="style9 style14">
<%
if(session.getAttribute("erro")=="null"){
%>请将信息填写完整!<%
session.removeAttribute("erro");
}else if(session.getAttribute("erro")=="erro"){
%>
时间格式输入有误!<%
session.removeAttribute("erro");
}
%>
</span></div></td>
</tr>
<tr>
<td height="360" align="center" valign="baseline"> <span class="style15">初始日期
<input name="d1" type="text" size="10" value=<%if(session.getAttribute("d1")!=null){out.print(session.getAttribute("d1"));}else{out.print("");} %>>
终止日期
<input name="d2" type="text" size="10" value=<%if(session.getAttribute("d2")!=null){out.print(session.getAttribute("d2"));}else{out.print("");} %>>
商品编号
<input name="sid" type="text" size="5" value=<%if(session.getAttribute("sid")!=null){out.print(session.getAttribute("sid"));}else{out.print("");} %>>
<input type="submit" name="Submit" value="提交检索">
</span>
<%if(session.getAttribute("list")!=null){
List list=(List)session.getAttribute("list");%>
<table width="618" border="0" align="center" bgcolor="#cccccc">
<tr>
<td bgcolor="#eeeeee" width="45"><div align="center" class="style15">编号</div></td>
<td bgcolor="#eeeeee" width="82"><div align="center" class="style15">报废商品编号</div></td>
<td bgcolor="#eeeeee" width="78"><div align="center" class="style15">报废商品单价</div></td>
<td bgcolor="#eeeeee" width="61"><div align="center" class="style15">报废数量</div></td>
<td bgcolor="#eeeeee" width="109"><div align="center" class="style15">报废说明</div></td>
<td bgcolor="#eeeeee" width="73"><div align="center" class="style15">报废日期</div></td>
<td bgcolor="#eeeeee" width="65"><div align="center" class="style15">操作员</div></td>
<td bgcolor="#eeeeee" width="71"><div align="center" class="style15">修改</div></td>
</tr>
<%if(list.size()==0){ %>
<tr><td bgcolor="#F1F4F8" colspan="9"> <div align="center" class="style7 style6 style11 style15 style14">
<div align="center">没有任何商品信息!!</div>
</div></td>
</tr>
<%}else{
for(int i=0;i<list.size();i++){
RejectShopping sell=(RejectShopping)list.get(i);
%>
<tr>
<td bgcolor="#F1F4F8" width="45"><div align="center" class="style15"><%=sell.getId() %></div></td>
<td bgcolor="#F1F4F8" width="82"><div align="center" class="style15"><a href="../Shopping/ShoppingSelectById?id=<%=sell.getSid()%>&method=see"><%=sell.getSid() %></a></div></td>
<td bgcolor="#F1F4F8" width="78"><div align="center" class="style15"><%=sell.getBprince() %></div></td>
<td bgcolor="#F1F4F8" width="61"><div align="center" class="style15"><%=sell.getBnum() %></div></td>
<td bgcolor="#F1F4F8" width="109"><div align="center" class="style15"><%=sell.getBinfo() %></div></td>
<td bgcolor="#F1F4F8" width="73"><div align="center" class="style15"><%=sell.getBtime() %> </div></td>
<td bgcolor="#F1F4F8" width="65"><div align="center" class="style15"><%=sell.getYid() %></div></td>
<td bgcolor="#F1F4F8" width="71"><div align="center" class="style19 style20"><a href="RejectsSelectByid?id=<%=sell.getId() %>">修改</a></div></td>
</tr><%
}
}
%>
</table>
<%}
%> </td>
</tr>
<%if(session.getAttribute("list")!=null){ %>
<tr>
<td height="30"><div align="right"><span class="style15">
<jsp:include page="../fenye.jsp"/>
</span></div></td>
</tr>
<% }
session.removeAttribute("list");
session.removeAttribute("lastpagenumber");
session.removeAttribute("pagenumber");
session.removeAttribute("d1");
session.removeAttribute("d2");
session.removeAttribute("sid");
%>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -