Merge pull request 'refs #6898 fix' (!519) from fix-supplierSearchTable into dev
gitea/salix-front/pipeline/head This commit looks good Details
gitea/salix-front/pipeline/pr-dev This commit looks good Details

Reviewed-on: #519
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
Reviewed-by: Pablo Natek <pablone@verdnatura.es>
This commit is contained in:
Carlos Satorres 2024-07-03 12:04:07 +00:00
commit f4c34162a6
1 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ const columns = computed(() => [
{ {
align: 'left', align: 'left',
label: t('supplier.list.tableVisibleColumns.name'), label: t('supplier.list.tableVisibleColumns.name'),
name: 'name', name: 'socialName',
create: true, create: true,
component: 'input', component: 'input',
columnField: { columnField: {
@ -38,7 +38,7 @@ const columns = computed(() => [
{ {
align: 'left', align: 'left',
label: t('supplier.list.tableVisibleColumns.nickname'), label: t('supplier.list.tableVisibleColumns.nickname'),
name: 'nickname', name: 'alias',
component: 'input', component: 'input',
columnField: { columnField: {
component: null, component: null,
@ -56,7 +56,7 @@ const columns = computed(() => [
{ {
align: 'left', align: 'left',
label: t('supplier.list.tableVisibleColumns.payMethod'), label: t('supplier.list.tableVisibleColumns.payMethod'),
name: 'payMethodFk', name: 'payMethod',
component: 'select', component: 'select',
attrs: { attrs: {
url: 'payMethods', url: 'payMethods',
@ -88,7 +88,7 @@ const columns = computed(() => [
<VnTable <VnTable
ref="tableRef" ref="tableRef"
data-key="SuppliersList" data-key="SuppliersList"
:url="`Suppliers/filter`" url="Suppliers/filter"
save-url="Suppliers/crud" save-url="Suppliers/crud"
redirect="supplier" redirect="supplier"
:create="{ :create="{