|
@@ -197,7 +197,7 @@ export default {
|
|
|
} else {
|
|
|
// 全部规则
|
|
|
_this.confirmLoading = true
|
|
|
- const salesPromoSnList = this.activeList.map(item => item.salesPromoSn)
|
|
|
+ const salesPromoSnList = this.activeList.filter(item => item.enabledFlag == 1).map(item => item.salesPromoSn)
|
|
|
_this.$emit('batchOk', { salesPromoSnList, salesBillDetailSnList: this.productType == 0 ? this.salesBillDetailSnList : undefined })
|
|
|
}
|
|
|
},
|