Hidistro.UI.Web/Admin/Order_ShippingAddress.cs

(开头部分) 5KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

namespace Hidistro.UI.Web.Admin
{
    using Hidistro.ControlPanel.Sales;
    using Hidistro.Core;
    using Hidistro.Entities.Orders;
    using System;
    using System.Web.UI;
    using System.Web.UI.HtmlControls;
    using System.Web.UI.WebControls;

    public class Order_ShippingAddress : UserControl
    {
        protected Button btnupdatepost;
        protected string edit = "";
        protected HtmlInputHidden hdtagId;
        protected Literal lblShipAddress;
        protected Literal litCompanyName;
        protected Literal litModeName;
        protected Label litRemark;
        protected Literal litShipToDate;
        protected Label lkBtnEditShippingAddress;
        private OrderInfo order;
        protected HtmlInputHidden OrderId;
        protected Panel plExpress;
        protected HtmlAnchor power;
        protected HtmlTableRow tr_company;
        protected TextBox txtpost;

        private void btnupdatepost_Click(object sender, EventArgs e)
        {
            this.order.ShipOrderNumber = this.txtpost.Text;
            OrderHelper.SetOrderShipNumber(this.order.OrderId, this.order.ShipOrderNumber);
            this.ShowMsg("修改发货单号成功", true);
            this.LoadControl();
        }

        public void LoadControl()
        {
            string str = string.Empty;
            if (!string.IsNullOrEmpty(this.order.ShippingRegion))
            {
                str = this.order.ShippingRegion.Replace(',', ' ');//,0xff0c, ' ');
            }
            if (!string.IsNullOrEmpty(this.order.Address))
            {
                str = str + this.order.Address;
            }
            if (!string.IsNullOrEmpty(this.order.ShipTo))
            {
                str = str + "   " + this.order.ShipTo;
            }
            if (!string.IsNullOrEmpty(this.order.ZipCode))
            {
                str = str + "   " + this.order.ZipCode;
            }
            if (!string.IsNullOrEmpty(this.order.TelPhone))
            {
                str = str + "   " + this.order.TelPhone;
            }
            if (!string.IsNullOrEmpty(this.order.CellPhone))
后面还有 78 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。