@@ -280,7 +280,7 @@
showStock: this.showStock,
warehouseSn: this.warehouseSn
}
- const active = this.activeList
+ const active = this.activeList.filter(item => item.enabledFlag == 1)
// 正常产品
const proList = await salesDetailAllList(params).then(res => res.data)
@@ -381,7 +381,7 @@ export default {
getActiveList(){
salesPromoQueryList({ salesBillSn: this.salesBillSn }).then(res => {
if(res.status == 200){
- this.activeList = res.data || []
+ this.activeList = res.data.filter(item => item.enabledFlag == 1) || []
this.$nextTick(()=>{
this.searchTable()