forked from verdnatura/salix-front
feat: CustomerGreuges
This commit is contained in:
parent
b66ff783be
commit
8b4fcbd888
|
@ -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 },
|
||||
}"
|
||||
|
|
Loading…
Reference in New Issue