return_archive_detail_data.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:5k
源码类别:
电子政务应用
开发平台:
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>
- function modifyIt(form)
- {
- if(form.description.value.length <250)
- {
- form.action="/mainctrl/archive/modifyReturnArchive?returnId=<%=request.getParameter("returnId")%>";
- form.submit();
- }
- else
- alert("归还说明不能超过250个汉字");
- }
- function deleteIt(form)
- {
- form.action="/mainctrl/archive/deleteReturnArchive?returnId=<%=returnId%>";
- form.submit();
- }
- </script>
- <table width="600" border="0" cellpadding="5" cellspacing="1" class="iframestyle">
- <tr>
- <td colspan="2" height="4" bgcolor="#ffffff"> <a href="/mainctrl/archive/todayArchives">档案管理</a>>><a href="/mainctrl/archive/borrowManager">借阅档案管理</a>>>归还详情
- </td>
- </tr>
- <tr>
- <td colspan="2" height="4" bgcolor="#666666"><font class="strongw">归还记录</font></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td align="center" colspan="2">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <table width="100%" border="0">
- <tr>
- <td width="14%">
- <div align="left">归还编号:</div>
- </td>
- <td width="86%">
- <div align="left"><%=returnId%>
- </div>
- </td>
- </tr>
- <tr>
- <td width="14%">
- <div align="left">借阅日期:</div>
- </td>
- <td width="86%">
- <div align="left"><%=TimeStamp.formatCalendar(TimeStamp.YMD, rrvb.getReturnDate())%>
- </div>
- </td>
- </tr>
- <tr>
- <td width="14%">
- <div align="left">档案编号:</div>
- </td>
- <td width="86%">
- <div align="left"><%=avb.getArchiveDisplayId()%>
- </div>
- </td>
- </tr>
- <tr>
- <td width="14%">
- <div align="left">档案标题:</div>
- </td>
- <td width="86%">
- <div align="left"><%=avb.getArchiveTitle()%>
- </div>
- </td>
- </tr>
- <tr>
- <td width="14%">
- <div align="left">借阅人:</div>
- </td>
- <td width="86%">
- <div align="left"><%=rrvb.getBorrower()%>
- </div>
- </td>
- </tr>
- <tr>
- <td width="14%" valign="top">
- <div align="left">归还说明:</div>
- </td>
- <td width="86%">
- <div align="left">
- <textarea name="description" rows="4" cols="30" class="text"><%=rrvb.getDescription()%></textarea>
- </div>
- </td>
- </tr>
- <tr>
- <td width="14%">
- <div align="left">归还办理人:</div>
- </td>
- <td width="86%">
- <div align="left"><%=rrvb.getReceiver()%>
- </div>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <p>
- <input type="button" value=" 修 改 " name="B252" class="button" onclick="modifyIt(this.form)">
- <input type="button" value=" 删 除 " name="B251" class="button" onclick="deleteIt(this.form)">
- <input type="button" value=" 返 回 " name="B253" class="button" onclick="history.back()">
-
- </p>