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

📄 buyedit.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">
<!--
.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="caigouxitong/buyadd.jsp">
  <table width="800"  border="0" align="center" cellpadding="1" cellspacing="1">
   
    
    <tr bgcolor="#99CCCC" height="25">
      <td width="10%"  class="smalltitle">采购项目</td>
      <td width="10%"  class="smalltitle">货物ID</td>
      <td width="10%" class="smalltitle">价格</td>
	  <td width="10%"  class="smalltitle">数量</td>
      <td width="10%"  class="smalltitle">供货商</td>
      <td width="10%"  class="smalltitle">采购时间</td>
      <td width="11%" class="smalltitle">采购员ID</td>
	  <td width="10%"  class="smalltitle">负责人ID</td>
	  <td width="10%" class="smalltitle">操作</td>
	  <td width="10%" 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  h class="STYLE18">${dto.directorID}</td>
		<c:choose>
		  <c:when test="${dto.stateID==5}">
		  <td class="STYLE3 STYLE18">通过</td>  
		 <td class="STYLE18"><input class="button" type="button" value="删除" onclick="javascript:window.location.href='/SMS/delbuy.do?productID=${dto.productID }&&projectID=${dto.projectID }&&curpage=${urlPage.curpage }'" /></td> 
		  </c:when>
          <c:when test="${dto.stateID==6}">
		  <td  class="STYLE4 STYLE18">未通过</td>
           <td h class="STYLE18"><input class="button" type="button" value="删除" onclick="javascript:window.location.href='/SMS/delbuy.do?productID=${dto.productID }&&projectID=${dto.projectID }&&curpage=${urlPage.curpage }'" /></td> 
          </c:when>
          <c:otherwise >
          <td  class="STYLE18"><input class="button" type="button" value="修改" onclick="javascript:window.location.href='caigouxitong/beginbuyedit.jsp?productID=${dto.productID }&&projectID=${dto.projectID }&&curpage=${urlPage.curpage }'"/></td>
		  <td  class="STYLE18"><input class="button" type="button" value="删除" onclick="javascript:window.location.href='/SMS/delbuy.do?productID=${dto.productID }&&projectID=${dto.projectID }&&curpage=${urlPage.curpage }'" /></td>
          </c:otherwise>
		</c:choose>
	  </tr>
    </c:forEach>
    <tr height="25">
      <td  colspan="11">        
        <input class="button" type="submit" name="Submit" value="添 加" />
                   <a href="/SMS/buyedit.do?curpage=1" class="STYLE5">首页</a>    <span class="STYLE7"> <a href="/SMS/buyedit.do?curpage=${urlPage.curpage-1 }" class="STYLE6 STYLE6">上一页</a></span>     <a href="/SMS/buyedit.do?curpage=${urlPage.curpage+1 }" class="STYLE5">下一页</a>    <a href="/SMS/buyedit.do?curpage=${urlPage.totalpage }" class="STYLE5">末页</a>  </td>
    </tr>
  </table>
</form>
</body>
</html>

⌨️ 快捷键说明

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