lilei преди 2 месеца
родител
ревизия
9239104b5f
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/views/salesManagement/salesQueryNew/comps/updateActiveModal.vue

+ 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: {