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

📄 approve.jsp

📁 仓库管理系统,适合各种行业的仓库管理系统
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" 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=gb2312" />
<title>无标题文档</title>

<link href="<%=request.getContextPath()%>/css/SMSpublic.css" rel="stylesheet" type="text/css" />


</head>

<body>
<form id="form1" name="form1" method="post" action="produceapprove.do?curpage=${urlPage.curpage}">
  <table width="93%"  border="0" align="center" cellpadding="1" cellspacing="1">
   
    
    <tr bgcolor="#99CCCC">
      <td height="32" colspan="7" class="title2">                     <span class="title1">申 购 审 批</span> </td>
    </tr>
    <tr bgcolor="#99CCCC">
     <td width="11%" height="32" class="title2">货物ID</td>
      <td width="11%" height="32" class="title2">采购数量</td>
      <td width="11%" height="32" class="title2">申请人ID</td>
      <td width="11%" class="title2">新增时间</td>
	  <td width="11%" height="32" class="title2">审批状态</td>
      <td width="11%" class="title2">审批</td>
      <td width="11%" height="32" class="title2">审批</td>
    </tr>
    <c:forEach var = "dto" items="${list}">
      <tr>
      <td height="30" class="STYLE18"><input type="hidden" name="productID" value="${dto.productID }" />${dto.productID }</td>
        <td  height="30" class="STYLE18">${dto.buyamount }</td>
        <td height="30" class="STYLE18">${dto.applicantID }</td>
        <td class="STYLE18"><input type="hidden" name="apptime" value="${dto.apptime} " />${dto.apptime}</td>
		<td height="30" class="STYLE18">${dto.stateID }</td>
		
		<c:choose>
		  <c:when test="${dto.stateID==5 }">
		  <td height="30" class="title2"   >通    过</td>
		  <td height="30" class="title2"   >通    过</td>
          </c:when>
          <c:when test="${dto.stateID==6 }">
		  <td height="30" class="title2">未通过</td>
          <td height="30" class="title2">未通过</td>
          </c:when>
          <c:otherwise >
          <td height="30" class="STYLE18"><input name="approve" type="submit" class="button" id="approve"  value="批 准" /></td>
          <td height="30" class="STYLE18"><input class="button" type="button" value="不批准" onclick="javascript:window.location.href='/SMS/producelist.do?curpage=${urlPage.curpage }&&field=1'"/></td>
          </c:otherwise>
		</c:choose>
      </tr>
    </c:forEach>
    <tr>
      <td height="26" colspan="7">             <a href="/SMS/producelist.do?curpage=1&&field=1" class="title2">首页</a>    <span class="STYLE7"> 
	  <a href="/SMS/producelist.do?curpage=${urlPage.curpage-1 }&&field=1" class="title2">上一页</a></span>     
	  <a href="/SMS/producelist.do?curpage=${urlPage.curpage+1 }&&field=1" class="title2">下一页</a>    
	  <a href="/SMS/producelist.do?curpage=${urlPage.totalpage }&&field=1" class="title2">末页</a>  </td>
    </tr>
  </table>
</form>
</body>
</html>

⌨️ 快捷键说明

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