功能闭环流程合并
This commit is contained in:
parent
87cc7b4d03
commit
3aaddcd658
@ -121,7 +121,7 @@ const pagination = reactive({
|
||||
|
||||
const filteredModelList = computed(() => {
|
||||
return modelList.value.filter(model => {
|
||||
const modelTypeMatch = !filters.model_type || model.model_type === filters.model_type
|
||||
const modelTypeMatch = !filters.model_type || model.model_type === filters.model_type.id
|
||||
return modelTypeMatch
|
||||
})
|
||||
})
|
||||
|
@ -131,7 +131,7 @@ const pagination = reactive({
|
||||
const filteredModelList = computed(() => {
|
||||
return modelList.value.filter(model => {
|
||||
const productMatch = !filters.product_id || model.product_id === filters.product_id
|
||||
const modelTypeMatch = !filters.model_type || model.model_type === filters.model_type
|
||||
const modelTypeMatch = !filters.model_type || model.model_type === filters.model_type.id
|
||||
return productMatch && modelTypeMatch
|
||||
})
|
||||
})
|
||||
|
@ -146,7 +146,7 @@ const modelsWithNames = computed(() => {
|
||||
const filteredModelList = computed(() => {
|
||||
return modelsWithNames.value.filter(model => {
|
||||
const storeMatch = !filters.store_id || model.store_id === filters.store_id
|
||||
const modelTypeMatch = !filters.model_type || model.model_type === filters.model_type
|
||||
const modelTypeMatch = !filters.model_type || model.model_type === filters.model_type.id
|
||||
return storeMatch && modelTypeMatch
|
||||
})
|
||||
})
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user