forked from verdnatura/salix-front
refs #7406 fix props
This commit is contained in:
parent
d4fbd99473
commit
c865bc2ed4
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue