protected void btnSubmitBatch_Click(object sender, EventArgs e) { decimal num = default(decimal); if (!decimal.TryParse(this.txtCommissionRate.Text.Trim(), out num) || num > 100m || num < decimal.Zero) { this.ShowMsg("请输入正确的平台抽佣比例", false); } else if (StoresHelper.BatchEditCommissionRate(num, this.storesIds)) { base.CloseWindow(null); this.ShowMsgCloseWindow("批量操作成功", true); } else { base.CloseWindow(null); this.ShowMsg("批量操作失败", false); } }