
<!-------------------职务选择开始---------------->
<%
    SzPostInfo szPostInfo_POST = null;
    Iterator iter_POST = null;
%>
<table width="350" align="left">
  <tr>
    <td colspan="3">查找：<input type="text" name="txtPostSelecting" class="txtClass1"><input type="button" class="btnClassShort" value="确定" OnClick="SearchOption(formUpdate.PostSelecting, formUpdate.PostSelected, formUpdate.txtPostSelecting.value);"></td>
  </tr>
  <tr>
    <td width="150" align="right">
      <select name="PostSelecting" size="10" multiple style="width:150;" OnDblClick="MoveSelectedOption(formUpdate.PostSelecting, formUpdate.PostSelected);">
<%
    iter_POST = SzUserHelp.getPostStaticList(szCOMPANY_SESSION).iterator();
    while (iter_POST!=null && iter_POST.hasNext()) {
        szPostInfo_POST = (SzPostInfo)iter_POST.next();
        if (sZWID_selected.indexOf("," + szPostInfo_POST.getZWID() + ",") >= 0) {
           //这个不能显示，
           continue;
        }
%>
        <option value="<%=szPostInfo_POST.getZWID()%>"><%=szPostInfo_POST.getZWMC()%></option>
<%
    }
%>
      </select>
    </td>
    <td width="50">
      <table>
        <tr><td><input type="button" name="btnToRight" value=">>" OnClick="MoveAllOption(formUpdate.PostSelecting, formUpdate.PostSelected);"></td></tr>
        <tr><td><input type="button" name="btnToRight" value=" >"  OnClick="MoveSelectedOption(formUpdate.PostSelecting, formUpdate.PostSelected);"></td></tr>
        <tr><td><input type="button" name="btnToLeft"  value=" <"  OnClick="MoveSelectedOption(formUpdate.PostSelected, formUpdate.PostSelecting);"></td></tr>
        <tr><td><input type="button" name="btnToLeft"  value="<<" OnClick="MoveAllOption(formUpdate.PostSelected, formUpdate.PostSelecting);"></td></tr>
      </table>
    </td>
    <td width="150" align="left">
      <select name="PostSelected" size="10" multiple style="width:150;" OnDblClick="MoveSelectedOption(formUpdate.PostSelected, formUpdate.PostSelecting);">
<%
    iter_POST = SzUserHelp.getPostStaticList(szCOMPANY_SESSION).iterator();
    while (iter_POST!=null && iter_POST.hasNext()) {
        szPostInfo_POST = (SzPostInfo)iter_POST.next();
        if (sZWID_selected.indexOf("," + szPostInfo_POST.getZWID() + ",")  == -1) {
           //这个不能显示，
           continue;
        }
%>
        <option value="<%=szPostInfo_POST.getZWID()%>"><%=szPostInfo_POST.getZWMC()%></option>
<%
    }
%>
      </select>
    </td>
  </tr>
</table>
<!-------------------职务选择结束---------------->