📄 shownewideasdetails.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" cellpadding="1"
cellspacing="0" align="center">
<caption align="top">
采购申请单的主要信息
</caption>
<tr>
<th>
<span class="STYLE4">申请单编号</span>
</th>
<logic:equal value="searchStoreIdeas" name="currentSession">
<th>
<span class="STYLE4">仓管新意见</span>
</th>
</logic:equal>
<logic:equal value="searchManagerIdeas" name="currentSession">
<th>
<span class="STYLE4">经理新意见</span>
</th>
</logic:equal>
</tr>
<tr>
<td>
<span class="STYLE4"><bean:write name="stock_TBL"
property="id" scope="session" />
</span>
</td>
<logic:equal value="searchStoreIdeas" name="currentSession">
<td>
<span class="STYLE4"><bean:write name="stock_TBL"
property="storeIdea" scope="session" />
</span>
</td>
</logic:equal>
<logic:equal value="searchManagerIdeas" name="currentSession">
<td>
<span class="STYLE4"><bean:write name="stock_TBL"
property="managerIdea" scope="session" />
</span>
</td>
</logic:equal>
</tr>
</table>
<br>
<table border="1" bordercolor="#DCE7E4" cellpadding="1"
cellspacing="0" align="center">
<tr>
<td>
<span class="STYLE4">计划Id</span>
</td>
<td>
<span class="STYLE4">零件Id</span>
</td>
<td>
<span class="STYLE4">采购单Id</span>
</td>
<td>
<span class="STYLE4">采购数量</span>
</td>
<td>
<span class="STYLE4">计划到货Time</span>
</td>
<td>
<span class="STYLE4">操 作</span>
</td>
</tr>
<logic:iterate id="stockaccSet" name="stock_ACC_set"
scope="session">
<html:form action="/updateAdviceBystoreIdea.do"
onsubmit="return checkForm(this);">
<tr>
<td>
<span class="STYLE4"> <html:text property="id"
value="${stockaccSet.id}" readonly="true"></html:text> </span>
</td>
<td>
<span class="STYLE4"> <bean:write name="stockaccSet"
property="accessoryTable.id" /> </span>
</td>
<td>
<span class="STYLE4"> <bean:write name="stockaccSet"
property="stockTable.id" /> </span>
</td>
<td>
<span class="STYLE4"> <html:text property="stockNum"
value="${stockaccSet.stockNum}"></html:text> </span>
</td>
<td>
<span class="STYLE4"> <bean:write name="stockaccSet"
property="planToTime" /> </span>
</td>
<td>
<html:submit value="修 改"></html:submit>
</td>
</tr>
</html:form>
</logic:iterate>
</table>
<br>
<table>
<tr>
<td>
<span class="STYLE4"> <html:link
action="/updateOverOrAddagain.do?method=addAdviceAgain">添加新项</html:link>
|| </span>
</td>
<td>
<span class="STYLE4"> <html:link
action="/updateOverOrAddagain.do?method=updateOver">完成所有修改</html:link>
</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
<script type="text/javascript">
function test()
{
<%
if(session.getAttribute("updateStatus")!=null && session.getAttribute("updateStatus").equals("YES"))
{
out.println("alert('更新建议 成功')");
}
if(session.getAttribute("updateStatus")!=null && session.getAttribute("updateStatus").equals("NO"))
{
out.println("alert('更新建议 失败')");
}
if(session.getAttribute("addNewStatus")!=null && session.getAttribute("addNewStatus").equals("YES"))
{
out.println("alert('添加新项 成功')");
}
if(session.getAttribute("addNewStatus")!=null && session.getAttribute("addNewStatus").equals("NO"))
{
out.println("alert('添加新项 失败')");
}
%>
}
function checkForm(form)
{
if(confirm("您确定要修改该采购项的信息吗?")==true)
{
return true;
}
else
{
return false;
}
}
</script>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -