fix: typo

This commit is contained in:
Methapon Metanipat 2024-10-30 09:04:55 +07:00
parent c43a909fcc
commit ab08036962
3 changed files with 5 additions and 5 deletions

View file

@ -52,7 +52,7 @@ function addData() {
employeeWork.value?.push({
workEndDate: null,
workPermitExpireDate: null,
workPermitIssuDate: null,
workPermitIssueDate: null,
workPermitNo: '',
workplace: '',
jobType: '',
@ -269,7 +269,7 @@ const workplaceFilter = selectFilterOptionRefMod(
/>
<DatePicker
:label="$t('customerEmployee.formWorkHistory.permitIssueDate')"
v-model="work.workPermitIssuDate"
v-model="work.workPermitIssueDate"
class="col-3"
:id="`${prefixId}-date-picker-work-permit-issue-date`"
:readonly="readonly || work.statusSave"

View file

@ -687,7 +687,7 @@ export const useEmployeeForm = defineStore('form-employee', () => {
{
workEndDate: null,
workPermitExpireDate: null,
workPermitIssuDate: null,
workPermitIssueDate: null,
workPermitNo: '',
workplace: '',
jobType: '',

View file

@ -193,7 +193,7 @@ export type EmployeeWork = {
createdBy: string;
workEndDate: Date;
workPermitExpireDate: Date;
workPermitIssuDate: Date;
workPermitIssueDate: Date;
workPermitNo: string;
workplace: string;
jobType: string;
@ -207,7 +207,7 @@ export type EmployeeWork = {
export type EmployeeWorkCreate = {
workEndDate?: Date | null;
workPermitExpireDate?: Date | null;
workPermitIssuDate?: Date | null;
workPermitIssueDate?: Date | null;
workPermitNo?: string;
workplace?: string;
jobType?: string;