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

📄 roombuyinfo_cx.jsp

📁 JSP移动商品管理平台源代码.........
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*,java.util.*,imis_hous.com.impl.*" errorPage="" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
</head>

		<script language="JavaScript" src="/Imis/imis_hous/jf/checkdata.js">
</script>
<link href="/Imis/imis_hous/css/style.css"  rel="stylesheet" type="text/css">
<script type="text/javascript">
        	function checkTwoDate( StartDate,EndDate ) { 
        				var StartDate = document.form1.J_RoomBuyDate.value;
        				var EndDate = document.form1.J_RoomBuyDateed.value;
							 	if( StartDate > EndDate ) { 
                                alert("用结束日期不能大于开始日期!"); 
                                return false; 
                               } 
                                return true; 
                               } 
 </script>
<body background="/Imis/imis_hous/css/images/bg_main.png">
<table align="center" width="100%"   class="ziti">
  <tr>
    <td colspan="3" height="20"  background="/Imis/imis_hous/css/images/bg_main2.png"><font color="#000000">房屋购置查询</font></td>
    </tr>
  </table>
<form name="form1" method="post" action="/Imis/servlet/roomBuyInfoPage?currentPage=1" target="blank" onsubmit="return checkTwoDate()">
 
 <table align="center" width="100%"  border="0" class="ziti" background="/Imis/imis_hous/css/images/bg_main.png">
  <tr>
      <td width="382"><div align="right">购置房屋名称:</div></td>
      <td>
      <select name="J_RoomInfo" class="text1"> 
      <option selected value="0">所有</option>       
       <%
        HashMap hashDept = new GetBuildName().getDepartment("RoomInfo","RoomInfo","RoomBuyInfo");
        int length = hashDept.size();
		String []deptName = new String[length];//部门数组
		String []deptId= new String[length];//部门用房面积数组
	
		Iterator itDeptId = hashDept.keySet().iterator();//键迭代
		Iterator itDeptName = hashDept.values().iterator();//值迭代
		int i=0;
		while(itDeptId.hasNext()){
			deptId[i] = itDeptId.next().toString();
			i++;
		}
		i=0;
		while(itDeptName.hasNext()){
			deptName[i] = itDeptName.next().toString();
			i++;
		}
			
			for(int j=0;j<length;j++ ){
         	%>
         	<option value=<%=deptId[j]%>><%= deptName[j] %></option>
         <% }%>
</select>
      </td>
    </tr>
    <tr>
      <td><div align="right">购置日期范围 从:</div></td>
      <td width="389"><input name="J_RoomBuyDate" id="J_RoomBuyDate" size="10" maxlength="10" readonly="readonly" type="text" class="text1" onMouseDown="javascript:setday(form1.J_RoomBuyDate);"/></td>
    </tr>
     <tr>
      <td><div align="right">到:</div></td>
      <td width="389"><input name="J_RoomBuyDateed" id="J_RoomBuyDateed" size="10" maxlength="10" readonly="readonly" type="text" class="text1" onMouseDown="javascript:setday(form1.J_RoomBuyDateed);"/></td>
    </tr>
	<tr>
	<td>&nbsp;&nbsp;</td>
	<td>&nbsp;&nbsp;</td>
	</tr>
    <tr>
      <td colspan="2"><div align="right"></div>        
        <div align="center">
          <input type="submit" name="Submit" value="查   询" class="anniu">
      </div></td>
    </tr>
  </table>
</form>

</body>
</html>

⌨️ 快捷键说明

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