0
0
Fork 0

refs #7406 fix props

This commit is contained in:
Carlos Satorres 2024-05-27 10:07:32 +02:00
parent d4fbd99473
commit c865bc2ed4
1 changed files with 38 additions and 0 deletions

View File

@ -58,6 +58,44 @@ const columns = computed(() => [
{
align: 'left',
name: 'invoice',
label: t('worker.formation.tableVisibleColumns.invoice'),
isTitle: true,
component: 'input',
},
{
align: 'left',
name: 'amount',
label: t('worker.formation.tableVisibleColumns.amount'),
isTitle: true,
component: 'input',
props: (prop) => ({
disable: true,
'model-value': prop.row.amount,
}),
create: true,
},
{
align: 'left',
name: 'remark',
label: t('worker.formation.tableVisibleColumns.remark'),
isTitle: true,
component: 'checkbox',
props: (prop) => ({
disable: true,
'model-value': prop.row.remark,
}),
create: true,
},
{
align: 'left',
name: 'hasDiploma',
label: t('worker.formation.tableVisibleColumns.hasDiploma'),
isTitle: true,
props: (prop) => ({
disable: true,
'model-value': prop.row.hasDiploma,
}),
create: true,
},
]);
</script>