|
|
|
@ -837,7 +837,7 @@ export default {
|
|
|
|
let ids = this.form.product_type_customer_links.map(item => item.product_type_id)
|
|
|
|
let ids = this.form.product_type_customer_links.map(item => item.product_type_id)
|
|
|
|
let areaIds = this.areas.map(item => item.id)
|
|
|
|
let areaIds = this.areas.map(item => item.id)
|
|
|
|
return this.products.filter(item => {
|
|
|
|
return this.products.filter(item => {
|
|
|
|
return (ids.indexOf(item.product_type_id) !== -1) && (areaIds.indexOf(item.area_id) !== -1)
|
|
|
|
return (ids.indexOf(item.product_type_id) !== -1)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|