From e8d2a40dafbc8ccec24957715bf6cfea82e4bc25 Mon Sep 17 00:00:00 2001 From: carlossa Date: Fri, 25 Oct 2024 08:11:31 +0200 Subject: [PATCH] fix: entryFilters --- src/pages/Entry/EntryLatestBuys.vue | 65 ++++++++++++++++++++++++++++- 1 file changed, 64 insertions(+), 1 deletion(-) diff --git a/src/pages/Entry/EntryLatestBuys.vue b/src/pages/Entry/EntryLatestBuys.vue index 61c430b23..119808176 100644 --- a/src/pages/Entry/EntryLatestBuys.vue +++ b/src/pages/Entry/EntryLatestBuys.vue @@ -23,7 +23,6 @@ const columns = [ return { id: row.id, size: '50x50', - width: '50px', }; }, }, @@ -34,21 +33,37 @@ const columns = [ label: t('entry.latestBuys.tableVisibleColumns.itemFk'), name: 'itemFk', isTitle: true, + columnFilter: { + component: 'number', + inWhere: true, + }, }, { align: 'left', label: t('entry.latestBuys.tableVisibleColumns.packing'), name: 'packing', + columnFilter: { + component: 'number', + inWhere: true, + }, }, { align: 'left', label: t('entry.latestBuys.tableVisibleColumns.grouping'), name: 'grouping', + columnFilter: { + component: 'number', + inWhere: true, + }, }, { align: 'left', label: t('entry.latestBuys.tableVisibleColumns.quantity'), name: 'quantity', + columnFilter: { + component: 'number', + inWhere: true, + }, }, { align: 'left', @@ -59,6 +74,10 @@ const columns = [ align: 'left', label: t('entry.latestBuys.tableVisibleColumns.size'), name: 'size', + columnFilter: { + component: 'number', + inWhere: true, + }, }, { align: 'left', @@ -84,6 +103,10 @@ const columns = [ align: 'left', label: t('entry.latestBuys.tableVisibleColumns.weightByPiece'), name: 'weightByPiece', + columnFilter: { + component: 'number', + inWhere: true, + }, }, { align: 'left', @@ -99,26 +122,46 @@ const columns = [ align: 'left', label: t('entry.latestBuys.tableVisibleColumns.entryFk'), name: 'entryFk', + columnFilter: { + component: 'number', + inWhere: true, + }, }, { align: 'left', label: t('entry.latestBuys.tableVisibleColumns.buyingValue'), name: 'buyingValue', + columnFilter: { + component: 'number', + inWhere: true, + }, }, { align: 'left', label: t('entry.latestBuys.tableVisibleColumns.freightValue'), name: 'freightValue', + columnFilter: { + component: 'number', + inWhere: true, + }, }, { align: 'left', label: t('entry.latestBuys.tableVisibleColumns.comissionValue'), name: 'comissionValue', + columnFilter: { + component: 'number', + inWhere: true, + }, }, { align: 'left', label: t('entry.latestBuys.tableVisibleColumns.packageValue'), name: 'packageValue', + columnFilter: { + component: 'number', + inWhere: true, + }, }, { align: 'left', @@ -129,16 +172,28 @@ const columns = [ align: 'left', label: t('entry.latestBuys.tableVisibleColumns.price2'), name: 'price2', + columnFilter: { + component: 'number', + inWhere: true, + }, }, { align: 'left', label: t('entry.latestBuys.tableVisibleColumns.price3'), name: 'price3', + columnFilter: { + component: 'number', + inWhere: true, + }, }, { align: 'left', label: t('entry.latestBuys.tableVisibleColumns.minPrice'), name: 'minPrice', + columnFilter: { + component: 'number', + inWhere: true, + }, }, { align: 'left', @@ -149,11 +204,19 @@ const columns = [ align: 'left', label: t('entry.latestBuys.tableVisibleColumns.weight'), name: 'weight', + columnFilter: { + component: 'number', + inWhere: true, + }, }, { align: 'left', label: t('entry.latestBuys.tableVisibleColumns.packagingFk'), name: 'packagingFk', + columnFilter: { + component: 'number', + inWhere: true, + }, }, { align: 'left',