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

📄 schselordrpt.jsp

📁 阳光超市管理系统 阳光超市管理系统(07.6.12
💻 JSP
字号:
<%@ page language="java" pageEncoding="gb2312"%>
<html>
	<head>
		<title>商品销售排行报表</title>
		<script src="/supermarket/comm/Calendar.js""></script>
		<script langauge="javascript">
			function notNull(fieldname,string){
			if(string.value==""){
			alert(fieldname+"不能为空");
			string.focus();
			return false;
			}
			else
			return true;
			}
			
			function validform(){
			if(notNull("统计起始日期",document.searchform.fromdate)
			 &&notNull("统计终止日期",document.searchform.todate))
			{ return true;}
			else
			return false;
			}
		</script>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<style type="text/css">
			<!--
			td{font-family:Tahoma;font-size:15px;}
			a{text-decoration:none;}
			a:hover{text-decoration:underline;}
			body {
				background-image: url(../image/backgrounds.jpg);
			}
			-->
		</style>
	</head>
	

<body text="#666666">
<div id="Layer1" style="position:absolute; left:66px; top:15px; width:450px; height:305px; z-index:1">
<table width="440" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td width="25"><img src="../image/obj_sba1.gif" width="25" height="25"></td>
            <td width="81"><img src="../image/obj_sba_topics.gif" width="81" height="25"></td>
            <td width="319"><img src="../image/obj_sba2.gif" width="339" height="25"></td>
            <td width="15"><img src="../image/obj_sba3.gif" width="15" height="25"></td>
          </tr>
</table>
			<p>
			<form action="FinanceServlet" method="POST" name="searchform"
				onSubmit="return validform()">
				查询日期:
				<input type="text" name="fromdate" size=13 onClick="setDay(this);" readonly>
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 至:
				<input type="text" name="todate" size=13 onClick="setDay(this);" readonly>
				<p>
				统计标准:
				<select name="OrderStandard" style="width:100px">
					<option value="销售数量">
						销售数量
					</option>
					<option value="交易总额">
						交易总额
					</option>
				</select>
				<p>
				统计类型:
				<select name="OrderStyle" style="width:100px">
					<option value="升序">
						升序
					</option>
					<option value="降序">
						降序
					</option>
				</select>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="submit" value="查找">
				<input type="hidden" value="select_ord" name="action">
			</form>
			<%
				String success = (String) request.getAttribute("success");
				if ("failue".equals(success)) {
			%>
			<script language="javascript">
			alert("没有符合条件的记录,查询条件为:\n统计日期:<%=request.getParameter("fromdate")%> 至 <%=request.getParameter("todate")%>");
			</script>
			<%
				request.removeAttribute("success");
				}
			%>
	<table width="440" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td width="25"><img src="../image/obj_sba1.gif" width="25" height="25"></td>
            <td width="81"><img src="../image/obj_sba_topics.gif" width="81" height="25"></td>
            <td width="319"><img src="../image/obj_sba2.gif" width="339" height="25"></td>
            <td width="15"><img src="../image/obj_sba3.gif" width="15" height="25"></td>
          </tr>
</table>
</div>	
	</body>
</html>

⌨️ 快捷键说明

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