📄 invoiceitemlist.cs
字号:
namespace PowerEasy.WebSite.Admin.Shop
{
using PowerEasy.Common;
using PowerEasy.Controls;
using PowerEasy.Shop;
using PowerEasy.Web.UI;
using System;
using System.Web.UI.WebControls;
public class InvoiceItemList : AdminPage
{
protected ExtendedGridView EgvInvoice;
protected ObjectDataSource OdsInvoice;
protected ExtendedSiteMapPath SmpNavigator;
protected string GetInvoiceType(int invoiceType)
{
return Invoice.GetInvoiceType(invoiceType);
}
protected void Page_Load(object sender, EventArgs e)
{
int num = BasePage.RequestInt32("QuickSearch");
int searchType = BasePage.RequestInt32("SearchType");
string str = BasePage.RequestString("KeyWord");
switch (num)
{
case 1:
this.SmpNavigator.AdditionalNode = "最近10天内的新记录";
return;
case 2:
this.SmpNavigator.AdditionalNode = "最近一月内的新记录";
return;
case 3:
this.SmpNavigator.AdditionalNode = "所有地税普通发票";
return;
case 4:
this.SmpNavigator.AdditionalNode = "所有国税普通发票";
return;
case 5:
this.SmpNavigator.AdditionalNode = "所有增值税发票";
return;
case 0:
if ((searchType != 0) && !string.IsNullOrEmpty(str))
{
if (searchType == 3)
{
this.SmpNavigator.AdditionalNode = "发票日期为 " + DataConverter.CDate(str).ToString() + " 的记录";
return;
}
this.SmpNavigator.AdditionalNode = DeliverItem.GetSearchTypeName(searchType) + "中含有 " + str + " 的记录";
}
return;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -