Пример #1
0
 private void btnReplace_Click(object sender, System.EventArgs e)
 {
     if (!TradeHelper.CanReplace(this.hdorderId.Value))
     {
         this.ShowMessage("已有待确认的申请!", false);
         return;
     }
     if (TradeHelper.ApplyForReplace(this.hdorderId.Value, this.txtReplaceRemark.Text))
     {
         this.BindOrders();
         this.ShowMessage("成功的申请了换货", true);
         return;
     }
     this.ShowMessage("申请换货失败", false);
 }