📄 inventoryproductlist.jsp
字号:
<jsp:useBean id="wearhouse" class="src.wuyang.Wearhouse" scope="page"/>
<jsp:useBean id="product" class="src.wuyang.Production" scope="page"/>
<jsp:useBean id="locationstate" class="src.wuyang.LocationState" scope="page"/>
<jsp:useBean id="global" class="src.com.MyGlobal" scope="session"/>
<% if (global.isLogined == false) {
%>
<jsp:forward page="../pub/DBErr.jsp" >
<jsp:param name="rtcode" value="-4" />
</jsp:forward>
<% }
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css.css">
</head>
<% String url = "";
String locationId = request.getParameter("locationId");
String wearhouseId = request.getParameter("wearhouseId");
locationstate.query("locationId='"+locationId+"' and wearhouseId='"+wearhouseId+"'","");
%>
<body bgcolor="#949B93" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="1" height="90%" cellspacing="0" cellpadding="0" align="center" bordercolorlight="#616860" bordercolordark="#CCCCCC" bgcolor="#4c7171" >
<tr>
<td valign="top" >
<blockquote>
<p> </p>
<table width="90%"border="1" cellpadding="0" cellspacing="0" bordercolorlight="#000000" bordercolordark="#CCCCCC">
<tr class="text" bgcolor="#949B93">
<th>仓库名称</td>
<th>货位编码</td>
<th>产品名称</td>
<th>规格/型号</td>
<th>数量</td>
<th>件数</td>
</tr>
<%
while (locationstate.next()>0) {
wearhouse.load(locationstate.getWearhouseId());
product.load(locationstate.getProductId());
%>
<tr class="textb">
<td><%=wearhouse.getWearhouseName()%></td>
<td><%=locationstate.getLocationId()%></td>
<td><a href="InventoryAdjust.jsp?locationId=<%=locationstate.getLocationId()%>&wearhouseId=<%=locationstate.getWearhouseId()%>&productId=<%=locationstate.getProductId()%>"><%=product.getProductName()%></a></td>
<td><%=product.getProductDesc()%></td>
<td><%=locationstate.getQuantity()%></td>
<td><%=locationstate.getCounting() %></td>
</tr>
<%}%>
</table>
</blockquote>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -