0
0
Fork 0

hotFix: supplierList correct filter

This commit is contained in:
Carlos Satorres 2024-07-30 11:50:23 +02:00
parent f079ba4022
commit 7ff20f3064
1 changed files with 26 additions and 24 deletions

View File

@ -19,58 +19,61 @@ const columns = computed(() => [
label: t('supplier.list.tableVisibleColumns.name'),
name: 'socialName',
create: true,
columnCreate: {
component: 'input',
columnField: {
component: null,
},
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',
columnFilter: {
inWhere: true,
name: 'payMethodFk',
component: 'select',
attrs: {
url: 'payMethods',
fields: ['id', 'name'],
find: {
value: 'payMethodFk',
label: 'name',
},
},
columnField: {
component: null,
},
},
{
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(() => [
<i18n>
en:
Search suppliers: Search suppliers
es:
Search suppliers: Buscar proveedores
</i18n>