From 55ddc8644f0450091f49ce96d4ef1ad2d3988a68 Mon Sep 17 00:00:00 2001 From: carlossa Date: Wed, 2 Oct 2024 12:51:33 +0200 Subject: [PATCH] refs #7283 fix itemMigration list filters --- src/pages/Item/ItemList.vue | 8 +++++++- src/pages/Item/ItemRequest.vue | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/pages/Item/ItemList.vue b/src/pages/Item/ItemList.vue index 48fe3280e..ad2c2e238 100644 --- a/src/pages/Item/ItemList.vue +++ b/src/pages/Item/ItemList.vue @@ -208,6 +208,9 @@ const columns = computed(() => [ columnField: { component: null, }, + columnFilter: { + inWhere: true, + }, }, { label: t('item.list.stemMultiplier'), @@ -217,11 +220,14 @@ const columns = computed(() => [ columnField: { component: null, }, + columnFilter: { + inWhere: true, + }, }, { label: t('item.list.isActive'), name: 'isActive', - align: 'left', + align: 'center', component: 'checkbox', }, { diff --git a/src/pages/Item/ItemRequest.vue b/src/pages/Item/ItemRequest.vue index 7fbeccbf9..0eba6f9a4 100644 --- a/src/pages/Item/ItemRequest.vue +++ b/src/pages/Item/ItemRequest.vue @@ -29,6 +29,7 @@ const store = arrayData.store; const userParams = { state: 'pending', + daysOnward: 7, }; const tableRef = ref(); @@ -120,7 +121,7 @@ const columns = computed(() => [ { align: 'left', name: 'daysOnward', - label: t('item.buyRequest.daysOnward'), + label: t('travel.travelList.tableVisibleColumns.daysOnward'), visible: false, columnFilter: { inWhere: false,