📄 viewadvicedlist.jsp
字号:
<%@ page language="java" pageEncoding="gb2312"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-template" prefix="template" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-nested" prefix="nested" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html locale="true">
<head>
<html:base />
<title>查看采购计划信息</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="../style1.css" />
<style type="text/css">
<!--
body
{
background-color: #F7F7F7;
}
.STYLE1 {font-size: 18px}
.STYLE4 {font-size: 12px}
.STYLE5 {color: #FF0000}
.STYLE6 {font-size: 12px; color: #FF0000; }
-->
</style>
</head>
<body onload="test()">
<table>
<tr>
<td >
<table width="600" >
<tr>
<td>
<span class="STYLE4">当前位置:<A
href="/CarFitManageSystem/carIndex.jsp">主页</A> > 查看采购单的详细采购信息
<a href="JavaScript:history.go(-1)" class="link">返回</a>
</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center">
<table border="1" bordercolor="#DCE7E4" align="center" cellpadding="1" cellspacing="0">
<caption align="top">采购建议详情列表</caption>
<tr class="verybig" class="TableLine1">
<th align="center">申请单编号</th>
<th align="center">申请提出者</th>
<th align="center">申请时间</th>
<th align="center">申请建议</th>
<th align="center">制定采购计划</th>
</tr>
<logic:equal value="NO" name="isHaveadvice" scope="session">
<tr class="TableLine1" align="center">
<td colspan="5">对 不 起 暂 时 没 有 记 录 !</td>
</tr>
</logic:equal>
<logic:notEqual value="NO" name="isHaveadvice" scope="session">
<logic:iterate id="STOCKADVICE_LIST" name="isHaveadvice" scope="session">
<tr class="TableLine1" align="center">
<td align="center">
<bean:write name="STOCKADVICE_LIST" property="id"/>
</td>
<td align="center">
<bean:write name="STOCKADVICE_LIST" property="storerName"/>
</td>
<td align="center">
<bean:write name="STOCKADVICE_LIST" property="applyTime"/>
</td>
<td align="center">
<bean:write name="STOCKADVICE_LIST" property="storeIdea"/>
</td>
<td align="center">
<html:link action="/viewAdviceList.do" paramId="stocksingleone" paramName="STOCKADVICE_LIST" paramProperty="id">查看详情</html:link>
</td>
</tr>
</logic:iterate>
</logic:notEqual>
</table>
</td>
</tr>
</table>
</body>
<script type="text/javascript">
function test()
{
<%
if(session.getAttribute("stockIsagree")!=null&&session.getAttribute("stockIsagree").equals("yes"))
{
out.println("alert('仓管对采购单及采购项没有意见!')");
}
if(session.getAttribute("stockIsagree")!=null&&session.getAttribute("stockIsagree").equals("no"))
{
out.println("alert('操作失败!')");
}
if(session.getAttribute("storeHaveNewIdea")!=null&& session.getAttribute("storeHaveNewIdea").equals("yes"))
{
out.println("alert('仓管提出了新意见了啦!!')");
}
if(session.getAttribute("managerHaveNewIdea")!=null&& session.getAttribute("managerHaveNewIdea").equals("yes"))
{
out.println("alert('经理提出了新意见了啦!!')");
}
%>
}
</script>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -