📄 shoppingselectbyid.jsp
字号:
<%@ page language="java" import="java.util.*,com.jxc.vo.*" pageEncoding="UTF-8"%>
<head>
<style type="text/css">
<!--
.style3 {
font-size: 12px;
font-weight: bold;
}
.style4 {font-size: 12px}
.style6 {font-size: 12px; color: #FF00FF; }
-->
</style></head>
<body bgcolor="#F1F4F8">
<%
if (session.getAttribute("yid")==null) {
%>
<script language=javascript>
window.location.href="../erro.jsp";
</script>
<%} %>
<table width="660" height="480">
<tr>
<td bgcolor="#FFCCFF" width="660" height="30">
<jsp:include flush="true" page="Shopping_top.jsp"/>
</td>
</tr>
<tr>
<td width="660" height="25"><strong><span class="style3"><font color="#CC33CC">---->商品信息查询<----</font></span></strong> <center class="style3">
<strong><font color="#CC33CC">
</font></strong>
</center></td>
</tr>
<tr>
<td width="660" height="25" valign="baseline">
<form action="ShoppingSelectById?method=selectbyid" method="post" name="listpage" class="style4">
<div align="center">请输入商品的编号:
<input name="id" type="text" size="16">
<input type="submit" name="Submit" value="提交检索">
</div>
</form></td>
</tr>
<tr>
<td width="660" height="20" valign="middle">
<div align="center" class="style6">
<%if(session.getAttribute("erro")=="false"){
%>
没有该编号的商品信息!
<%
session.removeAttribute("erro");
}%>
</div></td>
</tr>
<tr>
<td width="660" height="340" valign="baseline">
<%
if(session.getAttribute("shop")!=null){
Shopping shop=new Shopping();
shop=(Shopping)session.getAttribute("shop");
%>
<table width="379" height="221" align="center" bgcolor="#cccccc">
<tr>
<td width="134" height="25" bgcolor="#F1F4F8"><div align="right" class="style3">
<div align="right">商品编号:</div>
</div></td>
<td width="260" height="25" bgcolor="#F1F4F8"><div align="left" class="style4"> <%=shop.getSid() %></div></td>
</tr>
<tr>
<td height="25" bgcolor="#F1F4F8"><div align="right" class="style3">
<div align="right">商品名:</div>
</div></td>
<td height="25" bgcolor="#F1F4F8"><div align="left" class="style4"> <%=shop.getSname() %></div></td>
</tr>
<tr>
<td height="25" bgcolor="#F1F4F8"><div align="right" class="style3">
<div align="right">类别:</div>
</div></td>
<td height="25" bgcolor="#F1F4F8"><div align="left" class="style4"> <%=shop.getStype() %> </div></td>
</tr>
<tr>
<td height="25" bgcolor="#F1F4F8"><div align="right" class="style3">
<div align="right">供货商编号:</div>
</div></td>
<td height="25" bgcolor="#F1F4F8"><div align="left" class="style4"> <%=shop.getGid() %> </div></td>
</tr>
<tr>
<td height="25" bgcolor="#F1F4F8"><div align="right" class="style3">
<div align="right">说明:</div>
</div></td>
<td height="25" bgcolor="#F1F4F8"><div align="left" class="style4"> <%=shop.getSinfo() %> </div></td>
</tr>
<tr>
<td height="25" bgcolor="#F1F4F8"><div align="right" class="style3">
<div align="right">生产厂商:</div>
</div></td>
<td height="25" bgcolor="#F1F4F8"><div align="left" class="style4"> <%=shop.getSsccs() %></div></td>
</tr>
</table>
<%}
session.removeAttribute("shop");
%> </td>
</tr>
<tr>
<td width="660" height="40"> </td>
</tr>
</table>
</body>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -