+
消费满
L
@@ -199,7 +199,7 @@
@click="addCoupons(couponOrderType)">
-
+
消费满
L
@@ -470,6 +470,7 @@ export default {
})
},
getInfo() {
+ console.log("从修改页面带过来的id",this.activeId)
getInfoActivity(this.activeId).then(res => {
if (res.data) {
this.ruleForm = res.data
@@ -505,15 +506,16 @@ export default {
this.weekDay = []
this.monthDay = []
}
- if (res.data.pointList) {
+ if (res.data.pointList && res.data.pointList.length > 0) {
+ console.log("当前消费有礼活动的子表 集合", res.data.pointList)
this.pointList = res.data.pointList
this.pointOrderType = res.data.pointList[0].orderType
}
- if (res.data.growthValueList) {
+ if (res.data.growthValueList && res.data.growthValueList.length > 0) {
this.growthValueList = res.data.growthValueList
this.growthValueOrderType = res.data.growthValueList[0].orderType
}
- if (res.data.couponList) {
+ if (res.data.couponList && res.data.couponList.length > 0) {
this.couponList = res.data.couponList
this.couponOrderType = res.data.couponList[0].orderType
}
diff --git a/fuintAdmin/src/views/EventMarketing/activeDiscount/index.vue b/fuintAdmin/src/views/EventMarketing/activeDiscount/index.vue
index 201443e2d..552ac520d 100644
--- a/fuintAdmin/src/views/EventMarketing/activeDiscount/index.vue
+++ b/fuintAdmin/src/views/EventMarketing/activeDiscount/index.vue
@@ -305,8 +305,9 @@
diff --git a/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue b/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue
index a2d046a80..1103c91ca 100644
--- a/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue
+++ b/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue
@@ -289,8 +289,9 @@
diff --git a/fuintAdmin/src/views/EventMarketing/cardExchange/index.vue b/fuintAdmin/src/views/EventMarketing/cardExchange/index.vue
index 6296f3e19..032faa75c 100644
--- a/fuintAdmin/src/views/EventMarketing/cardExchange/index.vue
+++ b/fuintAdmin/src/views/EventMarketing/cardExchange/index.vue
@@ -220,8 +220,9 @@
diff --git a/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue b/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue
index 4be1617b3..7676a9492 100644
--- a/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue
+++ b/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue
@@ -312,8 +312,9 @@