UnifyEditPayManage.jsp
资源名称:OA.rar [点击查看]
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:7k
源码类别:
OA系统
开发平台:
Java
- <%@ page contentType="text/html; charset=gb2312"%>
- <%@ page import="java.util.*,com.gforce.gfoa.*,com.gforce.currency.*,java.util.*" %>
- <jsp:include page="/CheckLogin.jsp" flush="true"/> <% Session m_session = new Session(session); %>
- <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">
- <script language="JavaScript" src="/js/changestyle.js"></script>
- <script language="JavaScript" type="text/javascript">
- function checkUnifyEditPay()
- {
- if(document.EditPay.Pay.value == '')
- {
- alert("请输入工资!");
- document.EditPay.Pay.focus();
- return false;
- }
- if(isNaN(parseInt(document.EditPay.Pay.value)))
- {
- alert("请输入正确的工资!");
- document.EditPay.Pay.select();
- document.EditPay.Pay.focus();
- return false;
- }
- }
- </script>
- </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">
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td height="50" valign="top" background="../images/dy-back.gif">
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr valign="middle">
- <td width="61" align="center" height="20"><img src="../images/dy-01.gif" width="38" height="36"></td>
- <td width="118" nowrap="nowrap" valign="middle"><strong><font color="#000000">基本工资统一修改</font></strong></td>
- <td align="right" nowrap="nowrap" valign="bottom">
- <!-- 群增<img src="../images/MulAdd.gif" onMouseOver="this.src='../images/MulAdd_a.gif';" onMouseOut="this.src='../images/MulAdd.gif';" border="0" height="22" width="59"> -->
- <!--单增<img src="../images/Single.gif" onMouseOver="this.src='../images/Single_a.gif';" onMouseOut="this.src='../images/Single.gif';" border="0" height="22" width="59"> -->
- <!-- 修改<img src="../images/Update.gif" onMouseOver="this.src='../images/Update_a.gif';" onMouseOut="this.src='../images/Update.gif';" border="0" height="22" width="59"> -->
- <!-- 删除<img src="../images/Del.gif" onMouseOver="this.src='../images/Del_a.gif';" onMouseOut="this.src='../images/Del.gif';" border="0" height="22" width="59"> -->
- <!-- 查看<img src="../images/Query.gif" onMouseOver="this.src='../images/Query_a.gif';" onMouseOut="this.src='../images/Query.gif';" border="0" height="22" width="59"> -->
- <!-- 组合查询<img src="../images/GroupQuery.gif" onMouseOver="this.src='../images/GroupQuery_a.gif';" onMouseOut="this.src='../images/GroupQuery.gif';" border="0" height="22" width="79"> -->
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <table width="95%" border="0" cellspacing="0">
- <form name="EditPay" method="post" action="UnifyEditPayAction.jsp?Type=Pay" onSubmit="javascript:return checkUnifyEditPay();">
- <tr>
- <td width="100" align="right"> </td>
- <td align="right"> </td>
- <td> </td>
- <td width="26%"> </td>
- <td width="5%" rowspan="16"> </td>
- </tr>
- <tr>
- <td width="100" align="right"> </td>
- <td align="right"> </td>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td width="100" align="right"> </td>
- <td align="right">工资条目:</td>
- <td>
- <select name="PayType">
- <%
- Vector vt = PayTypeManager.getPayTypeName();
- for (int i=0;i<vt.size();i++)
- {
- out.println("<option value="" + ((Vector)vt.get(i)).get(0).toString() + "">"+ ((Vector)vt.get(i)).get(1).toString() +"</option>");
- }
- %>
- </select></td>
- <td> </td>
- </tr>
- <tr>
- <td width="100" align="right"> </td>
- <td align="right">运算符:</td>
- <td>
- <select name="Operator">
- <option value="=">=</option>
- <option value="+">+</option>
- <option value="-">-</option>
- <option value="*">*</option>
- <option value="/">/</option>
- </select></td>
- <td> </td>
- </tr>
- <tr>
- <td width="100" align="right"> </td>
- <td height="16" align="right">数额: </td>
- <td>
- <input name="Pay" type="text" size="13" maxlength="15"></td>
- <td> </td>
- </tr>
- <tr>
- <td width="100" align="right"> </td>
- <td align="right"> </td>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td width="100" align="right"> </td>
- <td align="right"> </td>
- <td>
- <input type="submit" value="统一修改" onClick="return confirm('您确实要统一修改所有的基本工资信息吗?您是否继续?');"></td>
- <td> </td>
- </tr>
- </form>
- <tr>
- <td width="100" align="right"> </td>
- <td colspan="2" align="right"> </td>
- <td> </td>
- </tr>
- <tr>
- <td width="100" align="right"> </td>
- <td align="right"> </td>
- <td> </td>
- <td> </td>
- </tr>
- <form name="EditPay1" method="post" action="UnifyEditPayAction.jsp?Type=Type">
- <tr>
- <td width="100" align="right"> </td>
- <td align="right">工资条目:</td>
- <td>
- <select name="PayType">
- <%
- for (int i=0;i<vt.size();i++)
- {
- out.println("<option value="" + ((Vector)vt.get(i)).get(0).toString() + "">"+ ((Vector)vt.get(i)).get(1).toString() +"</option>");
- }
- %>
- </select></td>
- <td> </td>
- </tr>
- <tr>
- <td width="100" align="right"> </td>
- <td align="right">数据传递给:</td>
- <td>
- <select name="PayType1">
- <%
- for (int i=0;i<vt.size();i++)
- {
- out.println("<option value="" + ((Vector)vt.get(i)).get(0).toString() + "">"+ ((Vector)vt.get(i)).get(1).toString() +"</option>");
- }
- %>
- </select></td>
- <td> </td>
- </tr>
- <tr>
- <td width="100" align="right"> </td>
- <td height="16" align="right"> </td>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td width="100" align="right"> </td>
- <td align="right"> </td>
- <td>
- <input type="submit" value="统一修改" onClick="return confirm('您确实要统一修改所有的基本工资信息吗?您是否继续?');"></td>
- <td> </td>
- </tr>
- <tr>
- <td width="100" align="right"> </td>
- <td align="right"> </td>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td width="100" align="right"> </td>
- <td align="right"> </td>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td width="100" align="right"> </td>
- <td align="right"> </td>
- <td> </td>
- <td> </td>
- </tr>
- </form>
- </table>
- </body>
- </html>