📄 shengoushenpi.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">
<!--
.STYLE4 {color: red}
.STYLE5 {color: #9999FF}
.STYLE7 {color: #66CCFF}
-->
</style>
</head>
<body>
<table width="1010" border="0" height="33" bgcolor="#99FFCC"cellpadding="0" cellspacing="0" >
<tr>
<td width="15%" > <font class="title1 STYLE7"> </font><span class="title1 STYLE7">申 购 表 审 批</span></td>
</tr>
</table>
<form id="form1" name="form1" method="post" action="">
<table width="93%" border="0" align="center" cellpadding="1" cellspacing="1">
<tr bgcolor="#99CCCC">
<td width="12%" height="25" class="STYLE18">采购项目ID</td>
<td width="13%" height="25" class="smalltitle">货物ID</td>
<td width="13%" height="25" class="STYLE18">采购数量</td>
<td width="13%" height="25" class="smalltitle">申请人ID</td>
<td width="13%" height="25" class="smalltitle">申请时间</td>
<td width="12%" height="25" class="smalltitle">申请主管ID</td>
<td width="12%" 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.buyamount }</td>
<td height="25" class="STYLE18">${dto.applicantID }</td>
<td height="25" class="STYLE18">${dto.apptime }</td>
<td height="25" class="STYLE18">${dto.appdirctorID }</td>
<c:choose>
<c:when test="${dto.stateID==5 }">
<td height="25" class="font STYLE18" >审批通过</td>
<td height="25" class="STYLE18 font" >审批通过</td>
</c:when>
<c:when test="${dto.stateID==6 }">
<td height="25" class="STYLE4 STYLE18">审批未过</td>
<td height="25" class="STYLE4 STYLE18">审批未过</td>
</c:when>
<c:when test="${dto.stateID==9 }">
<td height="25" class="STYLE18"><input class="button" type="button" value="批 准" onclick="javascript:window.location.href='caigouxitong/informadd.jsp?productID=${dto.productID }&&projectID=${dto.projectID }&&curpage=${urlPage.curpage }'" /></td>
<td height="25" class="STYLE18"><input class="button" type="button" value="不批准" onclick="javascript:window.location.href='/SMS/shengoufailure.do?curpage=${urlPage.curpage }&&productID=${dto.productID }&&projectID=${dto.projectID }'"/></td>
</c:when>
<c:otherwise>
<td height="25" class="STYLE4 STYLE18">无效申购</td>
<td height="25" class="STYLE4 STYLE18">无效申购</td>
</c:otherwise>
</c:choose>
</tr>
</c:forEach>
<tr>
<td height="25" colspan="15" class="STYLE18">
<a href="/SMS/shengoushenpi.do?curpage=1" class="STYLE5">首页</a>
<a href="/SMS/shengoushenpi.do?curpage=${urlPage.curpage-1 }" class="STYLE5">上一页</a>
<a href="/SMS/shengoushenpi.do?curpage=${urlPage.curpage+1 }" class="STYLE5">下一页</a>
<a href="/SMS/shengoushenpi.do?curpage=${urlPage.totalpage }" class="STYLE5">末页</a> </td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -