<%@ 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="salaryInsurNoOperate" namespace="/salary"  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="insurNo.emplInfo.emplNo"/></td>
    </tr>
    <tr class="form_tr">
      <td align="right">姓名：</td>
      <td valign="top"><s:property value="insurNo.emplInfo.name"/></td>
    </tr>
    <tr class="form_tr">
      <td align="right">部门：</td>
      <td valign="top"><s:property value="insurNo.emplInfo.emplOrg.fullName"/></td>
    </tr>
    <tr class="form_tr">
      <td align="right">开户行：</td>
      <td valign="top"><s:textfield name="insurNo.cardBank" maxlength="50" cssStyle="width:225px;"/></td>
    </tr>
      <tr class="form_tr">
        <td align="right">银行卡号：</td>
        <td valign="top"><s:textfield name="insurNo.cardNo" maxlength="50" cssStyle="width:225px;"/></td>
      </tr>
      <tr class="form_tr">
      <td align="right">结算中心：</td>
      <td valign="top"><s:textfield name="insurNo.costCenter" maxlength="50" cssStyle="width:225px;"/></td>
    </tr>      
    <s:iterator value="#request.SysCodeFinder.find('SALARY_INSUR_NO_TYPE')">
    <tr class="form_tr">
      <td align="right"><s:property value="codeName"/>：</td>
      <td valign="top">
      		<s:textfield name="typeNoMap['%{id}']" value="%{insurNo.getDetByTypeId(id).accNo}" cssStyle="width:225px;"/>
      </td>
    </tr>
    </s:iterator>
    <tr class="form_tr">
      <td align="right">备注：</td>
      <td valign="top"><s:textarea name="insurNo.descr" cssStyle="width:225px;height:50px;"/></td>
    </tr>
	<tbody id="yearBody" style="display:none;">
    </tbody>
    <tr class="form_tr">
      <td width="33%" align="right">&nbsp;</td>
      <td width="67%" valign="top">
        <s:if test="oper=='edit'">
          <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 -->
		<input name="doit" type="hidden" value="true" />
        <s:hidden name="insurNo.id" />
        <s:hidden name="insurNo.emplInfo.id" />
        <s:hidden name="oper" />
        </td>
    </tr>
  </table>
    
</s:form>
</body>
</html>