<%@ 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" />
</head>

<body>
<s:include value="../common/body.jsp" />

<s:form action="attOvertimeApplyDestory" 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 valign="top"><s:property value="apply.applyEmplInfo.name"/></td>
    </tr>
    <tr class="form_tr">
      <td align="right">部门：</td>
      <td valign="top"><s:property value="apply.applyEmplInfo.emplOrg.name"/></td>
    </tr>
    <tr class="form_tr">
      <td align="right"> 加班时间：</td>
      <td valign="top">
      <s:date name="apply.beginTime" format="yyyy-MM-dd HH:mm"/>
      至
      <s:date name="apply.endTime" format="yyyy-MM-dd HH:mm"/>
	   （<s:property value="apply.overtimes"/>小时）
      </td>
    </tr>
    <tr class="form_tr">
      <td align="right">加班原因：</td>
      <td valign="top"><s:property value="apply.cause"/></td>
    </tr>
    <tbody id="yearBody" style="display:none;">
    </tbody>
    <tr class="form_tr">
      <td align="right">状态：</td>
      <td valign="top"><s:property value="apply.status.codeName"/></td>
    </tr>
    <tr class="form_tr">
      <td align="right">&nbsp;</td>
      <td valign="top">&nbsp;</td>
    </tr>
    <tr class="form_tr">
      <td align="right"><span class="required">•</span>作废备注：</td>
      <td valign="top"><s:textarea name="apply.cause" value="" cssStyle="width:225px;height:50px;" title="作废备注 为必填项"/></td>
    </tr>
    <tr class="form_tr">
      <td width="31%" align="right">&nbsp;</td>
      <td width="69%" valign="top">
        <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="apply.id"/>
        <s:hidden name="oper"/></td>
    </tr>
  </table>
</s:form>
</body>
</html>