<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="cm" uri="/commons-tags" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>薪资级别</title>
<link href="../resources/style/base.css" rel="stylesheet" type="text/css"/>
<s:include value="../common/head.jsp" />
<script language="javascript">
</script>
</head>

<body>
<s:include value="../common/body.jsp" />
<s:form action="salaryLevelOperate" namespace="/salary"  onsubmit="return checkForm(this)">

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr class="form_tr">
      <td align="right"><span class="required">•</span>名　称：</td>
      <td valign="top"><s:textfield name="level.name" title="名称为必填项" cssStyle="width:150px;"/></td>
    </tr>
    <tr class="form_tr">
      <td align="right"><span class="required">•</span>等　级：</td>
      <td valign="top"><s:textfield name="level.levelNum" title="等级为必填项，且必须为数字。" cssStyle="width:150px;"/></td>
    </tr>
    <tr class="form_tr">
      <td align="right">参考薪资：</td>
      <td valign="top">
           <s:textfield name="level.salary" title="参考薪资必须为合法的金额格式。" cssStyle="width:150px;"/>
      </td>
    </tr>  
    <tr class="form_tr">
      <td align="right">薪资系数1：</td>
      <td valign="top"><s:textfield name="level.factor1" title="薪资系数1 必须为合法的金额格式。" cssStyle="width:150px;"/></td>
    </tr>
    <tr class="form_tr">
      <td align="right">薪资系数2：</td>
      <td valign="top"><s:textfield name="level.factor2" title="薪资系数2 必须为合法的金额格式。" cssStyle="width:150px;"/></td>
    </tr>
    <tr class="form_tr">
      <td align="right">薪资系数3：</td>
      <td valign="top"><s:textfield name="level.factor3" title="薪资系数3 必须为合法的金额格式。" cssStyle="width:150px;"/></td>
    </tr>
    <tr class="form_tr">
      <td align="right">薪资系数4：</td>
      <td valign="top"><s:textfield name="level.factor4" title="薪资系数4 必须为合法的金额格式。" cssStyle="width:150px;"/></td>
    </tr>
    <tr class="form_tr">
      <td align="right">薪资系数5：</td>
      <td valign="top"><s:textfield name="level.factor5" title="薪资系数5 必须为合法的金额格式。" cssStyle="width:150px;"/></td>
    </tr>
    <tr class="form_tr">
      <td align="right">薪资系数6：</td>
      <td valign="top"><s:textfield name="level.factor6" title="薪资系数6 必须为合法的金额格式。" cssStyle="width:150px;"/></td>
    </tr>
    <tr class="form_tr">
      <td align="right">薪资系数7：</td>
      <td valign="top"><s:textfield name="level.factor7" title="薪资系数7 必须为合法的金额格式。" cssStyle="width:150px;"/></td>
    </tr>
    <tr class="form_tr">
      <td align="right">薪资系数8：</td>
      <td valign="top"><s:textfield name="level.factor8" title="薪资系数8 必须为合法的金额格式。" cssStyle="width:150px;"/></td>
    </tr>
	<tbody id="yearBody" style="display:none;">
    </tbody>
    <tr class="form_tr">
      <td align="right">排序编号：</td>
      <td valign="top"><s:textfield name="level.orderBy" title="排序编号 必须为数字。" cssStyle="width:150px;"/></td>
    </tr>
    <tr class="form_tr">
      <td width="40%" align="right">&nbsp;</td>
      <td width="60%" valign="top">
        <s:if test="oper=='edit'">
          <input type="submit" name="button" id="button" value="修 改" />
        </s:if>
        <s:if test="oper=='add'">
          <input type="submit" name="button" id="button" value="添 加" />
        </s:if>
        &nbsp; 
        <!-- back begin -->
        <input name="winID" type="hidden" value="${param.winID}" />
        <input type="button" onclick="iframeWindowClose('${param.winID}')" name="button" id="button" value="返 回" />  
        <!-- back end -->
        <s:hidden name="level.id" />
        <s:hidden name="oper" />
      </td>
    </tr>
  </table>
    
</s:form>
</body>
</html>