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

📄 buylist.jsp

📁 仓库管理系统,适合各种行业的仓库管理系统
💻 JSP
字号:
<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*,com.bean.DTO.*" errorPage="" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<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"/>
<link  href="../css/SMSpublic.css" rel="stylesheet" type="text/css"/>
<style type="text/css">
<!--
#Layer1 {
	position:absolute;
	width:183px;
	height:27px;
	z-index:1;
	top: 86px;
	left: 578px;
}
.STYLE1 {color: #9999FF}
-->
</style>
</head>

<body>
<table width="1010" border="0" height="21" bgcolor="#6495ED"cellpadding="0" cellspacing="0" >
  <tr>
<td width="15%"  > <font class="title1 STYLE1">               查 询 采  购  表</font></td>
  </tr>
</table>
<form id="form1" name="form1" method="post" action="/SMS/stockselect.do">
  <table width="800"  border="0" align="center" cellpadding="1" cellspacing="1">
    
    
    <tr bgcolor="#99CCCC" height="25">
      <td colspan="9" class="STYLE18"><span class="smalltitle">查询条件:</span> 
        <select name="select" >
          <option class="STYLE18" value="1" <c:if test="${select.select==1 }">selected="selected"</c:if> >按项目ID查询</option>
          <option class="STYLE18" value="2" <c:if test="${select.select==2 }">selected="selected"</c:if>>按货物ID查询</option>
          <option class="STYLE18" value="3" <c:if test="${select.select==3 }">selected="selected"</c:if>>请选择条件</option>
        </select>
             <span class="smalltitle">输入数字:</span>
      <input type="text" name="number" value="${select.number }"/>
      
        <input name="submit" type="submit" class="button" value="查询"  />
            </td>
    </tr>
    <tr bgcolor="#99CCCC" height="25">
      <td width="11%" class="smalltitle">采购项目ID</td>
      <td width="11%"  class="smalltitle">货物ID</td>
      <td width="11%" class="smalltitle">价格</td>
	  <td width="11%"  class="smalltitle">数量</td>
      <td width="11%"  class="smalltitle">供货商</td>
      <td width="12%"  class="smalltitle">采购时间</td>
      <td width="11%"  class="smalltitle">采购员ID</td>
	  <td width="11%" class="smalltitle">负责人ID</td>
	  <td width="11%" class="smalltitle">审批状态</td>
    </tr>
    <c:forEach var = "dto" items="${list}">
      <tr height="25">
        <td   class="STYLE18">${dto.projectID }</td>
		 <td   class="STYLE18">${dto.productID }</td>
        <td   class="STYLE18">${dto.realprice }</td>
		<td   class="STYLE18">${dto.realamount }</td>
        <td   class="STYLE18">${dto.provider }</td>
        <td  class="STYLE18">${dto.buytime }</td>
        <td   class="STYLE18">${dto.checkerID}</td>
		<td  class="STYLE18">${dto.directorID}</td>
		<c:choose>
		  <c:when test="${dto.stateID==5}">
		  <td   class="STYLE3 STYLE18">通过</td>
          </c:when>
          <c:when test="${dto.stateID==6}">
		  <td   class="STYLE4 STYLE18">未通过</td>
          </c:when>
          <c:otherwise >
          <td   class="STYLE4 STYLE18">未审批</td>
          </c:otherwise>
		</c:choose>
	  </tr>
    </c:forEach>
    <tr height="25">
      <td  colspan="9">             <a href="/SMS/stockselect.do?curpage=1&&select=${select.select }&&number=${select.number }" class="STYLE5">首页</a>    <span class="STYLE7"> <a href="/SMS/stockselect.do?curpage=${urlPage.curpage-1 }&&select=${select.select }&&number=${select.number }" class="STYLE6 STYLE6">上一页</a></span>     <a href="/SMS/stockselect.do?curpage=${urlPage.curpage+1 }&&select=${select.select }&&number=${select.number }" class="STYLE5">下一页</a>    <a href="/SMS/stockselect.do?curpage=${urlPage.totalpage }&&select=${select.select }&&number=${select.number }" class="STYLE5">末页</a>  </td>
    </tr>
  </table>
</form>
</body>
</html>

⌨️ 快捷键说明

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