private void lkbtnDeleteCheck_Click(object sender, EventArgs e) { string str = ""; if (!string.IsNullOrEmpty(base.Request["CheckBoxGroup"])) { str = base.Request["CheckBoxGroup"]; } if (str.Length <= 0) { this.ShowMsg("请选要删除的退货申请单", false); } else { int num; string format = "成功删除了{0}个退货申请单"; if (SalesHelper.DelPurchaseReturnsApply(str.Split(new char[] { ',' }), out num)) { format = string.Format(format, num); } else { format = string.Format(format, num) + ",待处理的申请不能删除"; } this.BindReturns(); this.ShowMsg(format, true); } }
private void lkbtnDeleteCheck_Click(object sender, System.EventArgs e) { string text = ""; if (!string.IsNullOrEmpty(base.Request["CheckBoxGroup"])) { text = base.Request["CheckBoxGroup"]; } if (text.Length <= 0) { this.ShowMsg("请选要删除的退货申请单", false); return; } string text2 = "成功删除了{0}个退货申请单"; int num; if (SalesHelper.DelPurchaseReturnsApply(text.Split(new char[] { ',' }), out num)) { text2 = string.Format(text2, num); } else { text2 = string.Format(text2, num) + ",待处理的申请不能删除"; } this.BindReturns(); this.ShowMsg(text2, true); }
private void lkbtnDeleteCheck_Click(object sender, System.EventArgs e) { string text = ""; if (!string.IsNullOrEmpty(base.Request["CheckBoxGroup"])) { text = base.Request["CheckBoxGroup"]; } if (text.Length <= 0) { this.ShowMsg("请选要删除的退货单", false); return; } int num; SalesHelper.DelPurchaseReturnsApply(text.Split(new char[] { ',' }), out num); this.BindRefundNote(); this.ShowMsg(string.Format("成功删除了{0}个退货单", num), true); }