📄 report4.aspx
字号:
<%@ page language="C#" autoeventwireup="true" enableviewstate="false" inherits="BaseInfo_Report4, App_Web_eihb9n8s" %>
<html>
<head id="Head1" runat="server">
<title></title>
<link rel="stylesheet" href="../css/master.css" type="text/css" />
<script language="javascript">window.status="入库单列表";</script>
<style media=print>
.noprint
{
display:none;
}
</style>
</head>
<body topmargin="0" leftmargin="0" bottommargin="0" rightmargin="0" bgcolor="#ffffff" style="page-break-before:always">
<form id="form1" runat="server">
<!--快捷菜单-->
<div style="overflow-x:auto;width:830; overflow-y:auto;height:40;background-color:#ffffff;border-top:#000000 1px solid;border-left:#000000 1px solid;border-bottom:#000000 0px solid;border-right:#000000 1px solid;">
<table cellpadding="0" width="100%" cellspacing="0" style="cursor:default" border=0 style="padding:1px 1px 1px 1px">
<tr>
<td align="center" style="font-weight:bold"><u><%=date1.ToShortDateString() %></u> - <u> <%=d2 %></u> 仓库盘存报表</td>
<td>
<OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=wb width=0></OBJECT>
<div style=" position:absolute; width:350; border:none; top:10px;left:10px; display:<%=display %>">
<input type=button value="打印机设置" style="border:solid 1px #a3a3a3; background-color:#e6e6e6;font-size:12px" class="noprint" onclick="javascript:wb.execWB(8,1);"/> <input type=button value="打印预览" style="border:solid 1px #a3a3a3; background-color:#e6e6e6;font-size:12px" class="noprint" onclick="javascript:wb.execWB(7,1);"/> <input type=button value=" 打 印 " style="border:solid 1px #a3a3a3; background-color:#e6e6e6;font-size:12px" class="noprint" onclick="javascript:wb.execWB(6,1);"/>
</div>
<input type=button style="display:<%=hide %>" value="打印窗口" class="textBox2" onclick="javascript:window.open('CustomReport.aspx?date1=<%=date1.ToShortDateString() %>&date2=<%=d2 %>&Select1=<%=bigType %>&hidden1=<%=hidden1 %>&hidden2=<%=hidden2 %>&sltCategory=<%=type %>',null,'status=yes,toolbar=yes,menubar=yes,location=yes,left=0,top=0,scrollbars=yes');"/>
</td>
</tr>
</table>
</div>
<!--=================================================================================-->
<span id=span3 style="z-index:4;position:absolute;left:0;top:0;border-top:0px inset;border-left:1px inset;border-bottom:none;border-right:1px inset;overflow-y:hidden;overflow-x:hidden;padding-right:0"></span>
<!--=================================================================================-->
<div id="span1" style="overflow-x:auto;width:830; overflow-y:auto;height:450;background-color:f6f6f6;border-top:#000000 1px solid;border-left:#000000 1px solid;border-bottom:#000000 1px solid;border-right:#000000 1px solid;"onscroll="vbs:HScroll">
<table border=0 cellspacing=0 cellpadding=0 id=tb1 printDirection="Horizonal" pageSize=20 STYLE="table-layout: fixed; background-Color:#ffffff;border-left:buttonface 1px solid;">
<tr style="background-image:url('../images/tr.gif');height:22px">
<td class="td1" style="width:40">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>编号</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img class="noprint" style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:90">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>物料编号</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img class="noprint" style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:90">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>物料名称</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img class="noprint" style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:100">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>物料规格</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img class="noprint" style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:70">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>上月库存</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img class="noprint" style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:50">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>单位</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img class="noprint" style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:50">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>进</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img class="noprint" style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:50">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>出</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img class="noprint" style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:70">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>当月库存</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img class="noprint" style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:70">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>当前库存</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img class="noprint" style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:60">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>单价</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><imgv class="noprint" style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
<td class="td1" style="width:70">
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0 STYLE="table-layout: fixed">
<tr>
<td noWrap class=td2>小计</td>
<td noWrap class=td2 style="height:22;width:3" onmouseover="vbs:me.style.cursor='E-resize'" onmousedown="vbs:tz me"><img class="noprint" style="LEFT: 1px; POSITION: relative" height=100% src="a/.gif" width=3 title="调整表格宽度" ></td>
</tr>
</table>
</td>
</tr>
<asp:Repeater ID="rptlist" runat="server">
<ItemTemplate>
<tr row>
<td class="td1"> </td>
<td class="td1"> <%#DataBinder.Eval(Container.DataItem,"StuffNo") %></td>
<td class="td1"> <%#DataBinder.Eval(Container.DataItem,"StuffName") %></td>
<td class="td1"> <%#DataBinder.Eval(Container.DataItem,"Specification") %></td>
<td class="td1"> <%#DataBinder.Eval(Container.DataItem,"lastMonth") %></td>
<td class="td1"> <%#DataBinder.Eval(Container.DataItem,"Unit") %></td>
<td class="td1" style="border-right:solid 1px #2a0aa8;color:#2a0aa8"> <%#DataBinder.Eval(Container.DataItem,"entry") %></td>
<td class="td1" style="border-right:solid 1px #fa0000;color:#fa0000"> <%#DataBinder.Eval(Container.DataItem,"out") %></td>
<td class="td1"> <%#DataBinder.Eval(Container.DataItem,"thisMonth") %></td>
<td class="td1"> <%#DataBinder.Eval(Container.DataItem,"Stock") %></td>
<td class="td1"> <%#DataBinder.Eval(Container.DataItem,"UnitPrice") %></td>
<td class="td1"></td>
</tr>
</ItemTemplate>
</asp:Repeater>
</table>
</div>
<!--=================================================================================-->
<span id=span2 style="border-right:#229900 1px solid;border-left:#cc0000 1px solid;display:none;z-index:10;left:0px;width:0px;position:absolute;top:0px;height:0" onmousemove="vbs:M_Move" onmouseup="vbs:m_up"></span>
</form>
</body>
</html>
<script language=vbscript>
titleResize
dim spanLeft,spanTop,moveTD,tdField
spanLeft=0:spantop=0
'dim tableStr
'tablestr="<table STYLE='table-layout: fixed' border=0 height=100% cellpadding=0 cellspacing=0><tr><td class=td2 >title2</td><td class=td2 noWrap style='height:19;width:3' onmouseover=""vbs:me.style.cursor='E-resize'"" onmousedown=""vbs:tz me""><img style='LEFT: 0px; POSITION: relative' height=100% src='a/.gif' width=3 title='调整表格宽度' ></td></tr></table>"
sub tz(objTD)
set objTD=objTD.parentElement.Cells(0)
dim objElement
dim Totaloffset:Totaloffset=0
set objElement=objTD.parentElement
do while objElement.tagName<>"BODY"
Totaloffset=Totaloffset+objElement.offsetLeft
set objElement=objElement.parentElement
Loop
span2.style.pixelLeft= objTD.offsetLeft+Totaloffset-span1.scrollLeft-4
span2.style.pixeltop=objTD.offsetTop+document.all("span1").offsetTop
span2.style.pixelwidth=objTD.parentElement.Cells(1).offsetLeft-objTD.parentElement.Cells(0).offsetLeft+6
span2.style.pixelheight=span1.clientHeight
span2.style.display="inline"
span2.setCapture
set moveTD=objTD
tdField=objTD.parentElement.parentElement.parentElement.parentElement.cellindex
end sub
sub retPosition()
spanleft=1
spantop=2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -