示例#1
0
 private void btnRefuseReplace_Click(object sender, System.EventArgs e)
 {
     ManagerHelper.CheckPrivilege(Privilege.OrderReplaceApplyRefuse);
     OrderHelper.CheckReplace(this.hidOrderId.Value, this.hidAdminRemark.Value, false);
     this.BindReplace();
     this.ShowMsg("成功的拒绝了订单换货", true);
 }
示例#2
0
 protected void btnAcceptReplace_Click(object sender, System.EventArgs e)
 {
     ManagerHelper.CheckPrivilege(Privilege.OrderReplaceApplyAccept);
     OrderHelper.CheckReplace(this.hidOrderId.Value, this.hidAdminRemark.Value, true);
     this.BindReplace();
     this.ShowMsg("成功的确认了订单换货", true);
 }
示例#3
0
        private void btnRefuseReplace_Click(object sender, EventArgs e)
        {
            int         replaceId   = this.Page.Request["replaceId"].ToInt(0);
            ReplaceInfo replaceInfo = TradeHelper.GetReplaceInfo(replaceId);

            if (replaceInfo == null)
            {
                this.ShowMsg("换货信息错误!", false);
            }
            else
            {
                string text = Globals.StripAllTags(this.txtAdminRemark.Text);
                if (string.IsNullOrEmpty(text))
                {
                    this.ShowMsg("请填写换货拒绝原因。", false);
                }
                else
                {
                    OrderHelper.CheckReplace(replaceInfo.OrderId, text, false, replaceInfo.SkuId, "", "", "", false);
                    this.ShowMsg("成功的拒绝了订单换货", true, HttpContext.Current.Request.Url.ToString());
                }
            }
        }
 private void btnRefuseReplace_Click(object sender, EventArgs e)
 {
     OrderHelper.CheckReplace(this.hidOrderId.Value, this.hidAdminRemark.Value, false);
     this.BindOrders();
     this.ShowMsg("成功的拒绝了订单换货", true);
 }
示例#5
0
 private void btnAcceptReplace_Click(object sender, System.EventArgs e)
 {
     OrderHelper.CheckReplace(this.hidOrderId.Value, this.hidAdminRemark.Value, true);
     this.BindOrders();
     this.ShowMsg("成功的确认了订单换货", true);
 }