UnifyEditPayManage.jsp
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:7k
源码类别:

OA系统

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312"%>
  2. <%@ page import="java.util.*,com.gforce.gfoa.*,com.gforce.currency.*,java.util.*" %>
  3. <jsp:include page="/CheckLogin.jsp" flush="true"/> <% Session m_session = new Session(session); %>
  4. <html>
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta http-equiv="pragma" content="no-cache">
  7. <title>修改工资管理-- GForce OA 2.0</title>
  8. <link href="../css/txt.jsp" rel="stylesheet" type="text/css">
  9. <script language="JavaScript" src="/js/changestyle.js"></script>
  10. <script language="JavaScript" type="text/javascript">
  11. function checkUnifyEditPay()
  12. {
  13.     if(document.EditPay.Pay.value == '')
  14.     {
  15.         alert("请输入工资!");
  16.         document.EditPay.Pay.focus();
  17.         return false;
  18.     }
  19.     if(isNaN(parseInt(document.EditPay.Pay.value)))
  20.     {
  21.       alert("请输入正确的工资!");
  22.       document.EditPay.Pay.select();
  23.       document.EditPay.Pay.focus();
  24.       return false;
  25.     }
  26. }
  27. </script>
  28. </head>
  29. <body bgcolor="<%=m_session.GetString("BackColor")%>" leftmargin="0" topmargin="0">
  30.    <table width="100%" height="100%" border="0" align="center" cellspacing="0">
  31.     <tr>
  32.     <td align="center" valign="top">
  33.       <table width="100%" border="0" cellpadding="0" cellspacing="0">
  34.         <tr>
  35.           <td height="50" valign="top" background="../images/dy-back.gif">
  36.             <table width="100%" border="0" cellpadding="0" cellspacing="0">
  37.               <tr valign="middle">
  38.                 <td width="61" align="center" height="20"><img src="../images/dy-01.gif" width="38" height="36"></td>
  39.                 <td width="118" nowrap="nowrap" valign="middle"><strong><font color="#000000">基本工资统一修改</font></strong></td>
  40.                 <td align="right" nowrap="nowrap" valign="bottom">&nbsp;
  41.                    <!-- 群增<img src="../images/MulAdd.gif" onMouseOver="this.src='../images/MulAdd_a.gif';" onMouseOut="this.src='../images/MulAdd.gif';" border="0" height="22" width="59">&nbsp;-->
  42.                   <!--单增<img src="../images/Single.gif" onMouseOver="this.src='../images/Single_a.gif';" onMouseOut="this.src='../images/Single.gif';" border="0" height="22" width="59">&nbsp;-->
  43.                   <!-- 修改<img src="../images/Update.gif" onMouseOver="this.src='../images/Update_a.gif';" onMouseOut="this.src='../images/Update.gif';" border="0" height="22" width="59">&nbsp;-->
  44.                   <!-- 删除<img src="../images/Del.gif" onMouseOver="this.src='../images/Del_a.gif';" onMouseOut="this.src='../images/Del.gif';" border="0" height="22" width="59">&nbsp;-->
  45.                   <!-- 查看<img src="../images/Query.gif" onMouseOver="this.src='../images/Query_a.gif';" onMouseOut="this.src='../images/Query.gif';" border="0" height="22" width="59">&nbsp;-->
  46.                   <!-- 组合查询<img src="../images/GroupQuery.gif" onMouseOver="this.src='../images/GroupQuery_a.gif';" onMouseOut="this.src='../images/GroupQuery.gif';" border="0" height="22" width="79">&nbsp;-->
  47.                 </td>
  48.               </tr>
  49.             </table>
  50.           </td>
  51.         </tr>
  52.       </table>
  53. <table width="95%" border="0" cellspacing="0">
  54.   <form name="EditPay" method="post" action="UnifyEditPayAction.jsp?Type=Pay" onSubmit="javascript:return checkUnifyEditPay();">
  55.     <tr>
  56.       <td width="100" align="right">&nbsp;</td>
  57.       <td align="right">&nbsp;</td>
  58.       <td>&nbsp;</td>
  59.       <td width="26%">&nbsp;</td>
  60.       <td width="5%" rowspan="16">&nbsp;</td>
  61.     </tr>
  62.     <tr>
  63.       <td width="100" align="right">&nbsp;</td>
  64.       <td align="right">&nbsp;</td>
  65.       <td>&nbsp;</td>
  66.       <td>&nbsp;</td>
  67.     </tr>
  68.     <tr>
  69.       <td width="100" align="right">&nbsp;</td>
  70.       <td align="right">工资条目:</td>
  71.       <td>
  72.         <select name="PayType">
  73.         <%
  74.         Vector vt = PayTypeManager.getPayTypeName();
  75.         for (int i=0;i<vt.size();i++)
  76.         {
  77.           out.println("<option value="" + ((Vector)vt.get(i)).get(0).toString() + "">"+ ((Vector)vt.get(i)).get(1).toString() +"</option>");
  78.         }
  79.         %>
  80.         </select></td>
  81.       <td>&nbsp; </td>
  82.     </tr>
  83.     <tr>
  84.       <td width="100" align="right">&nbsp;</td>
  85.       <td align="right">运算符:</td>
  86.       <td>
  87.         <select name="Operator">
  88.         <option value="=">=</option>
  89.         <option value="+">+</option>
  90.         <option value="-">-</option>
  91.         <option value="*">*</option>
  92.         <option value="/">/</option>
  93.         </select></td>
  94.       <td>&nbsp; </td>
  95.     </tr>
  96.     <tr>
  97.       <td width="100" align="right">&nbsp;</td>
  98.       <td height="16" align="right">数额: </td>
  99.       <td>
  100.         <input name="Pay" type="text" size="13" maxlength="15"></td>
  101.       <td>&nbsp; </td>
  102.     </tr>
  103.     <tr>
  104.       <td width="100" align="right">&nbsp;</td>
  105.       <td align="right">&nbsp;</td>
  106.       <td>&nbsp;</td>
  107.       <td>&nbsp;</td>
  108.     </tr>
  109.     <tr>
  110.       <td width="100" align="right">&nbsp;</td>
  111.       <td align="right">&nbsp;</td>
  112.       <td>
  113.         <input type="submit" value="统一修改" onClick="return confirm('您确实要统一修改所有的基本工资信息吗?您是否继续?');"></td>
  114.       <td>&nbsp; </td>
  115.     </tr>
  116.   </form>
  117.     <tr>
  118.       <td width="100" align="right">&nbsp;</td>
  119.       <td colspan="2" align="right">&nbsp;</td>
  120.       <td>&nbsp;</td>
  121.     </tr>
  122.     <tr>
  123.       <td width="100" align="right">&nbsp;</td>
  124.       <td align="right">&nbsp;</td>
  125.       <td>&nbsp;</td>
  126.       <td>&nbsp;</td>
  127.     </tr>
  128.   <form name="EditPay1" method="post" action="UnifyEditPayAction.jsp?Type=Type">
  129.     <tr>
  130.       <td width="100" align="right">&nbsp;</td>
  131.       <td align="right">工资条目:</td>
  132.       <td>
  133.         <select name="PayType">
  134.         <%
  135.          for (int i=0;i<vt.size();i++)
  136.         {
  137.           out.println("<option value="" + ((Vector)vt.get(i)).get(0).toString() + "">"+ ((Vector)vt.get(i)).get(1).toString() +"</option>");
  138.         }
  139.         %>
  140.         </select></td>
  141.       <td>&nbsp;</td>
  142.     </tr>
  143.     <tr>
  144.       <td width="100" align="right">&nbsp;</td>
  145.       <td align="right">数据传递给:</td>
  146.       <td>
  147.         <select name="PayType1">
  148.         <%
  149.         for (int i=0;i<vt.size();i++)
  150.         {
  151.           out.println("<option value="" + ((Vector)vt.get(i)).get(0).toString() + "">"+ ((Vector)vt.get(i)).get(1).toString() +"</option>");
  152.         }
  153.         %>
  154.         </select></td>
  155.       <td>&nbsp;</td>
  156.     </tr>
  157.     <tr>
  158.       <td width="100" align="right">&nbsp;</td>
  159.       <td height="16" align="right">&nbsp;</td>
  160.       <td>&nbsp;</td>
  161.       <td>&nbsp;</td>
  162.     </tr>
  163.     <tr>
  164.       <td width="100" align="right">&nbsp;</td>
  165.       <td align="right">&nbsp;</td>
  166.       <td>
  167.         <input type="submit" value="统一修改" onClick="return confirm('您确实要统一修改所有的基本工资信息吗?您是否继续?');"></td>
  168.       <td>&nbsp;</td>
  169.     </tr>
  170.     <tr>
  171.       <td width="100" align="right">&nbsp;</td>
  172.       <td align="right">&nbsp;</td>
  173.       <td>&nbsp;</td>
  174.       <td>&nbsp;</td>
  175.     </tr>
  176.     <tr>
  177.       <td width="100" align="right">&nbsp;</td>
  178.       <td align="right">&nbsp;</td>
  179.       <td>&nbsp;</td>
  180.       <td>&nbsp;</td>
  181.     </tr>
  182.     <tr>
  183.       <td width="100" align="right">&nbsp;</td>
  184.       <td align="right">&nbsp;</td>
  185.       <td>&nbsp;</td>
  186.       <td>&nbsp;</td>
  187.     </tr>
  188.   </form>
  189. </table>
  190. </body>
  191. </html>