From 8004f4fa2faed19e4afea0f611a35787836a398d Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Tue, 12 Nov 2024 10:25:17 +0700 Subject: [PATCH] refactor: edit layout work --- .../FormEmployeeWorkHistory.vue | 185 ++++++++++-------- 1 file changed, 99 insertions(+), 86 deletions(-) diff --git a/src/components/03_customer-management/FormEmployeeWorkHistory.vue b/src/components/03_customer-management/FormEmployeeWorkHistory.vue index a99d4258..20601620 100644 --- a/src/components/03_customer-management/FormEmployeeWorkHistory.vue +++ b/src/components/03_customer-management/FormEmployeeWorkHistory.vue @@ -50,7 +50,6 @@ function addData() { const canAdd = true; if (canAdd) { employeeWork.value?.push({ - workEndDate: null, workPermitExpireDate: null, workPermitIssueDate: null, workPermitNo: '', @@ -115,7 +114,7 @@ const workplaceFilter = selectFilterOptionRefMod( name="mdi-briefcase-outline" style="background-color: var(--surface-3)" /> - {{ $t(`customerEmployee.formWorkHistory.title`) }} + {{ $t(`customerEmployee.form.group.workHistory`) }} - - - + :label="$t('customerEmployee.formWorkHistory.employerName')" + v-model="work.ownerName" + /> + - - - - - - - + + + + + + + + + + +