筛选重点单品排除已展示的重点单品

This commit is contained in:
aixianling
2024-08-08 14:30:02 +08:00
parent 92963d3497
commit b8ace3651f

View File

@@ -74,7 +74,7 @@ export default {
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
this.storeKeyGoods = res.data this.storeKeyGoods = res.data
this.$set(this.$storeBoard, 'storeKeyGoods', res.data) this.$set(this.$storeBoard, 'storeKeyGoods', res.data.filter(e => !/(104|108|109)/.test(e.goodsCategoryId)))
} }
}) })
}, },
@@ -156,7 +156,7 @@ export default {
<!--<dv-scroll-board :config="getTableData(store, '重点单品情况')" @click="v=>openNearbyStores(v,store)" @click.native.stop/>--> <!--<dv-scroll-board :config="getTableData(store, '重点单品情况')" @click="v=>openNearbyStores(v,store)" @click.native.stop/>-->
</div> </div>
</div> </div>
<div class="dialogTable" v-if="$storeBoard.dialog" @click.stop> <div class="dialogTable" v-if="$storeBoard.dialog" @click.stop>
<scroll-table :table-data="$storeBoard.aroundStock" :columns="columns['周边库存情况']"/> <scroll-table :table-data="$storeBoard.aroundStock" :columns="columns['周边库存情况']"/>
</div> </div>
</section> </section>