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

📄 addstockdetails.jsp

📁 一个汽车售后服务站的典型的进销管理系统,B/S模式的
💻 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"%>
<%@include file="../storejsp/date.jsp" %>

<!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> &gt; 制定采购计划
								&nbsp;&nbsp;<a href="JavaScript:history.go(-1)" class="link">返回</a>
							</span>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td align="center">

				<table width="760" height="150" cellpadding="1" bordercolor="#DCE7E4" border="1" cellspacing="0">
					<caption align="top">
						<span class="STYLE4">
						采购申请单的主要信息
						</span>
					</caption>
					<tr class="verybig" class="TableLine1">
						<th>
							<span class="STYLE4">
							申请单编号
							</span>
						</th>
						<th>
							<span class="STYLE4">
							申请单内容
							</span>
						</th>
					</tr>
					<tr>
						<td align="center" height="60">
							<span class="STYLE4">
							<bean:write name="stock_singleone" property="id" scope="session" />
							</span>
						</td>
						<td align="center" height="60">
							<span class="STYLE4">
							<bean:write name="stock_singleone" property="storeIdea" scope="session" />
							</span>
						</td>
					</tr>
					
					<tr clospan="2">
					<td>
						<html:form action="/addApplyDetails.do">
							<table border="1" align="center" bordercolor="#DCE7E4" cellpadding="1" cellspacing="0">
								<caption align="top">
									填写详细信息
								</caption>
								<tr height="100">
									<td>
										<span class="STYLE4">
										采购零件编号
										</span>
									</td>
									<td>
										<span class="STYLE4">
										<html:text property="accessoryNo"></html:text>
										</span>
									</td>
								</tr>
								<tr class="TableLine1" align="center">
									<td>
										<span class="STYLE4">
										采购零件数量
										</span>
									</td>
									<td>
										<span class="STYLE4">
										<html:text property="stockNum"></html:text>
										</span>
									</td>
								</tr>
								<tr class="TableLine1" align="center">
									<td>
										<span class="STYLE4">
										计划到货时间
										</span>
									</td>
									<td>
										<span class="STYLE4">
										<html:text property="planToTime" onfocus="return calendar();"></html:text>
										</span>
									</td>
								</tr>
								<tr align="center">
									<td>
										<html:submit value="添加"></html:submit>
									</td>
									<td>
										<html:reset value="重填"></html:reset>
									</td>
								</tr>
								<tr colspan="2" class="TableLine1" align="center">
									<td>
										<span class="STYLE4">
										<html:link action="/addDetailsOver.do">添加完成[全部]</html:link>
										</span>
									</td>
								</tr>
							</table>
						</html:form>
						</td>
					</tr>
				</table>

				<script type="text/javascript">
    	function test()
    	{
    	
    		document.forms[0].elements('accessoryNo').value="";
    		document.forms[0].elements('stockNum').value="";
    		document.forms[0].elements('planToTime').value="";
    		
    		<%
    			String infor=(String)request.getAttribute("informations1");
    			if(infor!=null && infor.equals("success"))
    			{
    				out.println("alert('添加成功')");
    				
    			}
    			if(infor!=null && infor.equals("error"))
    			{
    				out.println("alert('添加失败')");
    			}
    		%>
    	}
    </script>
</body>
</html:html>

⌨️ 快捷键说明

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