⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 f_contractbrow1.asp

📁 一个很好的在线购物系统
💻 ASP
📖 第 1 页 / 共 2 页
字号:





<!--#include file="../include/Pubconn.asp"-->
<!--#include file="../include/PubFun.asp"--> 
<% username=Getuser()
userclass=TableVisitor("F_Tblcontract1",username)
if userclass<1  then
   response.write "<br>"
   response.write "<br>"
   response.write "<center><font size=2>抱歉,您没有此项操作权限!<a href=F_htjm.htm>返回</a>"
   response.end
end if
%>
<%
 Response.Buffer=FALSE
'***************************************
'
'Author:Ruphi  Update Time:2001-06-29
'功能说明:客户丢失报告记录信息浏览
'
'**************************************

%>

<%
hth=request("hth")
xsdb=request("xsdb")

%>
<%
set htcx=server.createobject("adodb.recordset")
str="select * from F_Tblcontract1  "
if hth<>"" then
   if xsdb<>"" then
      str=str&" where SaleDelegate='"&xsdb&"'  and contractnum='"&hth&"' "
   else
      str=str&" where  contractnum='"&hth&"' " 
   end if 

else
   if xsdb<>"" then
      str=str&" where SaleDelegate='"&xsdb&"'  "
   else
      str=str 
   end if 


end if 
htcx.open str&"order by id desc",pubconn,1
'response.write str&"order by id desc"
%>                                     
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>单据查询</title><link href="../cread.css" rel="stylesheet" type="text/css">
</head>

<script language="vbscript">
   sub Gopage()
        

        page1=document.form1.page1.value
        hth=document.myform.hth.value
        xsdb=document.myform.xsdb.value
        a="F_contractbrow1.asp?page="+page1+"&hth="+hth+"&xsdb="+xsdb
        window.location=a
      
   end sub
</script>  
<body bgcolor="#FFFFFF">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td width="100%"><b><font size="3"><img border="0" src="../pic/it_22.gif" width="34" height="15"></font>
     <font size="2">技术合同明细查询  
     </font>  
     </b><hr width="40%" size="1" align="left">                
                      
    </td>                
  </tr>                
</table>                     
<form method="post" action="F_contractbrow1.asp" name="myform">                                                      
<p>                                                      
                                                      
<div align="center">         
 <center>                                                      
                                               
                                                           
<table border="0" cellspacing="0" width="686" align="center" width="630" width="636">                                                            
  <tr>                                                             
    <td width="61" align="center" width="151" width="150" bgcolor="#F1E8DA">            
            
     <p align="right">       
     <font size="2">合同号       
     </font>       
          
     </p>          
          
    </td>                                                             
    <td width="67" align="center" width="104" width="104" bgcolor="#F1E8DA">                                                           
          
    <p align="left"> <input type="text" size="8" name="hth">         
           
    </p>            
            
    </td>                                                                      
    <td width="71" align="center" width="96" width="123" bgcolor="#F1E8DA">            
            
     <p align="right">       
     <font size="2">销售代表          
     </font>          
           
     </p>           
           
    </td>                                                           
                                                                
  </center>         
                                                                
    <td width="471" align="center" width="263" width="243" bgcolor="#F1E8DA">                                                                 
           
          
      <p align="left">   
      <font size="2">   
      <select  name="xsdb" style="width: 100" size="1">                               
                                       
       <option value="">全部</option>                                                   
                                                                   
            <%                                                             
    '业务员列表                                                             
    set rst=Server.CreateObject("ADODB.RecordSet")                                                             
    sql="Select * from A_StuffInfo Where SaleFlag='1' and delflag='0' and  Departcode like '"&Session("DepartID")&"%'"                                                             
    rst.open sql,pubconn,1  
                                                              
                                                                 
    %>                                                          
                                                           
       <%do while not rst.eof%>                                                              
        <option  value="<%=rst("StuffNum")%>"                    
        <%                   
        if xsdb<>"" then                   
            if rst("StuffNum")=xsdb then                   
               response.write("selected")                   
           end if                    
        end if                    
        %> ><%=rst("Name")%></option>                                                              
       <%                                                             
       rst.movenext                                                             
       loop                                                             
      set rst=nothing                                                             
        %>                                                             
                                                              
      </select>&nbsp;&nbsp;&nbsp;<input type="submit" value="查询" class="hand" style="background-color: #D1D1D1; border-style: solid; border-width: 1" > &nbsp; &nbsp;&nbsp;</font>               
                      
        
      
    </td>                                                                                             
 </tr>                                                                                            
</table>                                                                                     
</form>                                                                                     
 <%                          
 if htcx.eof then%>                          
                  
<font size="2">无任何记录!            
<p align="center">                      
<input type="button" value="新增"  onclick="location.href='F_contract1.asp'"  class="hand" style="background-color: #D1D1D1; border-style: solid; border-width: 1">                  
                
   <a href="F_htjm.htm">返回</a>               
                             
 <%            
 response.end            
 else                                                                                               
   if request.querystring("page")<>"" then                                                                                              
   page=cint(request.querystring("page"))                                                                                             
else                                                                                             
   page=1                                                                                             
end if                                                                                             
                                                                                             
htcx.pagesize=10                                                                                            
if page>=htcx.pagecount then                                                                                             
   page=htcx.pagecount                                                                                             
else                                                                                             
   if page<1 then                                                                                             
      page=1                                                                                             
   end if                                                                                             
end if                                                                                             

⌨️ 快捷键说明

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