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

</script>
</head>

<body>
<s:include value="../common/body.jsp" />
<s:form action="attYearHolidayEdit" namespace="/att" onsubmit="return checkForm(this)" >
  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr class="form_tr">
      <td align="right">工号：</td>
      <td align="left"><s:property value="yearHoliday.emplInfo.emplNo"/><s:hidden name="monthTotal.emplInfo.id" /></td>
    </tr>
    <tr class="form_tr">
      <td align="right">姓名：</td>
      <td align="left"><s:property value="yearHoliday.emplInfo.name"/></td>
    </tr>
    <tr class="form_tr">
      <td width="42%" align="right">假期年份：</td>
      <td width="58%" align="left"><s:property value="yearHoliday.attYear"/><s:hidden name="yearHoliday.attYear" /></td>
    </tr>    
    <tr class="form_tr">
      <td align="right">假期类型：</td>
      <td align="left"><s:property value="yearHoliday.leaveType.name"/></td>
    </tr>    <tr class="form_tr">
      <td align="right"><span class="warn">•</span>有效日期：</td>
      <td align="left"><s:textfield title="有效日期 为必填项" name="yearHoliday.endDate" readonly="true" onClick="showDate(this)" cssClass="date_input" cssStyle="width:85px;">
      		<s:param name="value"><s:date name="yearHoliday.endDate" format="yyyy-MM-dd"/></s:param>
      </s:textfield>
      </td>
    </tr>    
    <tr class="form_tr">
      <td align="right"><span class="warn">•</span>额度总数：</td>
      <td align="left"><s:textfield title="本年额度总数 为必填项。" name="yearHoliday.totalNum" cssStyle="width:40px;"/> 小时</td>
    </tr>
    <tr class="form_tr">
      <td align="right">额度已用：</td>
      <td align="left"><s:property value="yearHoliday.usedNum"/> 小时</td>
    </tr>
    <tr class="form_tr">
      <td align="right">额度待审：</td>
      <td align="left"><s:property value="yearHoliday.freezeNum"/> 小时</td>
    </tr>
    <tr class="form_tr">
      <td height="40">&nbsp;</td>
      <td height="40"><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="返 回" />
        <!-- back end -->
        <s:hidden name="yearHoliday.id" />
	</td>
    </tr>
  </table>
</s:form>
</body>
</html>