0
0
Fork 0

feat: CustomerGreuges

This commit is contained in:
Javier Segarra 2024-08-29 15:30:09 +02:00
parent b66ff783be
commit 8b4fcbd888
1 changed files with 3 additions and 3 deletions

View File

@ -52,9 +52,8 @@ const columns = computed(() => [
component: 'userLink',
attrs: ({ row }) => {
return {
defaultName: true,
workerId: row.user?.id,
name: row.user?.name,
tag: row.user?.name,
};
},
},
@ -73,6 +72,7 @@ const columns = computed(() => [
columnCreate: {
component: 'select',
url: 'greugeTypes',
sortBy: 'name ASC ',
limit: 0,
},
},
@ -107,7 +107,7 @@ const setRows = (data) => {
@on-fetch="(data) => setRows(data)"
:create="{
urlCreate: `Greuges`,
title: t('New credit'),
title: t('New greuge'),
onDataSaved: () => tableRef.reload(),
formInitialData: { shipped: new Date(), clientFk: route.params.id },
}"