📄 modifykeyborrowinput.jsp
字号:
<%String year1="";%>
<%String month1="";%>
<%String day1="";%>
<% if(borrowdate.length()==10){
year1=borrowdate.substring(0,4);
month1=borrowdate.substring(5,7);
day1=borrowdate.substring(8,10);
}%>
<%String hour="";%>
<%String minute="";%>
<%String second="";%>
<% if(borrowtime.length()==8){
hour=borrowtime.substring(0,2);
minute=borrowtime.substring(3,5);
second=borrowtime.substring(6,8);
}
%>
<%String year2="";%>
<%String month2="";%>
<%String day2="";%>
<% if(returndate.length()==10){
year2=returndate.substring(0,4);
month2=returndate.substring(5,7);
day2=returndate.substring(8,10);
}%>
<%String hour2="";%>
<%String minute2="";%>
<%String second2="";%>
<% if(returntime.length()==8){
hour2=returntime.substring(0,2);
minute2=returntime.substring(3,5);
second2=returntime.substring(6,8);
}
%>
</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_modify_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"><a href="javascript:handleForm2('1','<%=number%>','<%=pageindex%>','<%=retrieveindex%>','<%=retrievecon%>','<%=retrievecom%>','<%=selectnum%>','<%=pagecount%>')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','/pmsApp/images/button_modify_over.gif',1)"><img name="Image10" border="0" src="/pmsApp/images/button_modify.gif" width="55" height="20" alt="修改选定的数据"></a><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=4610&inputString=""">托管钥匙记录</a></td>
<td width="100" background="/pmsApp/images/tab_down_left.gif"><a href="/pmsApp/utility/key/AddKeyTrustInput.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>
<p><br>
<% if(number.equals("0")){%>
</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=4605&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="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">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -