return_archive_detail.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:7k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.archives.value.ArchiveValueBean" %>
- <%@ page import="com.vnex.intranet.util.*" %>
- <jsp:useBean id="returnProxy" scope="application" class="com.vnex.intranet.archives.proxy.ReturnProxyBean" />
- <jsp:useBean id="rrvb" scope="request" class="com.vnex.intranet.archives.value.ReturnRecordValueBean" />
- <jsp:useBean id="archiveProxy" scope="application" class="com.vnex.intranet.archives.proxy.ArchiveProxyBean" />
- <%
- int returnId = Integer.parseInt(request.getParameter("returnId"));
- rrvb = returnProxy.getReturnArchiveDetail(returnId);
- ArchiveValueBean avb = archiveProxy.selectArchive(rrvb.getArchiveId());
- %>
- <script language="JavaScript" src="/vnex/util/strUtil.js"></script>
- <script language=JavaScript>
- function checkIt(form)
- {
- if(!isEmpty(form.description.value))
- {
- if(isInvalidateLen(form.description.value, 1000))
- {
- alert("归还说明最多只能放250个汉字或1000个英文字符");
- form.description.focus();
- return false;
- }
- if(isContainInvalidChar(form.description.value, "'"))
- {
- alert("请不要在说明中加入单引号");
- form.description.focus();
- return false;
- }
- }
- return true;
- }
- function modifyIt(form)
- {
- if(checkIt(form))
- {
- form.action="/mainctrl/archive/modifyReturnArchive?returnId=<%=request.getParameter("returnId")%>";
- form.submit();
- }
- }
- function deleteIt(form)
- {
- if(confirm("是否删除本记录?"))
- {
- form.action="/mainctrl/archive/deleteReturnArchive?returnId=<%=returnId%>";
- form.submit();
- }
- }
- </script>
- <HTML>
- <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
- <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu_archives.js"></script>
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
- <DIV align=center>
- <form name="form1" method="post">
- <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
- <TBODY>
- <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
- <TR>
- <TD colSpan=3 align="center"><br>
- <table width="600" border="1" cellspacing="1" bordercolor="#666666">
- <tr>
- <td align="center" colspan="2" bgcolor="#FFFFFF">
- <table width="600" border="0" cellspacing="0" cellpadding="0">
- <tr bgcolor="#666666">
- <td><font class="strongw"><a href="/mainctrl/home/index"><font color="#ffffff">首页</font></a>>><a href="/mainctrl/archives/main"><font color="#ffffff">档案管理</font></a>>><a href="/mainctrl/archive/returnArchiveList"><font color="#ffffff">归还记录</font></a>>>归还详情</font>
- </td>
- </tr>
- </table>
- <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
- <tr bgcolor="#e0e0e0">
- <td width="18%">
- <div align="left"><strong> 归还编号:</strong></div>
- </td>
- <td width="86%">
- <div align="left"><%=returnId%>
- </div>
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="18%">
- <div align="left"><strong> 借阅日期:</strong></div>
- </td>
- <td width="86%">
- <div align="left"><%=TimeStamp.formatCalendar(TimeStamp.YMD, rrvb.getReturnDate())%>
- </div>
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="18%">
- <div align="left"><strong> 档案编号:</strong></div>
- </td>
- <td width="86%">
- <div align="left"><%=avb.getArchiveDisplayId()%>
- </div>
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="18%">
- <div align="left"><strong> 档案标题:</strong></div>
- </td>
- <td width="86%">
- <div align="left"><%=avb.getArchiveTitle()%>
- </div>
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="18%">
- <div align="left"><strong> 借阅人:</strong></div>
- </td>
- <td width="86%">
- <div align="left"><%=rrvb.getBorrower()%>
- </div>
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="18%">
- <div align="left"><strong> 归还说明:</strong></div>
- </td>
- <td width="86%">
- <div align="left">
- <textarea name="description" rows="5" cols="59" class="text"><%=rrvb.getDescription()%></textarea>
- </div>
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="18%">
- <div align="left"><strong> 归还办理人:</strong></div>
- </td>
- <td width="86%">
- <div align="left"><%=rrvb.getReceiver()%>
- </div>
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td colspan="2" align="center" height="30">
- <input type="button" value="保存" name="B252" class="text" onclick="modifyIt(this.form)">
-
- <input type="button" value="删除" name="B251" class="text" onclick="deleteIt(this.form)">
-
- <input type="reset" value="重置" name="B251" class="text">
-
- <input type="button" value="返回" name="B253" class="text" onclick="history.back()">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
- </TD>
- </TR>
- <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
- </TBODY>
- </TABLE>
- <BR>
- <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
- </form>
- </DIV>
- </BODY>
- </HTML>