From 5e45fd7b3c2893d76bc02999e1da6899fb84cb78 Mon Sep 17 00:00:00 2001 From: cun-nan <19819293608@163.com> Date: Thu, 7 Mar 2024 15:43:36 +0800 Subject: [PATCH] bug --- .../views/EventMarketing/activeDiscount/index.vue | 14 +++++++++----- .../views/EventMarketing/activeFullminus/index.vue | 14 +++++++++----- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/fuintAdmin/src/views/EventMarketing/activeDiscount/index.vue b/fuintAdmin/src/views/EventMarketing/activeDiscount/index.vue index 1c2b47033..95784ce0a 100644 --- a/fuintAdmin/src/views/EventMarketing/activeDiscount/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeDiscount/index.vue @@ -193,12 +193,12 @@ -
+
- +
- +
@@ -428,14 +428,18 @@ export default { // 新增 addactiveDiscountChildList(){ let data = { - discount :this.form.activeDiscountChildList.discount, - amount:this.form.activeDiscountChildList.amount, + // discount :this.form.activeDiscountChildList.discount, + // amount:this.form.activeDiscountChildList.amount, + discount :this.activeDiscountChildList.discount, + amount:this.activeDiscountChildList.amount, } this.form.activeDiscountChildList.push(data) + this.activeDiscountChildList.push(data) }, deleteactiveDiscountChildList(index){ this.form.activeDiscountChildList.splice(index, 1) + this.activeDiscountChildList.splice(index, 1) }, // 取消按钮 cancel() { diff --git a/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue b/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue index a5f1d5890..5119d6ed6 100644 --- a/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue @@ -181,12 +181,12 @@ -
+
- +
- +
@@ -394,14 +394,18 @@ export default { // 新增 addactiveDiscountChildList(){ let data = { - amount :this.form.activeDiscountChildList.discount, - deductionAmount:this.form.activeDiscountChildList.amount, + // amount :this.form.activeDiscountChildList.discount, + // deductionAmount:this.form.activeDiscountChildList.amount, + amount :this.activeDiscountChildList.discount, + deductionAmount:this.activeDiscountChildList.amount, } this.form.activeDiscountChildList.push(data) + this.activeDiscountChildList.push(data) }, deleteactiveDiscountChildList(index){ this.form.activeDiscountChildList.splice(index, 1) + this.activeDiscountChildList.splice(index, 1) }, // 取消按钮 cancel() {