📄 xiaoshow.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
Set ObjReference = Server.CreateObject("jxc1.check")
ObjReference.myfilee()
%>
<!--#include file="../../Connections/jxc.asp" -->
<%
Dim Recordset1__MMColParam
Recordset1__MMColParam = "1"
If (Request.QueryString("id") <> "") Then
Recordset1__MMColParam = Request.QueryString("id")
End If
%>
<%
Dim Recordset1
Dim Recordset1_numRows
Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_jxc_STRING
Recordset1.Source = "SELECT * FROM xiao WHERE id = " + Replace(Recordset1__MMColParam, "'", "''") + ""
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()
Recordset1_numRows = 0
%>
<%
Dim Recordset2__MMColParam
Recordset2__MMColParam = (Recordset1.Fields.Item("shouguest").Value)
If (Request("MM_EmptyValue") <> "") Then
Recordset2__MMColParam = Request("MM_EmptyValue")
End If
%>
<%
Dim Recordset2
Dim Recordset2_numRows
Set Recordset2 = Server.CreateObject("ADODB.Recordset")
Recordset2.ActiveConnection = MM_jxc_STRING
Recordset2.Source = "SELECT * FROM guest WHERE gidcode = '" + Replace(Recordset2__MMColParam, "'", "''") + "'"
Recordset2.CursorType = 0
Recordset2.CursorLocation = 2
Recordset2.LockType = 1
Recordset2.Open()
Recordset2_numRows = 0
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>www.71base.com</title>
<link href="CSS.CSS" rel="stylesheet" type="text/css">
</head>
<body oncontextmenu="return false" >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="83%"><img src="images/icon-page.gif" width="16" height="15"><font color="#4289F4">出库详细信息>></font></td>
<td width="17%"><strong><font color="#6AB5FF">
<input name="imageonclick="document.execCommand('print','true','true')"" type=image onClick="document.execCommand('print','true','true')" value="打印" src="images/printpage.gif" width="16" height="16">
<input name="imageonclick="document.execCommand('saveas','true','.htm')"" type=image onClick="document.execCommand('saveas','true','.htm')" value="保存" src="images/saveas.gif" width="16" height="16">
</font></strong></td>
</tr>
</table>
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#0066FF">
<tr bgcolor="#F2F2F2">
<td width="15%"> <div align="right">ID编号:</div></td>
<td width="20%"> <%content = Server.HTMLEncode((Recordset1.Fields.Item("id").Value))
response.write content%>
</td>
<td width="13%"> <div align="right">出库编号:</div></td>
<td width="16%"> <%content = Server.HTMLEncode((Recordset1.Fields.Item("xidcode").Value))
response.write content%>
</td>
<td width="17%"> <div align="right">供货客户:</div></td>
<td width="19%"> <%content = Server.HTMLEncode((Recordset1.Fields.Item("gidcode").Value))
response.write content%>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td> <div align="right">货品编号:</div></td>
<td> <%content = Server.HTMLEncode((Recordset1.Fields.Item("hidcode").Value))
response.write content%>
</td>
<td> <div align="right">提货客户:</div></td>
<td> <%content = Server.HTMLEncode((Recordset1.Fields.Item("shouguest").Value))
response.write content%>
</td>
<td> <div align="right">出库时间:</div></td>
<td> <%content = Server.HTMLEncode((Recordset1.Fields.Item("date").Value))
response.write content%>
</td>
</tr>
<tr bgcolor="#F2F2F2">
<td><div align="right">提货客户名:</div></td>
<td colspan="2"> <%=Recordset2("gname")%></td>
<td><div align="right">提货客地址:</div></td>
<td colspan="2"> <%=Recordset2("gaddress")%></td>
</tr>
<tr bgcolor="#F2F2F2">
<td><div align="right">提货联系人:</div></td>
<td colspan="2"> <%= Recordset2 ("gperson") %></td>
<td><div align="right">提货客户联系:</div></td>
<td colspan="2"> <%=Recordset2 ("gtel1")%> <%=Recordset2("gmail")%> </td>
</tr>
<tr bgcolor="#F2F2F2">
<td> <div align="right">货品:</div></td>
<td> <%content = Server.HTMLEncode((Recordset1.Fields.Item("huo").Value))
response.write content%>
</td>
<td> <div align="right">操作员:</div></td>
<td> <%content = Server.HTMLEncode((Recordset1.Fields.Item("man").Value))
response.write content%>
</td>
<td> <div align="right">部门:</div></td>
<td> <%content = Server.HTMLEncode((Recordset1.Fields.Item("bumeng").Value))
response.write content%> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td> <div align="right">出库数量:</div></td>
<td> <%content = Server.HTMLEncode((Recordset1.Fields.Item("shu").Value))
response.write content%>
<%content = Server.HTMLEncode((Recordset1.Fields.Item("liang").Value))
response.write content%>
</td>
<td> <div align="right">出库价格:</div></td>
<td> <%content = Server.HTMLEncode((Recordset1.Fields.Item("jiage").Value))
response.write content%>
元</td>
<td> <div align="right">付款方式:</div></td>
<td> <%content = Server.HTMLEncode((Recordset1.Fields.Item("fukuanfangshi").Value))
response.write content%>
</td>
</tr>
<tr bgcolor="#F2F2F2">
<td> <div align="right">库名:</div></td>
<td> <%content = Server.HTMLEncode((Recordset1.Fields.Item("ku").Value))
response.write content%>
</td>
<td> <div align="right">出库状态:</div></td>
<td> <%content = Server.HTMLEncode((Recordset1.Fields.Item("zhuangtai").Value))
response.write content%>
</td>
<td> <div align="right">出库性质:</div></td>
<td> <%content = Server.HTMLEncode((Recordset1.Fields.Item("xingzhi").Value))
response.write content%>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td>
<div align="right">总价格:</div></td>
<td colspan="5"> <%content = Server.HTMLEncode((Recordset1.Fields.Item("zongjia").Value))
response.write content%>
元</td>
</tr>
<tr bgcolor="#FFFFFF">
<td> <div align="right">备注:</div></td>
<td colspan="5"> <p> <% content = Server.HTMLEncode(Recordset1.Fields.Item("other").Value)
content=replace(content,chr(13),"<br> ")
response.write content%>
<br>
</p>
<p> </p>
</td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>
<%
Recordset2.Close()
Set Recordset2 = Nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -