From 66e0b544e03f654ec78234ce00243176f09ff84e Mon Sep 17 00:00:00 2001 From: AnandaTon Date: Thu, 19 Oct 2023 13:20:40 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=20currency=20input?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -แก้ type salary เป็น number | undefind --- src/components/CurruncyInput.vue | 56 +++ .../01_exam/components/Form/Occupation.vue | 349 +++++++++--------- src/modules/01_exam/interface/index/Main.ts | 4 +- 3 files changed, 233 insertions(+), 176 deletions(-) create mode 100644 src/components/CurruncyInput.vue diff --git a/src/components/CurruncyInput.vue b/src/components/CurruncyInput.vue new file mode 100644 index 0000000..d0dbed8 --- /dev/null +++ b/src/components/CurruncyInput.vue @@ -0,0 +1,56 @@ + + + diff --git a/src/modules/01_exam/components/Form/Occupation.vue b/src/modules/01_exam/components/Form/Occupation.vue index 20ceaf3..43287da 100644 --- a/src/modules/01_exam/components/Form/Occupation.vue +++ b/src/modules/01_exam/components/Form/Occupation.vue @@ -1,146 +1,147 @@ diff --git a/src/modules/01_exam/interface/index/Main.ts b/src/modules/01_exam/interface/index/Main.ts index 54ce065..528217e 100644 --- a/src/modules/01_exam/interface/index/Main.ts +++ b/src/modules/01_exam/interface/index/Main.ts @@ -65,7 +65,7 @@ interface Occupation { org: string | null pile: string | null group: string | null - salary: string | null + salary: number | undefined position: string | null positionType: string | null tel: string | null @@ -199,7 +199,7 @@ const defaultOccupation = ref({ org: null, pile: null, group: null, - salary: null, + salary: undefined, position: null, positionType: 'other', tel: null