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

📄 saleroomguide.aspx

📁 动易SiteFactory&#8482 网上商店系统1.0源代码
💻 ASPX
字号:
<%@ Page Language="C#" MasterPageFile="~/Admin/Guide.master" AutoEventWireup="true"
    Codebehind="SaleroomGuide.aspx.cs" Inherits="PowerEasy.WebSite.Admin.Shop.SaleroomGuide"
    Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CphTitle" runat="server">
    销售统计
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CphSubMenu" runat="server">
    <div class="guideexpand" onclick="Switch(this)">
        销售额按日统计</div>
    <div class="guidesearch">
        <ul>
            <li>
                <asp:DropDownList ID="DropYear" runat="server" DataValueField="key" DataTextField="value">
                </asp:DropDownList>&nbsp;&nbsp;
                <asp:DropDownList ID="DropMonth" runat="server" DataValueField="key" DataTextField="value">
                </asp:DropDownList>
            </li>
            <li>
                <input id="BtnSearch" type="button" class="inputbutton" value="查询" onclick="OpenMainRight()" />
            </li>
        </ul>
    </div>
    <div class="guideexpand" onclick="Switch(this)">
        销售额按月统计</div>
    <div class="guidesearch">
        <ul>
            <li>
                <asp:DropDownList ID="DropYear2" runat="server" DataValueField="key" DataTextField="value"
                    Style="width: 140px">
                </asp:DropDownList>
            </li>
            <li>
                <input id="BtnSearch2" type="button" class="inputbutton" value="查询" onclick="OpenMainRight2()" />
            </li>
        </ul>
    </div>

    <script type="text/javascript">
    function OpenMainRight()
    {
        var DropYear = document.getElementById("<%=DropYear.ClientID%>");           
        var DropYear_Index = DropYear.selectedIndex;                
        var DropYear_Value = DropYear.options[DropYear_Index].value;   
  
        var DropMonth = document.getElementById("<%=DropMonth.ClientID%>");           
        var DropMonth_Index = DropMonth.selectedIndex;              
        var DropMonth_Value = DropMonth.options[DropMonth_Index].value;  
     
        JumpToMainRight("Saleroom.aspx?&Year=" + DropYear_Value + "&Month=" + DropMonth_Value);
    }
    function OpenMainRight2()
    {
        var DropYear2 = document.getElementById("<%=DropYear2.ClientID%>");           
        var DropYear2_Index = DropYear2.selectedIndex;                
        var DropYear2_Value = DropYear2.options[DropYear2_Index].value;   
      
        JumpToMainRight("Saleroom.aspx?&SaleroomType=1&Year=" + DropYear2_Value);
    }
    </script>

</asp:Content>

⌨️ 快捷键说明

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