📄 modifyemptyinput.jsp
字号:
<%Vector keynovec=(Vector)request.getAttribute("keynovec");%>
<%Vector keysubareavec=(Vector)request.getAttribute("keysubareavec");%>
<%Vector keybuildingvec=(Vector)request.getAttribute("keybuildingvec");%>
<%Vector keystairvec=(Vector)request.getAttribute("keystairvec");%>
<%Vector keyfloorvec=(Vector)request.getAttribute("keyfloorvec");%>
<%Vector keycellvec=(Vector)request.getAttribute("keycellvec");%>
<%String temp1="";%>
<%String address="";%>
<%String year1="";%>
<%String month1="";%>
<%String day1="";%>
<% if(usedate.length()==10){
year1=usedate.substring(0,4);
month1=usedate.substring(5,7);
day1=usedate.substring(8,10);
}%>
<%
session = request.getSession(false);
String persname = (String) session.getValue("persname");
%>
</head>
<body leftMargin="0" topMargin="0" vLink="#003399" marginwidth="0" marginheight="0" background="/pmsApp/images/bg2.gif" onLoad="document.form1.keysubarea.focus();MM_preloadImages('/pmsApp/images/button_save_over.gif','/pmsApp/images/button_all_over.gif','/pmsApp/images/button_del_over.gif','/pmsApp/images/button_new_over.gif')" >
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" height="396">
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td background="/pmsApp/images/toolbar2.gif" valign="top" height="28"><img src="/pmsApp/images/blank.gif" width="10" height="1"><img src="/pmsApp/images/button_new_gray.gif" width="55" height="20"><img name="Image10" border="0" src="/pmsApp/images/button_modify_gray.gif" width="55" height="20" alt="修改选定的数据"><a href="javascript:handleForm3('<%=pageindex%>','<%=retrieveindex%>','<%=retrievecon%>','<%=retrievecom%>','<%=selectnum%>','<%=pagecount%>','<%=number%>')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image11','','/pmsApp/images/button_del_over.gif',1)" ><img name="Image11" border="0" src="/pmsApp/images/button_del.gif" width="55" height="20" alt="删除数据"></a><img src="/pmsApp/images/button_split.gif" width="8" height="20"><img name="Image13" border="0" src="/pmsApp/images/button_query_gray.gif" width="55" height="20" alt="条件检索"><img src="/pmsApp/images/button_split.gif" width="8" height="20"></td>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="/pmsApp/images/tab_left.gif" width="3" height="25"></td>
<td width="100%" background="/pmsApp/images/tab_mid.gif" height="25">
<table width="400" border="0" cellspacing="0" cellpadding="0">
<tr align="center">
<td width="100" background="/pmsApp/images/tab_down.gif" height="25"><a href="/pmsApp/servlet/common.PMS?txId=4306&inputString=""">空置房记录</a></td>
<td width="100" background="/pmsApp/images/tab_down_left.gif"><a href="/pmsApp/utility/empty/AddEmptyRoomInput.jsp">空置房登记</a></td>
<td width="100" background="/pmsApp/images/tab_up.gif" height="25">空置房使用记录</td>
<td width="100" background="/pmsApp/images/tab_down_right.gif"><a href="javascript:handleForm4('2','0','0','0','','','0','0')">空置房使用登记</a></td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<% if(number.equals("0")){%>
<table width="80%" border="1" align="center" bgcolor="#d4d0c8" bordercolorlight="#808080" bordercolordark="#FFFFFF" cellspacing="0" cellpadding="2">
<tr>
<td align="center" width="100%" height="40" bgcolor="#FFFFFF">
<p><font font-size:12px">请选择一条记录</font></p>
</td>
</tr>
<tr>
<td align="center"><a href="/pmsApp/servlet/common.PMS?txId=4311&inputString=""" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image2','','/pmsApp/images/button_back_over.gif',1)"><img name="Image2" border="0" src="/pmsApp/images/button_back.gif" width="55" height="20"></a></td>
</tr>
</table>
<%}else {%>
<%address=subarea+building+stair+floor+cell;%>
<%for (int i=0;i<keynovec.size();i++){%>
<% if(address.equals(((String)keysubareavec.elementAt(i))+((String)keybuildingvec.elementAt(i))+((String)keystairvec.elementAt(i))+((String)keyfloorvec.elementAt(i))+((String)keycellvec.elementAt(i)))){
temp1="ok";
}
} %>
<%if(temp1.equals("ok")){%>
<table width="350" border="1" align="center" bgcolor="#FFFFFF" bordercolorlight="#808080" bordercolordark="#FFFFFF" cellspacing="0" cellpadding="0" height="22">
<tr>
<td align="center" bgcolor="#eeffee">修改空置房使用记录</td>
</tr>
</table>
<FORM id="form1" name="form1">
<table width="98%" border="1" align="center" bordercolorlight="#808080" bordercolordark="#FFFFFF" cellspacing="0" cellpadding="0">
<input type="hidden" name="pageindex" value="<%=pageindex%>">
<input type="hidden" name="retrieveindex" value="<%=retrieveindex%>">
<input type="hidden" name="retrievecon" value="<%=retrievecon%>">
<input type="hidden" name="retrievecom" value="<%=retrievecom%>">
<input type="hidden" name="selectnum" value="<%=selectnum%>">
<input type="hidden" name="pagecount" value="<%=pagecount%>">
<input type="hidden" name="number" value="<%=number%>">
<tr>
<td align="center" bgcolor="#d4d0c8" width="26%" height="18">小 区</td>
<td width="74%" height="18">
<select name="keysubarea" onChange="javascript:keepsame(document.form1.keysubarea)">
<%for (int i=0;i<keynovec.size();i++){%>
<option value="<%=(String)keysubareavec.elementAt(i)%>"><%=(String)keysubareavec.elementAt(i)%></option>
<%}%>
</select>
<font color=#FF3300>*</font></td>
</tr>
<tr>
<td align="center" bgcolor="#d4d0c8" width="26%" height="18">楼</td>
<td width="74%" height="18">
<select name="keybuilding" onChange="javascript:keepsame(document.form1.keybuilding)">
<%for (int i=0;i<keynovec.size();i++){%>
<option value="<%=(String)keybuildingvec.elementAt(i)%>"><%=(String)keybuildingvec.elementAt(i)%></option>
<%}%>
</select>
<font color=#FF3300>*</font></td>
</tr>
<tr>
<td align="center" bgcolor="#d4d0c8" width="26%" height="18">梯 口</td>
<td width="74%" height="18">
<select name="keystair" onChange="javascript:keepsame(document.form1.keystair)">
<%for (int i=0;i<keynovec.size();i++){%>
<option value="<%=(String)keystairvec.elementAt(i)%>"><%=(String)keystairvec.elementAt(i)%></option>
<%}%>
</select>
<font color=#FF3300>*</font></td>
</tr>
<tr>
<td align="center" bgcolor="#d4d0c8" width="26%" height="18">楼 层</td>
<td width="74%" height="18">
<select name="keyfloor" onChange="javascript:keepsame(document.form1.keyfloor)">
<%for (int i=0;i<keynovec.size();i++){%>
<option value="<%=(String)keyfloorvec.elementAt(i)%>"><%=(String)keyfloorvec.elementAt(i)%></option>
<%}%>
</select>
<font color=#FF3300>*</font></td>
</tr>
<tr>
<td align="center" bgcolor="#d4d0c8" width="26%" height="18">单 元</td>
<td width="74%" height="18">
<select name="keycell" onChange="javascript:keepsame(document.form1.keycell)">
<%for (int i=0;i<keynovec.size();i++){%>
<option value="<%=(String)keycellvec.elementAt(i)%>"><%=(String)keycellvec.elementAt(i)%></option>
<%}%>
</select>
<font color=#FF3300>*</font></td>
</tr>
<tr>
<td align="center" bgcolor="#d4d0c8" width="26%" height="18">使用类型</td>
<td width="74%" height="18">
<select name="usetype">
<%if (usetype.equals("维护")){%><option value="维护" selected >维护</option><%}else{%><option value="维护">维护</option><%}%>
<%if (usetype.equals("使用")){%><option value="使用" selected >使用</option><%}else{%><option value="使用">使用</option><%}%>
<%if (usetype.equals("交回")){%><option value="交回" selected >交回</option><%}else{%><option value="交回">交回</option><%}%>
</select>
<font color=#FF3300>*</font></td>
</tr>
<tr>
<td align="center" bgcolor="#d4d0c8" width="26%" height="17">使用单位</td>
<td width="74%" height="17">
<input type="text" name="usedept" maxlength="30" value="<%=usedept%>">
</td>
</tr>
<tr>
<td align="center" bgcolor="#d4d0c8" width="26%" height="17">使用日期</td>
<td width="74%" height="17">
<select name="select1">
<%if (year1.equals("2001")){%><option value="2001" selected >2001</option><%}else{%><option value="2001">2001</option><%}%>
<%if (year1.equals("2002")){%><option value="2002" selected >2002</option><%}else{%><option value="2002">2002</option><%}%>
<%if (year1.equals("2003")){%><option value="2003" selected >2003</option><%}else{%><option value="2003">2003</option><%}%>
<%if (year1.equals("2004")){%><option value="2004" selected >2004</option><%}else{%><option value="2004">2004</option><%}%>
<%if (year1.equals("2005")){%><option value="2005" selected >2005</option><%}else{%><option value="2005">2005</option><%}%>
<%if (year1.equals("2006")){%><option value="2006" selected >2006</option><%}else{%><option value="2006">2006</option><%}%>
<%if (year1.equals("2007")){%><option value="2007" selected >2007</option><%}else{%><option value="2007">2007</option><%}%>
<%if (year1.equals("2008")){%><option value="2008" selected >2008</option><%}else{%><option value="2008">2008</option><%}%>
<%if (year1.equals("2009")){%><option value="2009" selected >2009</option><%}else{%><option value="2009">2009</option><%}%>
<%if (year1.equals("2010")){%><option value="2010" selected >2010</option><%}else{%><option value="2010">2010</option><%}%>
</select>年
<select name="select2">
<%if (month1.equals("01")){%><option value="01" selected >01</option><%}else{%><option value="01">01</option><%}%>
<%if (month1.equals("02")){%><option value="02" selected >02</option><%}else{%><option value="02">02</option><%}%>
<%if (month1.equals("03")){%><option value="03" selected >03</option><%}else{%><option value="03">03</option><%}%>
<%if (month1.equals("04")){%><option value="04" selected >04</option><%}else{%><option value="04">04</option><%}%>
<%if (month1.equals("05")){%><option value="05" selected >05</option><%}else{%><option value="05">05</option><%}%>
<%if (month1.equals("06")){%><option value="06" selected >06</option><%}else{%><option value="06">06</option><%}%>
<%if (month1.equals("07")){%><option value="07" selected >07</option><%}else{%><option value="07">07</option><%}%>
<%if (month1.equals("08")){%><option value="08" selected >08</option><%}else{%><option value="08">08</option><%}%>
<%if (month1.equals("09")){%><option value="09" selected >09</option><%}else{%><option value="09">09</option><%}%>
<%if (month1.equals("10")){%><option value="10" selected >10</option><%}else{%><option value="10">10</option><%}%>
<%if (month1.equals("11")){%><option value="11" selected >11</option><%}else{%><option value="11">11</option><%}%>
<%if (month1.equals("12")){%><option value="12" selected >12</option><%}else{%><option value="12">12</option><%}%>
</select>月
<select name="select3">
<%if (day1.equals("01")){%><option value="01" selected >01</option><%}else{%><option value="01">01</option><%}%>
<%if (day1.equals("02")){%><option value="02" selected >02</option><%}else{%><option value="02">02</option><%}%>
<%if (day1.equals("03")){%><option value="03" selected >03</option><%}else{%><option value="03">03</option><%}%>
<%if (day1.equals("04")){%><option value="04" selected >04</option><%}else{%><option value="04">04</option><%}%>
<%if (day1.equals("05")){%><option value="05" selected >05</option><%}else{%><option value="05">05</option><%}%>
<%if (day1.equals("06")){%><option value="06" selected >06</option><%}else{%><option value="06">06</option><%}%>
<%if (day1.equals("07")){%><option value="07"selected >07</option><%}else{%><option value="07">07</option><%}%>
<%if (day1.equals("08")){%><option value="08" selected >08</option><%}else{%><option value="08">08</option><%}%>
<%if (day1.equals("09")){%><option value="09" selected >09</option><%}else{%><option value="09">09</option><%}%>
<%if (day1.equals("10")){%><option value="10" selected >10</option><%}else{%><option value="10">10</option><%}%>
<%if (day1.equals("11")){%><option value="11" selected >11</option><%}else{%><option value="11">11</option><%}%>
<%if (day1.equals("12")){%><option value="12" selected >12</option><%}else{%><option value="12">12</option><%}%>
<%if (day1.equals("13")){%><option value="13" selected >13</option><%}else{%><option value="13">13</option><%}%>
<%if (day1.equals("14")){%><option value="14" selected >14</option><%}else{%><option value="14">14</option><%}%>
<%if (day1.equals("15")){%><option value="15" selected >15</option><%}else{%><option value="15">15</option><%}%>
<%if (day1.equals("16")){%><option value="16" selected >16</option><%}else{%><option value="16">16</option><%}%>
<%if (day1.equals("17")){%><option value="17" selected >17</option><%}else{%><option value="17">17</option><%}%>
<%if (day1.equals("18")){%><option value="18" selected >18</option><%}else{%><option value="18">18</option><%}%>
<%if (day1.equals("19")){%><option value="19" selected >19</option><%}else{%><option value="19">19</option><%}%>
<%if (day1.equals("20")){%><option value="20" selected >20</option><%}else{%><option value="20">20</option><%}%>
<%if (day1.equals("21")){%><option value="21" selected >21</option><%}else{%><option value="21">21</option><%}%>
<%if (day1.equals("22")){%><option value="22" selected >22</option><%}else{%><option value="22">22</option><%}%>
<%if (day1.equals("23")){%><option value="23" selected >23</option><%}else{%><option value="23">23</option><%}%>
<%if (day1.equals("24")){%><option value="24" selected >24</option><%}else{%><option value="24">24</option><%}%>
<%if (day1.equals("25")){%><option value="25" selected >25</option><%}else{%><option value="25">25</option><%}%>
<%if (day1.equals("26")){%><option value="26" selected >26</option><%}else{%><option value="26">26</option><%}%>
<%if (day1.equals("27")){%><option value="27" selected >27</option><%}else{%><option value="27">27</option><%}%>
<%if (day1.equals("28")){%><option value="28" selected >28</option><%}else{%><option value="28">28</option><%}%>
<%if (day1.equals("29")){%><option value="29" selected >29</option><%}else{%><option value="29">29</option><%}%>
<%if (day1.equals("30")){%><option value="30" selected >30</option><%}else{%><option value="30">30</option><%}%>
<%if (day1.equals("31")){%><option value="31" selected >31</option><%}else{%><option value="31">31</option><%}%>
</select>日
<font color=#FF3300>*</font> </td>
</tr>
<tr>
<td align="center" bgcolor="#d4d0c8" width="26%" height="18">记 录 人</td>
<td width="74%" height="18">
<input type="text" name="recorder" maxlength="30" value="<%=persname%>" readonly >
<font color=#FF3300>*</font></td>
</tr>
<tr>
<td align="center" bgcolor="#d4d0c8" width="26%" height="18">使用维护内容</td>
<td width="74%" height="18">
<textarea name="exponent" cols="70" rows="8" ><%=exponent%></textarea>
</td>
</tr>
<tr>
<td align="center" bgcolor="#d4d0c8" width="26%" height="18">备 注</td>
<td width="74%" height="18">
<textarea name="remark" cols="70" rows="5" ><%=remark%></textarea>
</td>
</tr>
</table>
<br>
<table width="200" border="1" align="center" bgcolor="#d4d0c8" bordercolorlight="#808080" bordercolordark="#FFFFFF" cellspacing="0" cellpadding="2">
<tr>
<td align="center"><a href="javascript:verify()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image91','','/pmsApp/images/button_save_over.gif',1)" ><img name="Image91" border="0" src="/pmsApp/images/button_save.gif" width="55" height="20"></a><a href="/pmsApp/servlet/common.PMS?txId=4311&inputString=""" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image2','','/pmsApp/images/button_cancel_over.gif',1)"><img name="Image2" border="0" src="/pmsApp/images/button_cancel.gif" width="55" height="20"></a></td>
</tr>
</table>
</form>
<%}else{%>
<p> </p>
<p> </p>
<table width="80%" border="1" align="center" bgcolor="#d4d0c8" bordercolorlight="#808080" bordercolordark="#FFFFFF" cellspacing="0" cellpadding="2">
<tr>
<td align="center" width="100%" height="40" bgcolor="#FFFFFF">
<p><font font-size:12px">这条信息所对应的空置房登记记录已删除,不能修改这条空置房使用记录信息。</font></p>
</td>
</tr>
<tr>
<td align="center"><a href="/pmsApp/servlet/common.PMS?txId=4311&inputString=""" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image2','','/pmsApp/images/button_back_over.gif',1)"><img name="Image2" border="0" src="/pmsApp/images/button_back.gif" width="55" height="20"></a></td>
</tr>
</table>
<% } %>
<%}%>
<form name="hiddenForm" METHOD="post" ACTION="/pmsApp/servlet/common.PMS">
<INPUT TYPE="hidden" NAME="txId" ID="txId" VALUE="4309">
<INPUT TYPE="hidden" NAME="inputString" ID="inputString" >
</form>
<form name="hiddenForm2" METHOD="post" ACTION="/pmsApp/servlet/common.PMS">
<INPUT TYPE="hidden" NAME="txId" ID="txId" VALUE="4310">
<INPUT TYPE="hidden" NAME="inputString" ID="inputString" >
</form>
<form name="hiddenForm3" METHOD="post" ACTION="/pmsApp/servlet/common.PMS">
<INPUT TYPE="hidden" NAME="txId" ID="txId" VALUE="4308">
<INPUT TYPE="hidden" NAME="inputString" ID="inputString" >
</form>
<form name="hiddenForm4" METHOD="post" ACTION="/pmsApp/servlet/common.PMS">
<INPUT TYPE="hidden" NAME="txId" ID="txId" VALUE="4310">
<INPUT TYPE="hidden" NAME="inputString" ID="inputString" >
</form>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -