📄 sale_areareport.aspx
字号:
<%@ Page language="c#" Codebehind="sale_AreaReport.aspx.cs" AutoEventWireup="false" Inherits="jpgSoftware_SM.Reports.sale_AreaReport" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>区域销售汇总报表</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<link href="../styCss/sty1.css" rel="stylesheet" type="text/css">
<link href="../styCss/fontsty.css" rel="stylesheet" type="text/css">
<style type="text/css"> .STYLE1 { FONT-WEIGHT: bold; FONT-SIZE: 14pt } @media Print { INPUT { DISPLAY: none }} P { PAGE-BREAK-AFTER: always } </style>
<script language="javascript">
function printsetup(){
// 打印页面设置
var OLECMDID = 8;
var PROMPT = 1;
var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
WebBrowser1.ExecWB(OLECMDID, PROMPT);
WebBrowser1.outerHTML = "";
//wb.execwb(8,1);
}
function printpreview(){
// 打印页面预览
var OLECMDID = 7;
var PROMPT = 1;
var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
WebBrowser1.ExecWB(OLECMDID, PROMPT);
WebBrowser1.outerHTML = "";
//wb.execwb(7,1);
}
function printit()
{
if (confirm('确定打印吗?'))
{
var OLECMDID = 6;
var PROMPT = 6;
var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
WebBrowser1.ExecWB(OLECMDID, PROMPT);
WebBrowser1.outerHTML = "";
//wb.execwb(6,6)
}
}
</script>
</HEAD>
<body MS_POSITIONING="GridLayout" topmargin="0" leftmargin="0" rightmargin="0">
<form id="Form1" method="post" runat="server">
<!--<OBJECT classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height=0 id=wb name=wb id=wb width=0></OBJECT> -->
<table width="500" border="0">
<tr>
<td> <input type="button" name="button_print" value="打印" onClick="javascript:printit()">
<input type="button" name="button_show" value="打印预览" onClick="javascript:printpreview()">
<input type="button" name="button_setup" value="打印页面设置" onClick="javascript:printsetup();">
<input type="button" name="button_fh" value="关闭" onClick="javascript:window.close();">
</td>
</tr>
</table>
<table width="770" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><table width="770" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><span class="STYLE1">区域销售汇总报表</span></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><table width="650" border="0" align="center">
<tr>
<td width="266">区域名称:
<asp:Label id="areaName" runat="server"></asp:Label>
</td>
<td width="224">
</td>
</tr>
<tr>
<td width="266">制表人:
<asp:Label id="employeeName" runat="server"></asp:Label></td>
<td width="224">制表时间:
<asp:Label id="reportCrdate" runat="server"></asp:Label></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center"><table width="750" border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" bgcolor="#000000"
class="table1_cro">
<asp:repeater id="saleAreaListRp" runat="server">
<HeaderTemplate>
<tr align="center" class="titleFont">
<td bgcolor="#ffffff" class="titleFont table1_rightLine table1_botLine"><b>产品编号</b></td>
<td bgcolor="#ffffff" class="titleFont table1_rightLine table1_botLine"><b>产品名称</b></td>
<td bgcolor="#ffffff" class="titleFont table1_rightLine table1_botLine"><b>型 号</b></td>
<td bgcolor="#ffffff" class="titleFont table1_rightLine table1_botLine"><b>规 格</b></td>
<td bgcolor="#ffffff" class="titleFont table1_rightLine table1_botLine"><b>单 位</b></td>
<td bgcolor="#ffffff" class="titleFont table1_botLine"><b>数 量</b></td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr align="center">
<td bgcolor="#ffffff" class=" table1_rightLine table1_botLine"> <%#DataBinder.Eval(Container.DataItem,"pCode")%></td>
<td bgcolor="#ffffff" class=" table1_rightLine table1_botLine"> <%#DataBinder.Eval(Container.DataItem,"pName")%></td>
<td bgcolor="#ffffff" class=" table1_rightLine table1_botLine"> <%#DataBinder.Eval(Container.DataItem,"pType")%></td>
<td bgcolor="#ffffff" class=" table1_rightLine table1_botLine"> <%#DataBinder.Eval(Container.DataItem,"pSpec")%></td>
<td bgcolor="#ffffff" class=" table1_rightLine table1_botLine"> <%#DataBinder.Eval(Container.DataItem,"pUnit")%></td>
<td bgcolor="#ffffff" class="table1_botLine"> <%#DataBinder.Eval(Container.DataItem,"pNum")%></td>
</tr>
</ItemTemplate>
</asp:repeater>
</table>
</td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -