Hidistro.UI.SaleSystem.zbCodeBehind/VMemberOrderReturnGoods.cs
(完整代码) 1KBnamespace Hidistro.UI.SaleSystem.zbCodeBehind
{
using Hidistro.Entities.Orders;
using Hidistro.SaleSystem.Vshop;
using Hidistro.UI.Common.Controls;
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
[ParseChildren(true)]
public class VMemberOrderReturnGoods : VMemberTemplatedWebControl
{
private Literal litOrderDate;
private Literal litOrderId;
private string orderId;
private VshopTemplatedRepeater rptOrderProducts;
protected override void AttachChildControls()
{
this.orderId = this.Page.Request.QueryString["orderId"];
this.litOrderId = (Literal) this.FindControl("litOrderId");
this.litOrderDate = (Literal) this.FindControl("litOrderDate");
this.rptOrderProducts = (VshopTemplatedRepeater) this.FindControl("rptOrderProducts");
OrderInfo orderInfo = ShoppingProcessor.GetOrderInfo(this.orderId);
if (orderInfo == null)
{
base.GotoResourceNotFound("此订单已不存在");
}
this.litOrderId.Text = this.orderId;
this.litOrderDate.Text = orderInfo.OrderDate.ToString();
this.rptOrderProducts.DataSource = orderInfo.LineItems.Values;
this.rptOrderProducts.DataBind();
PageTitle.AddSiteNameTitle("退换货商品");
}
protected override void OnInit(EventArgs e)
{
if (this.SkinName == null)
{
this.SkinName = "Skin-VMemberOrderReturnGoods.html";
}
base.OnInit(e);
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
