⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 productlocationlist.jsp

📁 (Java+SQL)-大型企业JAVA的ERP系统
💻 JSP
字号:
<jsp:useBean id="queryLocation" class="src.wuyang.ProductLocation" scope="session"/>
<jsp:useBean id="wearhouse" class="src.wuyang.Wearhouse" scope="session"/>
<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>
<title>货位列表</title>
<link rel="stylesheet" href="css.css" type="text/css">
</head>

<% 
	int position,state,curPage,totalPage;    
	int numInOnePage = queryLocation.getNumInOnePage();
	queryLocation.listPage(request);
	
	position = queryLocation.listPosition;
        state = queryLocation.state;
        curPage = queryLocation.curPage;
        totalPage = queryLocation.totalPage;
	
%>



<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" class="text">
  <tr> 
    <td valign="top" > 
<br><br>
<form method="post">  <blockquote>
 <table width="88%" border="1" bordercolorlight="#000000" bordercolordark="#CCCCCC"  cellpadding="0" cellspacing="0">            <tr bgcolor="#949b93"> 
              <td class="text"> 
                <div align="center"><b>货位编号</b></div>
              </td>
              <td class="text"> 
                <div align="center"><b>货位描述</b></div>
              </td>
              <td class="text"> 
                <div align="center"><b>仓库名称</b></div>
              </td>
            </tr>
            <%
for(int listCount = 0 ; listCount < numInOnePage && (queryLocation.next() > 0); listCount++) {		
	wearhouse.load(queryLocation.getWearhouseId());
%>
            <tr> 
              <td class="textb"><%= queryLocation.getLocationId() %></td>
              <td class="textb"><%= queryLocation.getLocationDesc() %></td>
              <td class="textb"><%= wearhouse.getWearhouseName() %></td>
            </tr>
            <%}%>
            <p> 
              <%if (position==0&&state==0){ %>
              页码 <%=curPage %>&nbsp/&nbsp<%=totalPage%> 
              <% } else if (position==0&&state==2){ %>
              <a href="ProductLocationList.jsp?browseMode=next&position=<%=position%>&curPage=<%=curPage%>">下一页</a>&nbsp&nbsp&nbsp页码 
              <%=curPage %>&nbsp/&nbsp<%=totalPage%> 
              <% } else if (position>0&&state==-1){ %>
              <a href="ProductLocationList.jsp?browseMode=previous&position=<%=position%>&curPage=<%=curPage%>">上一页</a>&nbsp&nbsp&nbsp&nbsp&nbsp页码 
              <%=curPage%>&nbsp/&nbsp<%=totalPage%> 
              <% } else if (position>0&&state==1){ %>
              <a href="ProductLocationList.jsp?browseMode=previous&position=<%=position%>&curPage=<%=curPage%>">上一页</a>&nbsp&nbsp<a href="ProductLocationList.jsp?browseMode=next&position=<%=position%>&curPage=<%=curPage%>">下一页</a>&nbsp&nbsp页码 
              <%=curPage %>&nbsp/&nbsp<%=totalPage%> 
              <% } %>
          </table>
        </blockquote>
</form>
</td>
</tr>
</table>
</body>
</html>



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -