AssetApplyCheck.jsp
资源名称:OA.rar [点击查看]
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:3k
源码类别:
OA系统
开发平台:
Java
- <%@ page contentType="text/html; charset=gb2312"%>
- <%@ page import="com.gforce.gfoa.*,com.gforce.currency.*,java.util.*" %>
- <jsp:include page="/CheckLogin.jsp" flush="true"/> <% Session m_session = new Session(session); %>
- <%
- int intUserID = m_session.GetInt("UserID");
- Request m_request = new Request(request);
- int intAssetApplyID = m_request.GetInt("ID");
- String strApproveType = m_request.GetString("ApproveType");
- if(intAssetApplyID<1)
- {
- %>
- <script language="JavaScript" type="text/JavaScript">
- alert("请选择正确的申请,修改失败!");
- history.back();
- </script>
- <%
- }
- else
- {
- Vector vt = AssetInOutManager.getRecordByID(intAssetApplyID);
- if(vt.size()==1)
- {
- %>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta http-equiv="pragma" content="no-cache">
- <title>申请审批管理-- GForce OA 2.0</title>
- <link href="/css/txt.jsp" rel="stylesheet" type="text/css">
- </head>
- <body bgcolor="<%=m_session.GetString("BackColor")%>" leftmargin="0" topmargin="0">
- <table width="100%" height="100%" border="0" align="center" cellspacing="0">
- <tr>
- <td align="center" valign="top"><p> </p>
- <form name="EditAssetApply" action="/Asset/AssetApplyCheckAction.jsp?ApproveType=<%=strApproveType%>" method="post">
- <table border="0" cellpadding="0" cellspacing="2" width="90%">
- <tr>
- <td align="right" valign="middle"><font color="#0A0A0A">申 请:</font></td>
- <td align="left" valign="middle" nowrap> <%=((Vector)vt.get(0)).get(5).toString()%>
- <input name="ID" type="Hidden" value="<%=((Vector)vt.get(0)).get(0).toString()%>" >
- </td>
- </tr>
- <tr>
- <td align="right" valign="middle"><font color="#0A0A0A">数 量:</font></td>
- <td align="left" valign="middle" nowrap> <%=((Vector)vt.get(0)).get(8).toString()%> </td>
- </tr>
- <tr>
- <td align="right" valign="middle"><font color="#0A0A0A">预计使用时间:</font></td>
- <td align="left" valign="middle" nowrap> <%=StringNew.GetDateString(((Vector)vt.get(0)).get(2).toString(),"yyyy年MM月dd日")%> </td>
- </tr>
- </tr>
- <tr>
- <td align="right" valign="middle"> </td>
- <tr>
- <td align="right" valign="middle"><strong>是否同意:</strong></td>
- <td align="left" valign="middle" nowrap> <p>
- <label>
- <input type="radio" name="ISAgreed" value="1" >
- 同意 </label>
- <label>
- <input type="radio" name="ISAgreed" value="0" checked>
- </label>
- 不同意 <br>
- </p> </td>
- </tr>
- <tr>
- <td align="right" valign="middle"><strong>审批意见</strong>:</td>
- <td align="left" valign="middle" nowrap>
- <input type="text" name="Content">
- </td>
- </tr>
- <tr>
- <td align="left" valign="middle" nowrap></td>
- <td align="right" valign="middle" nowrap>
- <input name="submit" type="submit" value="确定">
- <input name="button" type="button" onClick="window.close()" value="关闭"></td>
- </tr>
- </table>
- </form>
- </td>
- </tr>
- </table>
- </body>
- </html>
- <%
- }
- else
- {
- %>
- <script language="JavaScript" type="text/JavaScript">
- alert("该记录已经被删除或者您没有权限修改此记录,修改失败!");
- history.back();
- </script>
- <%
- }
- }
- %>