HOTFIX: use clientFk to filter data #1258
|
@ -152,7 +152,8 @@ const updateDateParams = (value, params) => {
|
||||||
v-if="campaignList"
|
v-if="campaignList"
|
||||||
data-key="CustomerConsumption"
|
data-key="CustomerConsumption"
|
||||||
url="Clients/consumption"
|
url="Clients/consumption"
|
||||||
:order="['itemTypeFk', 'itemName', 'itemSize', 'description']"
|
:order="['itemTypeFk', 'itemName', 'itemSize', 'description']"
|
||||||
|
:filter="{ where: { clientFk: route.params.id } }"
|
||||||
|
|||||||
:columns="columns"
|
:columns="columns"
|
||||||
search-url="consumption"
|
search-url="consumption"
|
||||||
:user-params="userParams"
|
:user-params="userParams"
|
||||||
|
|
Loading…
Reference in New Issue
Si se quiere mantener ese filtro siempre, hay que usar user-filter
El problema de usar user-filter es que si cambio de cliente no me cambia la query