From 7ff20f3064511256a38891d9a627bf4908601331 Mon Sep 17 00:00:00 2001 From: carlossa Date: Tue, 30 Jul 2024 11:50:23 +0200 Subject: [PATCH 1/2] hotFix: supplierList correct filter --- src/pages/Supplier/SupplierList.vue | 50 +++++++++++++++-------------- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/src/pages/Supplier/SupplierList.vue b/src/pages/Supplier/SupplierList.vue index 5d9942536..0a40ca30d 100644 --- a/src/pages/Supplier/SupplierList.vue +++ b/src/pages/Supplier/SupplierList.vue @@ -19,58 +19,61 @@ const columns = computed(() => [ label: t('supplier.list.tableVisibleColumns.name'), name: 'socialName', create: true, - component: 'input', - columnField: { - component: null, + columnCreate: { + component: 'input', + }, + columnFilter: { + name: 'search', }, }, { align: 'left', label: t('supplier.list.tableVisibleColumns.nif'), name: 'nif', - component: 'input', - columnField: { - component: null, + columnFilter: { + inWhere: true, }, }, { align: 'left', label: t('supplier.list.tableVisibleColumns.nickname'), name: 'alias', - component: 'input', - columnField: { - component: null, + columnFilter: { + name: 'search', }, }, { align: 'left', label: t('supplier.list.tableVisibleColumns.account'), name: 'account', - component: 'input', - columnField: { - component: null, + columnFilter: { + inWhere: true, }, }, { align: 'left', label: t('supplier.list.tableVisibleColumns.payMethod'), name: 'payMethod', - component: 'select', - attrs: { - url: 'payMethods', - fields: ['id', 'name'], - }, - columnField: { - component: null, + columnFilter: { + inWhere: true, + name: 'payMethodFk', + component: 'select', + attrs: { + url: 'payMethods', + fields: ['id', 'name'], + find: { + value: 'payMethodFk', + label: 'name', + }, + }, }, }, { align: 'left', label: t('supplier.list.tableVisibleColumns.payDay'), - name: 'payDat', - component: 'input', - columnField: { - component: null, + name: 'payDay', + columnFilter: { + inWhere: true, }, }, ]); @@ -99,7 +102,6 @@ const columns = computed(() => [ en: Search suppliers: Search suppliers - es: Search suppliers: Buscar proveedores From d0149d8cbea7547fff7709c0a90a124d7bf40eed Mon Sep 17 00:00:00 2001 From: alexm Date: Tue, 30 Jul 2024 12:26:26 +0200 Subject: [PATCH 2/2] empty commit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 71d80d401..1e5ac3bbc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "salix-front", - "version": "24.30.1", + "version": "24.30.2", "description": "Salix frontend", "productName": "Salix", "author": "Verdnatura",