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

📄 stock_index.jsp

📁 oa rar it is the jsp
💻 JSP
字号:
<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
%>
<html>
	<head>
		<title>采购记录</title>
		<link href="<%=path%>/css/style_2.css" rel="stylesheet">
		
	<script type="text/javascript">
	function mysubmit(items,table){
	var numitem = items.length;
	if (numitem == undefined){            //测试变量。
		window.location.href = "<%=path%>/servlet/SelectFollowServlet?item="+document.forms[0].items.value+"&talname=" + table;
	}else{
	  for(var i = 0; i < numitem; i++){
	     if(items[i].checked){
	    	window.location.href = "<%=path%>/servlet/SelectFollowServlet?item="+items[i].value+"&talname=" + table;
	     }
	 }
	}
		
	}
	</script>
	</head>
	<body background="../images/3.bmp">
		<table width="100%" height="25" border="1" cellpadding="0"
			cellspacing="0" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF"
			bordercolordark="#F9FFF4">
			<tr>
				<td>
					&nbsp;&nbsp;
					<img src="../images/Manual14.gif" width="16" height="16">
					客户管理&nbsp;&gt;&gt;&nbsp;
					<img src="../images/Manual54.gif" width="16" height="16">
					<a href="<%=path%>/customermanage/Stock_Index_Add.jsp"
						target="mainName">添加采购记录</a>
					<hr color="#006699" size="1">
					&nbsp;&nbsp;
					<img src="../images/icon_group.gif" width="15" height="15">
					<a href="<%=path%>/customermanage/Client_Index_Sql.jsp">客户信息</a>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<img src="../images/Manual54.gif" width="16" height="16">
					<a href="<%=path%>/servlet/SelectStcokaddServlet">采购记录</a>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<img src="../images/Manual65.gif" width="16" height="16">
					<a href="#" onclick="mysubmit(document.form1.items,'follow');">跟进记录</a>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<img src="../images/Manual1.gif" width="16" height="16">
					<a href="#" onclick="mysubmit(document.form1.items,'call');">回访记录</a>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<img src="../images/Manual11.gif" width="16" height="16">
					<a href="<%=path%>/servlet/SelectNeedServlet">需求表</a>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<img src="../images/icon_go_left.gif" width="15" height="15">
					<a href="<%=path%>/customermanage/customermanage.jsp">返回</a>
					<hr color="#cccccc" size="1">
				</td>
			</tr>
		</table>
		<form name="form1" method="post">
			<table width="100%" height="80" border="1" cellpadding="0"
				cellspacing="0" bordercolor="#Eff2fb" bordercolordark="#F9F9FB"
				bordercolorlight="#Eff2fb">
				<tr align="center" bgcolor="#Eff2fb">
					<td width="16%" height="26" bgcolor="#Eff2fb">
						采购项目
					</td>
					<td width="31%" height="26">
						采购日期
					</td>
					<td width="22%" height="26">
						采购金额
					</td>
					<td width="11%" height="26">
						备注
					</td>
					<td width="11%">
						操作
					</td>
				</tr>
				<c:if test="${!empty Stcokaddlist}">
					<c:forEach items="${Stcokaddlist}" var="stock" varStatus="status">
						<tr align="center">
							<td height="26" align="left">
								&nbsp;&nbsp;&nbsp;&nbsp;
								<input type="radio" name="items" value="${stock.id }" />
								&nbsp;${stock.money }
							</td>
							<td height="26">
								${stock.datetime }
							</td>
							<td height="26">
								${stock.item }
							</td>
							<td height="26">
								${stock.remark }
							</td>
							<td height="26">
								<a
									href="<%=path%>/servlet/DeleteStockServlet?stockid=${stock.id }"><img
										src="../images/ico/a_delete.gif" width="52" height="16"
										border="0"> </a>
							</td>
						</tr>
					</c:forEach>
				</c:if>
			</table>
		</form>
		<table align="center">

			<tr align="center">
				<td height="26" colspan="6" bgcolor="#EFF3FF">
				<font style='font-size: 9pt'> 【总计<font color='red'>${stockrows }</font>
						条记录】&nbsp;&nbsp;【共<font color='red'>${stockaddtotalpage }</font>页】【5条/页】 【当前第 <font color='red'>${Stcokaddnum }</font>页】
						&nbsp; &nbsp;
					<c:choose>
						<c:when test="${Stcokaddnum <=1 }">
							<img src="../images/1-prev.gif" width="36" height="11" border="0">
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						</c:when>
						<c:otherwise>
							<a
								href="<%=path%>/servlet/SelectStcokaddServlet?topage=${Stcokaddnum-1 }">
								<img src="../images/1-prev.gif" width="36" height="11"
									border="0"> </a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						</c:otherwise>
					</c:choose>
					<c:choose>
						<c:when test="${Stcokaddnum >= stockaddtotalpage}">
							<img src="../images/1-next.gif" width="36" height="11" border="0">
						</c:when>
						<c:otherwise>
							<a
								href="<%=path%>/servlet/SelectStcokaddServlet?topage=${Stcokaddnum+1 }">
								<img src="../images/1-next.gif" width="36" height="11"
									border="0"> </a>
						</c:otherwise>

					</c:choose>
				</td>
			</tr>
		</table>
	</body>
</html>

⌨️ 快捷键说明

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