修改
This commit is contained in:
parent
664a855263
commit
d7bbbaa7ae
@ -610,10 +610,11 @@ export default {
|
|||||||
/** 删除按钮操作 */
|
/** 删除按钮操作 */
|
||||||
handleDelete(row) {
|
handleDelete(row) {
|
||||||
const couponTitles = row.couponTitle || this.couponTitles;
|
const couponTitles = row.couponTitle || this.couponTitles;
|
||||||
|
const ids = row.id || this.ids;
|
||||||
this.$modal
|
this.$modal
|
||||||
.confirm('是否确认删除优惠券名称为"' + couponTitles + '"的数据项?')
|
.confirm('是否确认删除优惠券名称为"' + couponTitles + '"的数据项?')
|
||||||
.then(function () {
|
.then(function () {
|
||||||
return delCoupon(couponTitles);
|
return delCoupon(ids);
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.getList();
|
this.getList();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user