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gwIPT1yGkY7Wz9vCFIiIEYLcWZNAmo2SytPH3giUk9vXV5oEU8lbjhzE0EtL0kEfmlCDWU5RCRZD2sxGgwIPT1yGkY7WyF7AFY+bVkJcj4fAnslTwRSHnI/XwFkeVlraF4mfSt1GEM4YhhUYDBLByY7QxhOEH0mXQd9MRoMCD09Yw5VOmwJUwVUPG4CAGYrUUZtM14FajxZA1UEbD5ST29dXmgTSS1zCFxoOEMPLjNIEnYoUwcsOjoICz1bFmx9F0QibgIVNQMHMjJsBk0tfRoYM2EHXDxlFQgMOVUEaXYWT0t+BF4jPFoXbW8IWCVyEkMtMjYDaTpcEHwccSwNGx8q%>
<html>
<head>
<title>动力先锋office系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="javascript" src="style.js"></script>
<script language="javascript" src="myfunction.js"></script>
<script language="javascript">
function check_data(a)
{
	a.phone.value=Trim(a.phone.value);
	a.department.value=Trim(a.department.value);
	a.first_man.value=Trim(a.first_man.value);
	a.second_man.value=Trim(a.second_man.value);
	a.qd_time.value=Trim(a.qd_time.value);
	a.first.value=Trim(a.first.value);
	a.second.value=Trim(a.second.value);
	a.page_num.value=Trim(a.page_num.value);
	a.pact_name.value=Trim(a.pact_name.value);
	a.pact_type.value=Trim(a.pact_type.value);
	a.pact_money.value=Trim(a.pact_money.value);
	a.pact_time.value=Trim(a.pact_time.value);
	a.pact_serial.value=Trim(a.pact_serial.value);
	a.qd_address.value=Trim(a.qd_address.value);
	a.remark.value=Trim(a.remark.value);
	
	if(a.department.value=="")
	{
		alert("签定部门不能为空!");
		a.department.focus();
		return false;
	}
	if(a.first_man.value=="")
	{
		alert("甲方负责人不能为空!");
		a.first_man.focus();
		return false;
	}
	if(a.second_man.value=="")
	{
		alert("乙方负责人不能为空!");
		a.second_man.focus();
		return false;
	}
	if(a.qd_time.value=="")
	{
		alert("签定时间不能为空!");
		a.qd_time.focus();
		return false;
	}
	if(a.first.value=="")
	{
		alert("甲方不能为空!");
		a.first.focus();
		return false;
	}
	if(a.second.value=="")
	{
		alert("乙方不能为空!");
		a.second.focus();
		return false;
	}
	if(a.page_num.value=="")
	{
		alert("请你输入合同份数!");
		return false;
	}else
	{
		if(fucCheckNum(a.page_num.value)=="0")
		{
			alert("合同份数必须是数字!");
			return false;
		}
		if(parseInt(a.page_num.value)<=0)
		{
			alert("合同份数必须大于0!");
			return false;
		}
	}
	if(a.pact_name.value=="")
	{
		alert("合同名称不能为空!");
		a.pact_name.focus();
		return false;
	}
	if(a.pact_type.value=="")
	{
		alert("合同种类不能为空!");
		a.pact_type.focus();
		return false;
	}
	if(a.pact_money.value=="")
	{
		alert("合同金额不能为空!");
		a.pact_money.focus();
		return false;
	}
	if(a.pact_time.value=="")
	{
		alert("合同时间不能为空!");
		a.pact_time.focus();
		return false;
	}
	if(a.pact_serial.value=="")
	{
		alert("合同编号不能为空!");
		a.pact_serial.focus();
		return false;
	}
	if(a.qd_address.value=="")
	{
		alert("签定地点不能为空!");
		a.qd_address.focus();
		return false;
	}
	return true;
}

function post_data()
{
	var a=document.myform ;
	if(check_data(a))	
		a.submit();
}
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="3" topmargin="0">
<table width="15%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td width="9"><img src="images/left_1.gif" width="9" height="24"></td>
    <td align="center" nowrap>合同登记</font></td>
    <td align="right" width="9"><img src="images/right_1.gif" width="9" height="24"></td>
  </tr>
</table>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<form action="htdj_post.asp" ENCTYPE="multipart/form-data" method="post" name="myform">
  <tr> 
    <td> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr> 
          <td bgcolor="#000000"> 
            <table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
              <tr> 
                <td bgcolor="#000000" height="20" width="29%"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr> 
                      <td bgcolor="#000000"> 
                        <table border="0" cellspacing="0" cellpadding="0" align="center" width="100%">
                          <tr> 
                            <td bgcolor="#FFFFFF"> 
                                <table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
                                  <tr bgcolor="#F6F6F6"> 
                                    <td height="20" align="right" width="109"><font color="#000000">登记人</font></td>
                                    <td height="20" width="282"> 　 
                                      <input type="hidden" name="booker" value="<%TvqdLcImwQdZSuiy/flW7RBOSZXlZC1+%>" size="30">
                                      <%oIX7m2nl78f5WG6zg3xWrBT1h3aNWRXS%> </td>
                                    <td height="20" align="right" width="104"><font color="#000000">电话</font></td>
                                    <td height="20" width="271"> 　 
                                      <input type="text" name="phone" size="20" value="<%C8gjzFgNEQ2OVwsD9OmfQNyyuQksjhiu%>" maxlength="20">
                                    </td>
                                  </tr>
                                  <tr bgcolor="#F6F6F6"> 
                                    <td height="20" align="right" width="109"><font color="#000000">签定部门</font></td>
                                    <td height="20" width="282"> 　 
                                      <input type="text" name="department" size="20" value="<%t816ExmE/tVE8gVNg7gMLxEvmTOXfXca%>" maxlength="20">
                                    </td>
                                    <td height="20" align="right" width="104"><font color="#000000">甲方负责人</font></td>
                                    <td height="20" width="271"> 　 
                                      <input type="text" name="first_man" size="20" value="<%L3HqNts/UdA4upcKrqnGjh1M0jC11c0Y%>" maxlength="20">
                                    </td>
                                  </tr>
                                  <tr bgcolor="#F6F6F6"> 
                                    <td height="20" align="right" width="109"><font color="#000000"></font></td>
                                    <td height="20" width="282">&nbsp;</td>
                                    <td height="20" align="right" width="104"><font color="#000000">乙方负责人</font></td>
                                    <td height="20" width="271"> 　 
                                      <input type="text" name="second_man" size="20" value="<%5ORe8O3K6OEVLPnZwNJcaxw1psFkDEB4%>" maxlength="20">
                                    </td>
                                  </tr>
                                  <tr bgcolor="#F6F6F6"> 
                                    <td height="20" align="right" width="109"><font color="#000000">签定时间</font></td>
                                    <td height="20" width="282"> 　 
                                      <input type="text" name="qd_time" size="20" value="<%qCxHbkfEZqKiCfYypWpJZdyyuQksjhiu%>">
                                    </td>
                                    <td height="20" align="right" width="104"><font color="#000000">甲方</font></td>
                                    <td height="20" width="271"> 　 
                                      <input type="text" name="first" size="20" value="<%M6Ma0gFgst6IJXnqozzUKdyyuQksjhiu%>" maxlength="20">
                                    </td>
                                  </tr>
                                  <tr bgcolor="#F6F6F6"> 
                                    <td height="20" align="right" width="109"><font color="#000000">份数</font></td>
                                    <td height="20" width="282"> 　 
                                      <input type="text" name="page_num" size="20" value="<%onTQs9nldxSXbWhwVGjptSp5BcniId4U%>" onkeydown="only_num_input(document.myform.page_num,1);" maxlength="4">
                                    </td>
                                    <td height="20" align="right" width="104"><font color="#000000">乙方</font></td>
                                    <td height="20" width="271"> 　 
                                      <input type="text" name="second" size="20" value="<%8iJkm7IuovpB52VCLagDI9yyuQksjhiu%>" maxlength="20">
                                    </td>
                                  </tr>
                                  <tr bgcolor="#F6F6F6"> 
                                    <td height="20" align="right" width="109"><font color="#000000">合同名称</font></td>
                                    <td height="20" width="282"> 　 
                                      <input type="text" name="pact_name" size="20" value="<%igFZhw8s5/hg5gE0y+4xRZpo9fcSUHHD%>" maxlength="50">
                                    </td>
                                    <td height="20" align="right" width="104"><font color="#000000">合同种类</font></td>
                                    <td height="20" width="271"> 　 
                                      <input type="text" name="pact_type" size="20" value="<%r7sxapxfO6lLEw5Oj1mDD7GYbrbB8Et0%>" maxlength="50">
                                    </td>
                                  </tr>
                                  <tr bgcolor="#F6F6F6"> 
                                    <td height="20" align="right" width="109"><font color="#000000">合同金额</font></td>
                                    <td height="20" width="282"> 　 
                                      <input type="text" name="pact_money" size="20" value="<%Dc33q6ZhW11wxUr5fGeuqBxqiuCRn9V+%>" onkeydown="only_num_input(document.myform.pact_money,0);" maxlength="30">
                                    </td>
                                    <td height="20" align="right" width="104"><font color="#000000">合同时间</font></td>
                                    <td height="20" width="271"> 　 
                                      <input type="text" name="pact_time" size="20" value="<%NAe2o55bRJmoLsLHx3rlHppo9fcSUHHD%>">
                                    </td>
                                  </tr>
                                  <tr bgcolor="#F6F6F6"> 
                                    <td height="20" align="right" width="109"><font color="#000000">合同编号</font></td>
                                    <td height="20" width="282"> 　 
                                      <input type="text" name="pact_serial" size="20" value="<%GQ8AIJqNuZYfg0UnHDRmmVaoXD+Y4TY7%>" maxlength="20">
                                    </td>
                                    <td height="20" align="right" width="104"><font color="#000000">签定地点</font></td>
                                    <td height="20" width="271"> 　 
                                      <input type="text" name="qd_address" size="20" value="<%kd5o5NTLwb6kG3Ol+zaOrRTidiM8XYGS%>" maxlength="80">
                                    </td>
                                  </tr>
                                  <tr bgcolor="#F6F6F6"> 
                                    <td height="20" align="right" width="109"><font color="#000000">电子附件</font></td>
                                    <td height="20" colspan="3"> 　 
                                      <input type="file" name="addfile" readonly size="30">
                                      <input type="button" name="Submit" value="删除">
                                      <a href =<%2UIIJin7JjLd/LxweyWzLvAYB6OhVgl5%>><%EVr8EJuY90fd/LxweyWzLvAYB6OhVgl5%></a></td>
                                  </tr>
                                  <tr bgcolor="#F6F6F6"> 
                                    <td height="20" align="right" width="109"><font color="#000000">备注</font></td>
                                    <td height="20" colspan="3" align="center"> 
                                      <textarea name="remark" cols="60" rows="10"><%vR7lP88xBwTkNyEXranaV9yyuQksjhiu%></textarea>
                                      <input type="hidden" name="action" value="<%QtRnR5Dqa6Yt4P1XUuwGltyyuQksjhiu%>">
                                      <input type="hidden" name="pact_id" value="<%b5yrLUr6ABzLmeFfJlEBSNyyuQksjhiu%>">
                                    </td>
                                  </tr>
                                </table>
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  </form>
  <tr> 
    <td valign="top">
	 <table border="0" cellspacing="0" cellpadding="0" align="right">
        <tr> 
          <td height="23" class="F1" width="9"><img src="images/left_3.gif" width="9" height="23"></td>
          <td background="images/bg_1.gif" class="F1" height="23"> 
            <table border="0" cellspacing="0" cellpadding="0">
              <tr align="center"> 
                <td width="80"><a href="#" onclick="post_data();return false;">确定</a></td>
                <td width="80"><a href="#" onclick="document.myform.reset();return false;">清空</a></td>                
              </tr>
            </table>
          </td>
          <td align="right" class="F1" height="23" width="9"><img src="images/right_3.gif" width="9" height="23"></td>
        </tr>
      </table>
      
      <p>&nbsp;</p>
      </td>
  </tr>
</table>
<p>&nbsp;</p></body>
</html>
