From c865bc2ed45331d4083aad3d0eaf7ec0bcc1c8aa Mon Sep 17 00:00:00 2001 From: carlossa Date: Mon, 27 May 2024 10:07:32 +0200 Subject: [PATCH] refs #7406 fix props --- src/pages/Worker/Card/WorkerFormation.vue | 38 +++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/src/pages/Worker/Card/WorkerFormation.vue b/src/pages/Worker/Card/WorkerFormation.vue index f8e458e1b..312acf4f2 100644 --- a/src/pages/Worker/Card/WorkerFormation.vue +++ b/src/pages/Worker/Card/WorkerFormation.vue @@ -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, }, ]);