📄 informlist.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="1020" border="0" height="21" bgcolor="#6495ED"cellpadding="0" cellspacing="0" >
<tr>
<td width="15%" > <span class="title1 STYLE1">采 购 通 知 表</span></td>
</tr>
</table>
<form id="form1" name="form1" method="post" action="">
<table width="800" border="0" align="center" cellpadding="1" cellspacing="1">
<tr bgcolor="#99CCCC">
<td width="11%" height="25" class="smalltitle">采购项目ID</td>
<td width="11%" height="25" class="smalltitle">货物ID</td>
<td width="11%" height="25" class="smalltitle">预算价格</td>
<td width="11%" height="25" class="smalltitle">供货商</td>
<td width="11%" height="25" class="smalltitle">采购时间</td>
<td width="11%" height="25" class="smalltitle">采购员ID</td>
<td width="11%" height="25" class="smalltitle">负责人ID</td>
<td width="11%" height="25" class="smalltitle">采购状态</td>
<td width="12%" height="25" class="smalltitle">操作</td>
</tr>
<c:forEach var = "dto" items="${list}">
<tr>
<td height="25" class="STYLE18">${dto.projectID }</td>
<td height="25" class="STYLE18">${dto.productID }</td>
<td height="25" class="STYLE18">${dto.budgetprice }</td>
<td height="25" class="STYLE18">${dto.provider }</td>
<td height="25" class="STYLE18">${dto.buytime }</td>
<td height="25" class="STYLE18">${dto.checkerID}</td>
<td height="25" class="STYLE18">${dto.directorID}</td>
<td height="25" class="STYLE18">${dto.stateID }</td>
<c:choose>
<c:when test="${dto.stateID==11||dto.stateID==5||dto.stateID==6 }">
<td height="25" class="STYLE3 STYLE18">已采购</td>
</c:when>
<c:when test="${dto.stateID==13}">
<td height="25" class="STYLE4 STYLE18">采购中</td>
</c:when>
<c:otherwise >
<td height="25" class="STYLE18"><input class="button" type="button" value="采 购" onclick="javascript:window.location.href='/SMS/buybegin.do?productID=${dto.productID }&&projectID=${dto.projectID }&&curpage=${urlPage.curpage }'" /></td>
</c:otherwise>
</c:choose>
</tr>
</c:forEach>
<tr>
<td height="26" colspan="9"> <a href="/SMS/informlist.do?curpage=1" class="STYLE5">首页</a> <span class="STYLE7"> <a href="/SMS/informlist.do?curpage=${urlPage.curpage-1 }" class="STYLE6 STYLE6">上一页</a></span> <a href="/SMS/informlist.do?curpage=${urlPage.curpage+1 }" class="STYLE5">下一页</a> <a href="/SMS/informlist.do?curpage=${urlPage.totalpage }" class="STYLE5">末页</a> </td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -