protected void btnSave_Click(object sender, EventArgs e)
 {
     if (id.Value == "")
     {
         return;
     }
     try
     {
         IntegralServer.UpdateIntegralConsumption(Guid.Parse(id.Value), OEMCommodityState.Success);
     }
     catch (Exception ex)
     {
         id.Value = "";
         ShowExceptionMessage(ex, "提交申请平台兑换");
     }
     NewMethod(pager.CurrentPageIndex);
 }
示例#2
0
        protected void btnSave_Click(object sender, EventArgs e)
        {
            bool falg = false;

            try
            {
                IntegralServer.UpdateIntegralConsumption(Guid.Parse(lblId.Text), ExchangeState.Success, this.CurrentUser.Name, txtNo.Text, txtCompany.Text, txtAddress.Text, txtRemark.Text);
                falg = true;
            }
            catch (Exception ex)
            {
                ShowExceptionMessage(ex, "处理");
            }
            if (falg)
            {
                RegisterScript("alert('处理成功!');window.location.href='./CommodityExChangeList.aspx';", true);
            }
        }