<!--#INCLUDE FILE="../HXINCLUDE/HXINCLUDEHEAD.ASP"--><%WS_M.HX_BargainAdd%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>合同录入</title>
<link rel=stylesheet type=text/css href="../HXinclude/HX_Style.css">
<script src="../HXinclude/HX_Function.js"></script>
</head>
<body topmargin="20" leftmargin="0" bottommargin="0">
<table width="596"  border="0" cellspacing="1" cellpadding="0" align=center bgcolor="#613c25">
  <tr>
    <td colspan="2" bgcolor=FFFBE8><table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="25" background="../hximages/titleline.gif"><font class="fontmenu">合同录入</font></td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor=BF9B73>
                         <form action="" name="form1" method="post">
                          <tr bgcolor="#FFFBE8"> 
                            <td width="80" bgcolor="#FFFBE8">开始日期</td>
                            <td width="195"> 
                              <select name="byys">
                                <%for i=year(date)-30 to year(date)+10%> 
                                <option value="<%=i%>"<%if i=year(date) then%> selected<%end if%>><%=i%></option>
                                <%next%> 
                              </select>
                              年 
                              <select name="bmms">
                                <%for i=1 to 12%> 
                                <option value="<%=i%>"<%if i=1 then%> selected<%end if%>><%=i%></option>
                                <%next%>
                              </select>
                              月 
                              <select name="bdds">
                                <%for i=1 to 31%> 
                                <option value="<%=i%>"<%if i=1 then%> selected<%end if%>><%=i%></option>
                                <%next%>
                              </select>
                            日</td>
                            <td width="80" bgcolor="#FFFBE8"><div align="right">结束日期</div></td>
                            <td> 
                              <select name="byyo">
                                <%for i=year(date)-20 to year(date)+20%> 
                                <option value="<%=i%>"<%if i=year(date)+1 then%> selected<%end if%>><%=i%></option>
                                <%next%> 
                              </select>
                              年 
                              <select name="bmmo">
                                <%for i=1 to 12%> 
                                <option value="<%=i%>"<%if i=1 then%> selected<%end if%>><%=i%></option>
                                <%next%> 
                              </select>
                              月 
                              <select name="bddo">
                                <%for i=1 to 31%> 
                                <option value="<%=i%>"<%if i=1 then%> selected<%end if%>><%=i%></option>
                                <%next%> 
                              </select>
                            日</td>
                          </tr>
                          <tr> 
                            <td width="80" bgcolor="#FFFBE8">签订时间</td>
                            <td colspan="3" bgcolor="#FFFBE8"> 
                              <select name="byy">
                                <%for i=year(date)-20 to year(date)+20%> 
                                <option value="<%=i%>"<%if i=year(date) then%> selected<%end if%>><%=i%></option>
                                <%next%> 
                              </select>
                              年 
                              <select name="bmm">
                                <%for i=1 to 12%> 
                                <option value="<%=i%>"<%if i=month(date) then%> selected<%end if%>><%=i%></option>
                                <%next%> 
                              </select>
                              月 
                              <select name="bdd">
                                <%for i=1 to 31%> 
                                <option value="<%=i%>"<%if i=1 then%> selected<%end if%>><%=i%></option>
                                <%next%> 
                              </select>
                            日</td>
                          </tr>
                          <tr> 
                            <td width="80" bgcolor="#FFFBE8">合同类别</td>
                            <td colspan="3" bgcolor="#FFFBE8">
							   <select name="WS_state"><%
							   set strs=WS_S.HX_SetRSD("","HX_bargaintype"," order by WS_OrderBy asc")
							   if strs.recordcount>0 then
							    do until strs.eof
							   %>
                              <option value="<%=strs("WS_Tid")%>"><%=strs("WS_bargaintypename")%></option>
							  <%
							    strs.movenext
								loop
							   end if
							   Call WS_S.HX_RSClose(strs)
							   %>
                              </select></td>
                          </tr>
                          <tr>
                            <td bgcolor="#FFFBE8">主要负责人</td>
                            <td colspan="3" bgcolor="#FFFBE8"><input type="text" name="WS_Name" size="20" readonly>&nbsp;&nbsp;
                            <input type="button" name="Submit" value=" 选 择 " onclick="openwin(510,500,'../HXInclude/HX_Checkuser.asp')"></td>
                          </tr>
                          <tr> 
                            <td width="80" bgcolor="#FFFBE8">合同附件</td>
                            <td colspan="3" bgcolor="#FFFBE8"><input type="text" name="WS_Annex" maxlength="200" size="40">&nbsp;&nbsp;<input type="button" name="Submit2" value="上传附件" onClick="window.open('../HXManpowerResource/UpUserAnnex.asp?editname=WS_Annex','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"></td>
                          </tr>
                          <tr> 
                            <td width="80" bgcolor="#FFFBE8">特别条款</td>
                            <td colspan="3" bgcolor="#FFFBE8"> 
<input type="text" name="WS_notice" maxlength="200" size="40">                            
&nbsp;</td>
                          </tr>
                          <tr> 
                            <td width="80" bgcolor="#FFFBE8">备注</td>
                            <td colspan="3" bgcolor="#FFFBE8"> 
                              <textarea name="WS_brief" cols="40" rows="5"></textarea>
                            &nbsp;</td>
                          </tr>
                          <tr align="right" bgcolor="#FFFBE8"> 
                            <td colspan="4"> 
                              <input type="submit" name="submit" value="录入合同">
                              <input type="hidden" name="action" value="addcompact">
							  <input type="hidden" name="WS_Uid" size="20" value="" readonly>
                                                      </td>
                          </tr></form>
                        </table>
    </td>
  </tr>
</table>

