PactTempletSearch.jsp
资源名称:OA.rar [点击查看]
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:4k
源码类别:
OA系统
开发平台:
Java
- <%@ page contentType="text/html; charset=gb2312"%>
- <%@ page import="com.gforce.gfoa.*,com.gforce.currency.*,java.util.*" %>
- <jsp:include page="/CheckLogin.jsp" flush="true"/>
- <%
- Session m_session = new Session(session);
- Request m_request = new Request(request);
- int iPactType=m_request.GetInt("PactType");
- %>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta http-equiv="pragma" content="no-cache">
- <title>合同管理-- GForce OA 2.0</title>
- <link href="/css/txt.jsp" rel="stylesheet" type="text/css">
- <script language="JavaScript" src="/js/changestyle.js"></script>
- <SCRIPT language="JavaScript" src="/Calendar/PopUpCalendarDlg.js"></SCRIPT>
- <script language="javascript">
- function checktempletsearch(objform)
- {
- with(objform)
- {
- if(BuildTimeFrom.value!="")
- {
- if(!isDate(BuildTimeFrom.value))
- {
- alert("日期格式错误,请参照“2002-02-18”格式重新输入!");
- BuildTimeFrom.focus();
- return false;
- }
- }
- if(BuildTimeTo.value!="")
- {
- if(!isDate(BuildTimeTo.value))
- {
- alert("日期格式错误,请参照“2002-02-18”格式重新输入!");
- BuildTimeTo.focus();
- return false;
- }
- }
- if(BuildTimeFrom.value!="" && BuildTimeTo.value!="" && BuildTimeFrom.value>BuildTimeTo.value)
- {
- alert("开始日期不能大于结束日期!");
- BuildTimeFrom.focus();
- return false;
- }
- }
- }
- </script>
- </head>
- <body bgcolor="<%=m_session.GetString("BackColor")%>" leftmargin="0" topmargin="0">
- <table width="100%" height="100%" border="0" align="center" cellspacing="0">
- <tr>
- <td align="center" valign="top"><p> </p>
- <form action="PactTempletManage.jsp?PactType=<%=iPactType%>" method="post" name="PactTempletSearch" onsubmit="return checktempletsearch(this)">
- <table width="90%" border="1" cellpadding="3" cellspacing="0" bordercolordark="#ffffff" bordercolorlight="#0a0a0a" style="">
- <tr align="center" valign="middle" bgcolor="<%=m_session.GetString("TitleColor")%>">
- <th nowrap colspan=2 align="center">合同模板(标准合同)查询</th>
- </tr>
- <tr>
- <td align="right" width="17%">
- 模板名称:
- </td>
- <td align="left" width="81%">
- <input type="text" name="TempletName" size="28"></td>
- </tr>
- <tr>
- <td align="right" width="17%">
- 模板内容:</td>
- <td align="left" width="81%">
- <input type="text" name="TempletContent" size="28"></td>
- </tr>
- <tr>
- <td align="right" width="17%">
- 建立日期:</td>
- <td align="left" width="81%">
- 从<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>
- </tr>
- <tr>
- <td align="right" width="17%">
- 建立用户:</td>
- <td align="left" width="81%">
- <input type="text" name="BuildUserName" size="28"></td>
- </tr>
- <tr>
- <th align="center" valign="top" colspan="2">
- <input type="submit" value="搜索" name="Search">
- <input type="reset" value="重置" name="Reset">
- <input type="button" value="返回" name="B2" onclick="javascript:self.location='PactTempletManage.jsp?PactType=<%=iPactType%>'">
- </th>
- </tr>
- </table>
- </form>
- </td>
- </tr>
- </table>
- </body>
- </html>