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

📄 updateoutplan.jsp

📁 oa rar it is the jsp
💻 JSP
字号:
<%@ page language="java" import="java.util.*"
	contentType="text/html; charset=GBK"%>
	<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


<HTML>
	<HEAD>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<link href="../css/style1.css" rel="stylesheet">
		<link href="<%=request.getContextPath()%>/css/style_2.css" rel="stylesheet">
	</HEAD>
	<body>
	<script language="javascript">
<!--	
	function checkout(){
		if(form1.name.value==""){
			window.alert("请填写名称");
			return false;
		}
		if(form1.number.value==""){
			window.alert("请填写数量");
			return false;
		}
		if(form1.money.value==""){
			window.alert("请填写金额");
			return false;
		}
		if(form1.dime.value==""){
			window.alert("请填写折旧情况");
			return false;
		}
		if(form1.type.value==""){
			window.alert("请填写类型");
			return false;
		}
		if(form1.unit.value==""){
			window.alert("请填写计量单位");
			return false;
		}
		if(form1.boss.value==""){
			window.alert("请填写供应商");
			return false;
		}
	}
-->
</script>
	<table width="90%" border="0" align="center">
		<tr>
			<td height="24" align="left" valign="bottom" scope="col">
				物资出库清单
			</td>
		</tr>
	</table>

	<HR>
	<c:forEach items="${plans}" var="plan" begin="${index}" end="${index}">
	<form action="<%=path %>/servlet/Add_Delete_in_out_swate_planServlet" method="post" target="bottomFrame" name="form1">
		<table width="100%" border="0" cellpadding="0" cellspacing="0"
			align="center">

			<tr>
				<td width="15%" rowspan="5" align="center" 
					scope="col"></td>
				<td height="25" colspan="6" align="right" 
					scope="col"></td>
				<td width="15%" rowspan="5" align="center" 
					scope="col"></td>
			</tr>
			<tr align="center">
				<td width="10%" height="25" align="right" 
					scope="col">
					物资名称
				</td>
				<td width="2%" rowspan="4"  scope="col"></td>
				<td width="20%" align="left"  scope="col">
					<input type="hidden" name="editPlan" value="${plan.id }">
					<input type="text" name="name" value="${plan.name }" readonly="true">
					<input type="hidden" name="planing" value="${plan.planing}">
				</td>
				<td width="10%" align="right"  scope="col">
					所属类别
				</td>
				<td width="2%" rowspan="4"  scope="col"></td>
				<td width="21" align="left"  scope="col">
					<input type="text" name="type" size="10" value="${plan.type }" readonly="true">
				</td>
			</tr>
			<tr align="center">
				<td height="25" align="right"  scope="col">
					数量
				</td>
				<td align="left"  scope="col">
					<input type="text" size="15" name="number" value="${plan.numbers }">
				</td>
				<td align="right"  scope="col">
					计量单位
				</td>
				<td align="left"  scope="col">
					<input type="text" size="10" name="unit" value="${plan.untils }" readonly="true">
				</td>
			</tr>
			<tr align="center">
				<td height="25" align="right"  scope="col">
					金额
				</td>
				<td align="left"  scope="col">
					<input type="text" size="20" name="money" value="${plan.money }">
				</td>
				<td align="right"  scope="col">
					供应商
				</td>
				<td align="left"  scope="col">
					<select name="boss">
						<option value="">
							--请选择--
						</option>
						<c:if test="${! empty bosses}">
							<c:forEach items="${bosses}" var="boss">
								<option value="${boss.name}">
									${boss.name}
								</option>
							</c:forEach>
						</c:if>
					</select>

				</td>
			</tr>
			<tr align="center">
				<td height="25" align="right"  scope="col">
					折旧情况
				</td>
				<td align="left" scope="col">
					<select name="dime">
						<option value="">
							--请选择--
						</option>
						<option value="新">
						</option>
						<option value="旧">
						</option>
					</select>
				</td>
				<td  scope="col"></td>
				<td  scope="col"></td>
			</tr>
			<tr align="center">
				<td height="25" colspan="8" bgcolor="#E7E8FE" scope="col">
					<input type="submit" name="sumbit" value="  修  改   "
						onClick="return checkout()">
				</td>
			</tr>
		</table>
	</form>
	</c:forEach>
	</body>
</HTML>

⌨️ 快捷键说明

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