PactTempletSearch.jsp
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:4k
源码类别:

OA系统

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312"%>
  2. <%@ page import="com.gforce.gfoa.*,com.gforce.currency.*,java.util.*" %>
  3. <jsp:include page="/CheckLogin.jsp" flush="true"/>
  4. <%
  5. Session m_session = new Session(session);
  6. Request m_request = new Request(request);
  7. int iPactType=m_request.GetInt("PactType");
  8. %>
  9. <html>
  10.   <head>
  11.     <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta http-equiv="pragma" content="no-cache">
  12.     <title>合同管理-- GForce OA 2.0</title>
  13.     <link href="/css/txt.jsp" rel="stylesheet" type="text/css">
  14.     <script language="JavaScript" src="/js/changestyle.js"></script>
  15.     <SCRIPT language="JavaScript" src="/Calendar/PopUpCalendarDlg.js"></SCRIPT>
  16.     <script language="javascript">
  17.     function checktempletsearch(objform)
  18.     {
  19.       with(objform)
  20.       {
  21.         if(BuildTimeFrom.value!="")
  22.         {
  23.           if(!isDate(BuildTimeFrom.value))
  24.           {
  25.             alert("日期格式错误,请参照“2002-02-18”格式重新输入!");
  26.             BuildTimeFrom.focus();
  27.             return false;
  28.           }
  29.         }
  30.         if(BuildTimeTo.value!="")
  31.         {
  32.           if(!isDate(BuildTimeTo.value))
  33.           {
  34.             alert("日期格式错误,请参照“2002-02-18”格式重新输入!");
  35.             BuildTimeTo.focus();
  36.             return false;
  37.           }
  38.         }
  39.         if(BuildTimeFrom.value!="" && BuildTimeTo.value!="" && BuildTimeFrom.value>BuildTimeTo.value)
  40.         {
  41.           alert("开始日期不能大于结束日期!");
  42.           BuildTimeFrom.focus();
  43.           return false;
  44.         }
  45.       }
  46.     }
  47.     </script>
  48.   </head>
  49.   <body bgcolor="<%=m_session.GetString("BackColor")%>" leftmargin="0" topmargin="0">
  50.     <table width="100%" height="100%" border="0" align="center" cellspacing="0">
  51.       <tr>
  52.         <td align="center" valign="top"><p> </p>
  53.           <form action="PactTempletManage.jsp?PactType=<%=iPactType%>" method="post" name="PactTempletSearch" onsubmit="return checktempletsearch(this)">
  54.             <table width="90%" border="1" cellpadding="3" cellspacing="0" bordercolordark="#ffffff" bordercolorlight="#0a0a0a" style="">
  55.               <tr align="center" valign="middle" bgcolor="<%=m_session.GetString("TitleColor")%>">
  56.                 <th nowrap colspan=2 align="center">合同模板(标准合同)查询</th>
  57.               </tr>
  58.               <tr>
  59.                 <td align="right" width="17%">
  60.                   模板名称:
  61.                 </td>
  62.                 <td align="left" width="81%">
  63.                 <input type="text" name="TempletName" size="28"></td>
  64.               </tr>
  65.               <tr>
  66.                 <td align="right" width="17%">
  67.                   模板内容:</td>
  68.                 <td align="left" width="81%">
  69.                 <input type="text" name="TempletContent" size="28"></td>
  70.               </tr>
  71.               <tr>
  72.                 <td align="right" width="17%">
  73.                   建立日期:</td>
  74.                 <td align="left" width="81%">
  75.                   从<input type="text" name="BuildTimeFrom" size="12" onFocus="JavaScript:this.value=fPopUpCalendarDlg(this.value);" onDblClick="JavaScript:this.value=fPopUpCalendarDlg(this.value);">到<input type="text" name="BuildTimeTo" size="12"  onFocus="JavaScript:this.value=fPopUpCalendarDlg(this.value);" onDblClick="JavaScript:this.value=fPopUpCalendarDlg(this.value);"></td>
  76.               </tr>
  77.               <tr>
  78.                 <td align="right" width="17%">
  79.                   建立用户:</td>
  80.                 <td align="left" width="81%">
  81.                 <input type="text" name="BuildUserName" size="28"></td>
  82.               </tr>
  83.               <tr>
  84.                 <th align="center" valign="top" colspan="2">
  85.                   <input type="submit" value="搜索" name="Search">
  86.            <input type="reset" value="重置" name="Reset">
  87.            <input type="button" value="返回" name="B2" onclick="javascript:self.location='PactTempletManage.jsp?PactType=<%=iPactType%>'">
  88.          </th>
  89.               </tr>
  90.             </table>
  91.           </form>
  92.         </td>
  93.       </tr>
  94.     </table>
  95.   </body>
  96. </html>