carbase_search.asp

来自「OFFICE办公自动化」· ASP 代码 · 共 170 行

ASP
170
字号
<%
'OA 表单生成器1.0
'功能:查询车辆基本信息
%>

<!--#include file="../inc/Secure.asp"-->
<!--#include file="../inc/conn.asp"-->
<!--#include file="../inc/Const.asp"-->

<%
'response.buffer=false
'------------------------------------------------设置参数
LoginID=trim(Session("LoginID")) : if LoginID="" then LoginID=0 '当前用户ID
'------------------------------------------------
%>

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../css/main.css" type=text/css>
<title>main</title>
<script src="../js/Popup.js"></script>
<script src="../js/user_select.js"></script>
<script language="JavaScript">
<!--
function selectmanager(form){
	userid=SelectUser()
	if (userid){
		form.jsy.value=userid.split("_")[0]
		form.jsyxm.value=userid.split("_")[1]
	}
}
//-->
</script>
</head>


<body topmargin="10" leftmargin="10">

<!--#include file="CarBase_menu.html"-->

<hr width="100%" size=1 color="#000000">
<br>

<div align="center">
<table width="500" cellspacing="1" cellpadding="2" class="tab">
  <tr>
    <td width="100%" class="tdTop">
      <table border="0" width="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td class="tdTop">
            <p align="left"><img border="0" src="../images/icon_title.gif" align="left">查询车辆基本信息</p>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td width="25%" class="td1">
    <form name="eventfrm" method="GET" action="CarBase_list.asp">

      <table border="0" width="100%" cellspacing="10" cellpadding="0">
        <tr>
          <td width="130" align="right" valign="top" nowrap>登记证书编号:</td>
          <td width="370" nowrap><input type="text" name="zsbh" size="40" maxlength="250" class="input">
          </td>
        </tr>
        <tr>
          <td width="130" align="right" valign="top" nowrap>车辆所在单位:</td>
          <td width="370" nowrap>
          	<select size="1" name="szdw" class="input">
          		<option value="">不限</option>
          	  <option value="<%=Session("DepID")%>" <%if show_area=Session("DepID") then response.write"selected"%>><%=GetTableValue("tbioaDepartment","Name","id",Session("DepID"))%></option>
          	  <%Call pOptions("tbioaDepartment","Name",Session("DepID"),"","·")%>
          	</select>
          </td>
        </tr>
        <tr>
          <td width="130" align="right" valign="top" nowrap>驾驶员:</td>
          <td width="370" nowrap><input type=hidden name="jsy">
            <input type=text name="jsyxm" class=input disabled>
            <input TYPE="button" class="button0" value="选择" name="select" onclick="selectmanager(this.form)" onmouseout=className="button0" onmouseover=className="button1">
          </td>
        </tr>
        <tr>
          <td width="130" align="right" valign="top" nowrap>机动车所有人:</td>
          <td width="370" nowrap><input type="text" name="syr" size="40" maxlength="250" class="input">
          </td>
        </tr>
        <tr>
          <td width="130" align="right" valign="top" nowrap>登记日期:</td>
          <td width="370" nowrap><input TYPE="TEXT" SIZE="12" MAXLENGTH="12" NAME="djrq" class="input" readonly> <a href=# title="选择日期" onClick="fPopUpDlg('../js/calendar.htm', document.eventfrm.djrq, 'winpop', 234, 261);return false"><img src="../images/datetime.gif" border=0></a> 至
	<input TYPE="TEXT" SIZE="12" MAXLENGTH="12" NAME="djrq_end" class="input" readonly> <a href=# title="选择日期" onClick="fPopUpDlg('../js/calendar.htm', document.eventfrm.djrq_end, 'winpop', 234, 261);return false"><img src="../images/datetime.gif" border=0></a>
          </td>
        </tr>
        <tr>
          <td width="130" align="right" valign="top" nowrap>机动车编号:</td>
          <td width="370" nowrap><input type="text" name="bh" size="40" maxlength="250" class="input">
          </td>
        </tr>
        <tr>
          <td width="130" align="right" valign="top" nowrap>车辆类型:</td>
          <td width="370" nowrap><input type="text" name="cllx" size="40" maxlength="250" class="input">
          </td>
        </tr>
        <tr>
          <td width="130" align="right" valign="top" nowrap>车辆品牌:</td>
          <td width="370" nowrap><input type="text" name="clpp" size="40" maxlength="250" class="input">
          </td>
        </tr>
        <tr>
          <td width="130" align="right" valign="top" nowrap>车辆型号:</td>
          <td width="370" nowrap><input type="text" name="clxh" size="40" maxlength="250" class="input">
          </td>
        </tr>
        <tr>
          <td width="130" align="right" valign="top" nowrap>车辆识别代号/车架号:</td>
          <td width="370" nowrap><input type="text" name="cjh" size="40" maxlength="250" class="input">
          </td>
        </tr>
        <tr>
          <td width="130" align="right" valign="top" nowrap>国产/进口:</td>
          <td width="370" nowrap><input type="text" name="gcjk" size="40" maxlength="250" class="input">
          </td>
        </tr>
        <tr>
          <td width="130" align="right" valign="top" nowrap>发动机号:</td>
          <td width="370" nowrap><input type="text" name="fdjh" size="40" maxlength="250" class="input">
          </td>
        </tr>
        <tr>
          <td width="130" align="right" valign="top" nowrap>燃料种类:</td>
          <td width="370" nowrap><input type="text" name="rlzl" size="40" maxlength="250" class="input">
          </td>
        </tr>
        <tr>
          <td width="130" align="right" valign="top" nowrap>额定载货质量:</td>
          <td width="370" nowrap><input type="text" name="edzhzl" size="40" maxlength="250" class="input">
          </td>
        </tr>
        <tr>
          <td width="130" align="right" valign="top" nowrap>额定载客:</td>
          <td width="370" nowrap><input type="text" name="edzk" size="40" maxlength="250" class="input">
          </td>
        </tr>
        <tr>
          <td width="100%" colspan="2">
           <input type="submit" value="查询" class="button0" onmouseout=className="button0" onmouseover=className="button1"> <input type="reset" value="全部重写" class="button0" onmouseout=className="button0" onmouseover=className="button1">
          </td>
        </tr>
      </table>

    </form>
    </td>
  </tr>
  <tr>
    <td width="25%" class="tdBottom">
    </td>
  </tr>
</table>
</div>
</body>

</html>


<%'释放对象变量
oConn.close
%> 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?