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

📄 siainsearch.asp

📁 1.多种查询方式
💻 ASP
字号:
<%@language=vbscript%>
<%
response.buffer=true
Response.Expires = 0
Response.CacheControl = "Private" 
%>
<%'On Error Resume Next%>
<%const title="入库报告查询"%>
<!-- #include file=../data/username.inc-->
<!-- #include file=../data/connect.asp-->
<!--#include file=../data/myPrg.asp-->
<!-- #include file=../data/flag.inc-->
<html>
<head>
<title><%=title%></title>
<link rel=stylesheet type=text/css href=../data/forum.css>
<meta http-equiv="Content-Type"content="text/html; charset=gb_2312-80">
<%
if flag = 6 then
elseif flag < 4 then 
	sql = "select prod_id,prod_no,prod_type,prod_danwei,prod_flag,prod_pinming from product where prod_companyid = "&newcompanyid&" and prod_disabled = 0 and prod_dir_flag = 0 order by prod_no asc"
	sql2 = "select distinct prod_type,prod_flag from product where prod_flag in (select prod_flag from product where prod_companyid = "&newcompanyid&" group by prod_flag) and prod_dir_flag = 0 order by prod_flag asc"
	sql3 = "select distinct prod_danwei,prod_flag from product where prod_flag in (select prod_flag from product where prod_companyid = "&newcompanyid&" group by prod_flag) and prod_dir_flag = 0 order by prod_flag asc"
end if

%>
<script language="JavaScript">
<!--

function db2excel()
{
document.hamier2.action='userdb2excel_in.asp';
document.hamier2.submit();
}

// -->
</script>
</head>
<body topmargin="0">
<%
showtitle(title)
year_now =year(date())
month_now = month(date())
day_now = day(date()) 

%>
<font color=blue>
     
         <form method="POST" action="siabaobiao_in_view.asp" name="hamier2">
           <p align=center><font color=red>请在以下的表格中选择相关的查询条件</font>
<p>     <table align=center border=0>
  



<tr>
<td  nowrap>进仓编号SIA:</td>
<td><input  class=smallInput type="text" name="sia" size="27" maxlength="20"> 
</td>
</tr>             
  <td>
   <td><br>
   <input class=buttonface type=hidden name=companyid value=<%=newcompanyid%>> 
   <input class=buttonface type=submit name=ok value=" 查  询 ">
   <input class=buttonface type=button name=ok2 value="报表生成" onclick="javascript:db2excel();"> 
 </tr>
              </table> 
          </form> 
  
<!--#include file=../data/copyright.asp-->
<script LANGUAGE="javascript"> 
    changelocation(document.hamier2.biglocation.options[document.hamier2.biglocation.selectedIndex].value); 
</script>  
</body>
</html>
<%
call closedatabase
%>

⌨️ 快捷键说明

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