|
@@ -291,7 +291,8 @@ export default {
|
|
|
// 获取销售单参与的活动列表
|
|
|
async getActiveList () {
|
|
|
// 已参与活动列表
|
|
|
- this.activeList = await salesPromoQueryList({ salesBillSn: this.$route.params.sn }).then(res => res.data || [])
|
|
|
+ const list = await salesPromoQueryList({ salesBillSn: this.$route.params.sn }).then(res => res.data || [])
|
|
|
+ this.activeList = list.filter(item => item.promotion && item.promotionRule)
|
|
|
this.activeList.map(item => {
|
|
|
item.isActive = item.enabledFlag == 1
|
|
|
item.showDesc = false
|