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", 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