From cd1a733ef6b740cd03484e4e98d46576acac4ce6 Mon Sep 17 00:00:00 2001 From: AnandaTon Date: Thu, 19 Oct 2023 13:47:54 +0700 Subject: [PATCH 1/2] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88?= =?UTF-8?q?=E0=B8=A1=20currency=20input?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CurruncyInput.vue | 5 +- .../components/CurruncyInput.vue | 60 +++ .../03_recruiting/components/Occupation.vue | 412 +++++++----------- .../03_recruiting/interface/index/Main.ts | 4 +- 4 files changed, 235 insertions(+), 246 deletions(-) create mode 100644 src/modules/03_recruiting/components/CurruncyInput.vue diff --git a/src/components/CurruncyInput.vue b/src/components/CurruncyInput.vue index 89d371935..9386d093e 100644 --- a/src/components/CurruncyInput.vue +++ b/src/components/CurruncyInput.vue @@ -26,7 +26,10 @@ import { ref, useSlots, watch } from "vue"; const slots = ref(useSlots()); const props = defineProps({ - modelValue: Number, + modelValue: { + type: Number, + default: undefined, + }, dense: { type: Boolean, default: true, diff --git a/src/modules/03_recruiting/components/CurruncyInput.vue b/src/modules/03_recruiting/components/CurruncyInput.vue new file mode 100644 index 000000000..9386d093e --- /dev/null +++ b/src/modules/03_recruiting/components/CurruncyInput.vue @@ -0,0 +1,60 @@ + + + diff --git a/src/modules/03_recruiting/components/Occupation.vue b/src/modules/03_recruiting/components/Occupation.vue index 9fc2ebc51..7ab6eb574 100644 --- a/src/modules/03_recruiting/components/Occupation.vue +++ b/src/modules/03_recruiting/components/Occupation.vue @@ -1,212 +1,138 @@ diff --git a/src/modules/03_recruiting/interface/index/Main.ts b/src/modules/03_recruiting/interface/index/Main.ts index 2a92a069d..e7455baef 100644 --- a/src/modules/03_recruiting/interface/index/Main.ts +++ b/src/modules/03_recruiting/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; @@ -229,7 +229,7 @@ const defaultOccupation = ref({ org: null, pile: null, group: null, - salary: null, + salary: undefined, position: null, positionType: null, tel: null, From 89c381afcc50615b743fb12f56f12e9d17c43821 Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Thu, 19 Oct 2023 14:36:12 +0700 Subject: [PATCH 2/2] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88?= =?UTF-8?q?=E0=B8=A1=20id=20=E0=B9=83=E0=B8=AB=E0=B9=89=20=E0=B9=80?= =?UTF-8?q?=E0=B8=97=E0=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/AddEmployee/Main.vue | 30 +-- .../2_InvestigateFacts/MainPage.vue | 172 ++++-------------- .../11_discipline/interface/index/Main.ts | 6 +- .../store/InvestigateFactStore.ts | 84 ++++++++- 4 files changed, 132 insertions(+), 160 deletions(-) diff --git a/src/modules/08_registryEmployee/components/AddEmployee/Main.vue b/src/modules/08_registryEmployee/components/AddEmployee/Main.vue index 35098cfc7..162446638 100644 --- a/src/modules/08_registryEmployee/components/AddEmployee/Main.vue +++ b/src/modules/08_registryEmployee/components/AddEmployee/Main.vue @@ -359,7 +359,7 @@ const clickBack = () => {
- val.length != 13 ||`${'กรุณากรอกเลขประจำตัวประชาชนให้ครบ'}`,]" -->
-
-
-
-