|
@@ -664,7 +664,9 @@ export default {
|
|
|
async getActiveList () {
|
|
|
// 已参与活动列表
|
|
|
const list = await salesPromoQueryList({ salesBillSn: this.$route.params.sn || this.bizSn }).then(res => res.data || [])
|
|
|
- this.activeList = list.filter(item => item.promotion && item.promotionRule)
|
|
|
+ this.activeList = list.filter(item => {
|
|
|
+ return item.promotion && item.promotionRule && item.totalQty > 0
|
|
|
+ })
|
|
|
this.hideActiveTable = this.activeList.length == 0
|
|
|
// 触发活动统计查询变量
|
|
|
this.$nextTick(() => {
|