lilei 3 weeks ago
parent
commit
9239104b5f

+ 2 - 2
src/views/salesManagement/salesQueryNew/comps/updateActiveModal.vue

@@ -121,14 +121,14 @@ export default {
       if (this.salesBillDetailSnList.length) {
         return this.activeList.filter(item => item.promotionRule && item.promotionRule.stackFlag == 1 && item.enabledFlag == 1)
       }
-      return this.activeList.filter(item => item.stackFlag == 1)
+      return this.activeList.filter(item => item.stackFlag == 1 && item.enabledFlag == 1)
     },
     // 非叠加活动
     noStackActiveList () {
       if (this.salesBillDetailSnList.length) {
         return this.activeList.filter(item => item.promotionRule && item.promotionRule.stackFlag == 0 && item.enabledFlag == 1)
       }
-      return this.activeList.filter(item => item.stackFlag == 0)
+      return this.activeList.filter(item => item.stackFlag == 0 && item.enabledFlag == 1)
     }
   },
   methods: {