📄 dzshow.asp
字号:
<!--#include file="connection.asp" -->
<!--#include file="tools.asp" -->
<!--#include file="check.asp"-->
<%
table="dzdj"
id=request("id")
set rs=Server.CreateObject("ADODB.RECORDSET")
rs.Open "select * from " & table & " where id =" & id ,conn
xsdw=rs("xsdw")
fph=rs("fph")
fptime=rs("fptime")
dzlb=rs("dzlb")
mlbh=rs("mlbh")
dzname=rs("dzname")
dzgg=rs("dzgg")
dw=rs("dw")
sl=rs("sl")
grdj=rs("grdj")
grje=rs("grje")
mldj=rs("mldj")
mlje=rs("mlje")
zzdw=rs("zzdw")
gldw=rs("gldw")
dzgly=rs("dzgly")
dzlry=rs("dzlry")
dzlrtime=rs("dzlrtime")
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="style.css">
<title>低值易耗品卡片</title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<SCRIPT language=JavaScript>
<!-- // RightClickMenu
var intDelay=1; //设置菜单显示速度,越大越慢
var intInterval=30; //每次更改的透明度
function showmenuie5(){
var rightedge=document.body.clientWidth-event.clientX
var bottomedge=document.body.clientHeight-event.clientY
if (rightedge<ie5menu.offsetWidth)
ie5menu.style.left=document.body.scrollLeft+event.clientX-ie5menu.offsetWidth
else
ie5menu.style.left=document.body.scrollLeft+event.clientX
if (bottomedge<ie5menu.offsetHeight)
ie5menu.style.top=document.body.scrollTop+event.clientY-ie5menu.offsetHeight
else
ie5menu.style.top=document.body.scrollTop+event.clientY
ie5menu.style.visibility="visible"
//ie5menu.style.visibility=""
ie5menu.filters.alpha.opacity=0
GradientShow()
return false
}
function hidemenuie5(){
//ie5menu.style.visibility="hidden"
GradientClose()
}
function highlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor="highlight"
event.srcElement.style.color="white"
}
}
function lowlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor=""
event.srcElement.style.color="#000000"
}
}
function jumptoie5(){
if (event.srcElement.className=="menuitems"){
if (event.srcElement.url != ''){
if (event.srcElement.getAttribute("target")!=null)
window.open(event.srcElement.url,event.srcElement.getAttribute("target"))
else
window.location=event.srcElement.url
}
}
}
function GradientShow() //实现淡入的函数
{
ie5menu.filters.alpha.opacity+=intInterval
if (ie5menu.filters.alpha.opacity<100) setTimeout("GradientShow()",intDelay)
}
function GradientClose() //实现淡出的函数
{
ie5menu.filters.alpha.opacity-=intInterval
if (ie5menu.filters.alpha.opacity>0) {
setTimeout("GradientClose()",intDelay)
}
else {
ie5menu.style.visibility="hidden"
}
}
function ChangeBG() //改变菜单项的背景颜色,这里的两种颜色值可以改为你需要的
{
oEl=event.srcElement
if (oEl.style.background!="navy") {
oEl.style.background="navy"
}
else {
oEl.style.background="#cccccc"
}
}
// -->
</SCRIPT>
<STYLE type=text/css>.cMenu {
BORDER-RIGHT: #666666 2px solid; BORDER-TOP: #e4e4e4 2px solid; FONT-SIZE: 9pt; FILTER: alpha(opacity=0); VISIBILITY: hidden; BORDER-LEFT: #e4e4e4 2px solid; WIDTH: 110px; CURSOR: default; COLOR: #000000; LINE-HEIGHT: 20px; BORDER-BOTTOM: #666666 2px solid; POSITION: absolute; BACKGROUND-COLOR: #d6d3ce; FONT-: normal
}
.menuitems {
PADDING-RIGHT: 3px; PADDING-LEFT: 15px; FONT-SIZE: 9pt; PADDING-BOTTOM: 0px; MARGIN: 2px; PADDING-TOP: 0px
}
</STYLE>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div id="Layer3" style="position:absolute; left:616px; top:15px; width:102px; height:25px; z-index:3">
<input type="submit" value="打印表格" ONCLICK="self.print()">
</div>
<div id="Layer1" style="position:absolute; left:85px; top:50px; width:111px; height:23px; z-index:4"><% =HtmlOut(dzlrtime) %></div>
<div id="Layer2" style="position:absolute; left:604px; top:49px; width:46px; height:18px; z-index:5"><font size="2">增 号</font> </div>
<OBJECT id=WebBrowser height=0 width=0
classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2></OBJECT><RIGHTCLICK><!--[if IE]>
<DIV class=cMenu id=ie5menu onmouseover=highlightie5() onclick=jumptoie5()
onmouseout=lowlightie5()>
<DIV class=menuitems url="javascript:click_obj(0)">后退</DIV>
<DIV class=menuitems url="javascript:click_obj(1)">前进</DIV>
<DIV class=menuhr>
<HR style="WIDTH: 100%">
</DIV>
<DIV class=menuitems url="javascript:click_obj(2)">刷新</DIV>
<DIV class=menuitems url="javascript:click_obj(4)">查看源文件</DIV>
<DIV class=menuhr>
<HR style="WIDTH: 100%">
</DIV>
<DIV class=menuitems url="javascript:click_obj(5)">属性</DIV></DIV><![endif]-->
<SCRIPT language=JavaScript>
<!--
function click_obj(id){
switch(id){
case 0:
history.back()
break
case 1:
history.forward()
break
case 2:
window.location.reload()
break
case 3:
window.external.AddFavorite(location.href, document.title)
break
case 4:
window.location = "view-source:" + window.location.href
break
case 5:
document.all.WebBrowser.ExecWB(10,1)
break
}
}
if (document.all&&window.print){
ie5menu.className="cMenu"
document.oncontextmenu=showmenuie5
document.body.onclick=hidemenuie5
}
//-->
</SCRIPT>
</RIGHTCLICK>
<!--#include file="top.inc"-->
<div align=center></div>
<div align="center">
<h2><font face="仿宋_GB2312">低值易耗增置报告单</font> </h2>
<table width="79%" height="208" border="1" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bordercolorlight="#000000" bordercolordark="#FFFFFF">
<tr>
<td width="88" height="29"><div align="center">销 售 单 位</div></td>
<td colspan="3">
<% =HtmlOut(xsdw) %>
</td>
<td width="95"><div align="center">发票号数</div></td>
<td width="84">
<% =HtmlOut(fph) %>
</td>
<td width="52"><div align="center">发票日期</div></td>
<td width="126">
<% =HtmlOut(fptime) %>
</td>
</tr>
<tr>
<td height="30"><div align="center">低值易耗品类别</div></td>
<td width="93">
<% =HtmlOut(dzlb) %>
</td>
<td width="25"><div align="center">目录编号</div></td>
<td width="47">
<% =HtmlOut(mlbh) %>
</td>
<td><div align="center">低值易耗品名称</div></td>
<td>
<% =HtmlOut(dzname) %>
</td>
<td><div align="center">规格</div></td>
<td colspan="2">
<% =HtmlOut(dzgg) %>
</td>
</tr>
<tr>
<td height="32"><div align="center">计量单位</div></td>
<td colspan="2">
<% =HtmlOut(dw) %>
</td>
<td><div align="center">数量</div></td>
<td colspan="5">
<% =HtmlOut(sl) %>
<div align="center"></div>
<div align="center"></div></td>
</tr>
<tr>
<td rowspan="2"><div align="center">购入价</div></td>
<td height="40" colspan="8">单价:
<% =HtmlOut(grdj) %>
</td>
</tr>
<tr>
<td height="35" colspan="8">金额:
<% =HtmlOut(grje) %>
</td>
</tr>
<tr>
<td height="79" rowspan="2"><div align="center">目录价</div></td>
<td height="20" colspan="8">单价:
<% =HtmlOut(mldj) %>
</td>
</tr>
<tr>
<td height="20" colspan="8">金额:
<% =HtmlOut(mlje) %>
</td>
</tr>
</table>
<div align="left"> <font size="2"> 增置单位:<% =HtmlOut(zzdw) %> 管理单位:<% =HtmlOut(gldw) %><br> 资产管理员:<% =HtmlOut(dzgly) %> 资产录入员:<% =HtmlOut(dzlry) %>
<!--#include file="buttom.inc"-->
</font></div>
</div>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -