📄 deliveritemdetail.aspx.cs
字号:
namespace PowerEasy.WebSite.Admin.Shop
{
using PowerEasy.Controls;
using PowerEasy.Model.Shop;
using PowerEasy.Shop;
using PowerEasy.Web.UI;
using System;
using System.Web.UI.WebControls;
public class DeliverItemDetail : AdminPage
{
protected Label LbeMemo;
protected Label LblClientName;
protected Label LblContacterName;
protected Label LblDeliverDate;
protected Label LblDeliverDirection;
protected Label LblExpressCompany;
protected Label LblExpressNumber;
protected Label LblHandlerName;
protected Label LblOrderNum;
protected Label LblReceived;
protected Label LblRemark;
protected Label LblUserName;
protected ExtendedSiteMapPath SmpNavigator;
protected void Page_Load(object sender, EventArgs e)
{
if (!this.Page.IsPostBack)
{
DeliverItemInfo deliverItemById = DeliverItem.GetDeliverItemById(BasePage.RequestInt32("DeliverItemID"), false);
if (!deliverItemById.IsNull)
{
this.LblDeliverDate.Text = deliverItemById.DeliverDate.ToString("yyyy-MM-dd");
this.LblDeliverDirection.Text = (deliverItemById.DeliverDirection == 1) ? "发货" : "退货";
this.LblClientName.Text = deliverItemById.ClientName;
this.LblUserName.Text = deliverItemById.UserName;
this.LblContacterName.Text = deliverItemById.ContacterName;
this.LblOrderNum.Text = deliverItemById.OrderNum;
this.LblExpressCompany.Text = deliverItemById.ExpressCompany;
this.LblExpressNumber.Text = deliverItemById.ExpressNumber;
this.LblHandlerName.Text = deliverItemById.HandlerName;
this.LblReceived.Text = deliverItemById.Received ? "已签收" : "未签收";
this.LblRemark.Text = deliverItemById.Remark;
this.LbeMemo.Text = deliverItemById.Memo;
}
else
{
AdminPage.WriteErrMsg("<li>找不到指定的发退货信息!</li>");
}
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -