<%@ 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" src="../code/vm/ExtCodeJs.htm"></script>
<script language="javascript" src="../resources/js/calendar/calendar.js"></script>
<script language="javascript">

</script>
</head>

<body>
<s:include value="../common/body.jsp" />
<s:form action="attYearHolidayInit" namespace="/att" onsubmit="return checkForm(this,otherCheck)" >
  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr class="form_tr">
      <td width="28%" align="right"><span class="required">•</span>年份：</td>
      <td width="72%" align="left"><s:textfield name="yearHoliday.attYear" title="年份 为必填项。" readonly="true" onClick="showCalendar('yyyy',this)" cssClass="date_input" cssStyle="width:225px;"/></td>
    </tr>
    <tr class="form_tr">
      <td align="right"><span class="required">•</span>类型：</td>
      <td align="left"><s:select cssStyle="width:225px;" name="yearHoliday.leaveType.id" list='leaveTypeList' headerKey="" headerValue="" listKey="id" listValue="name" title="类型 为必填项"/></td>
    </tr>
    <tr class="form_tr">
      <td align="right" valign="top">员工：</td>
      <td align="left" valign="top"><input name="emplNames" type="text" style="width:225px;" onclick="codeTable('emplInfoTable',gn('ids'),this,'no')" value="${param.emplNames}" readonly="readonly" class="find_input" />
        <s:hidden name="ids" />
      <div class="info" style="margin:5px 0;">
      如果员工项为空，则表示全部员工。	  </div>      </td>
    </tr>
    <tr class="form_tr">
      <td align="center">      </td>
      <td><input type="submit" name="button" id="button" value="初始化" />
&nbsp;
<!-- back begin -->
<input name="winID" type="hidden" value="${param.winID}" />
<input type="button" onclick="iframeWindowClose('${param.winID}')" name="button" id="button" value="返 回" />	  </td>
    </tr>
    <tr class="form_tr">
      <td align="center">      </td>
      <td><div class="info" style="margin:5px 0; width:230px; text-align:left;">
      <strong>注意：</strong>如果员工的假期额度数据已经初始化，则该操作将重新初始化并覆盖员工已有的假期额度数据。        </div></td>
    </tr>	
  </table>
</s:form>
</body>
</html>