From d0687adfc3b4087fea205f739458421a5cd3a2f2 Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Fri, 7 Mar 2025 14:07:08 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=A3=E0=B8=B9?= =?UTF-8?q?=E0=B8=9B=E0=B9=81=E0=B8=9A=E0=B8=9A=E0=B9=80=E0=B8=A7=E0=B8=A5?= =?UTF-8?q?=E0=B8=B2=E0=B9=80=E0=B8=9B=E0=B9=87=E0=B8=99=2024=20=E0=B8=8A?= =?UTF-8?q?=E0=B8=A1.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/01_RoundTime/DialogForm.vue | 279 ++++++++++++++---- src/style/quasar-variables.sass | 6 + 2 files changed, 231 insertions(+), 54 deletions(-) diff --git a/src/modules/09_leave/components/01_RoundTime/DialogForm.vue b/src/modules/09_leave/components/01_RoundTime/DialogForm.vue index e225204db..c6883cb11 100644 --- a/src/modules/09_leave/components/01_RoundTime/DialogForm.vue +++ b/src/modules/09_leave/components/01_RoundTime/DialogForm.vue @@ -54,6 +54,25 @@ const objectRound: MyObjectRoundRef = { endTimeAfternoon: pmOutRef, }; +const formDate = reactive({ + startTimeMorning: { + hours: new Date().getHours(), + minutes: new Date().getMinutes(), + }, + endTimeMorning: { + hours: new Date().getHours(), + minutes: new Date().getMinutes(), + }, + startTimeAfternoon: { + hours: new Date().getHours(), + minutes: new Date().getMinutes(), + }, + endTimeAfternoon: { + hours: new Date().getHours(), + minutes: new Date().getMinutes(), + }, +}); + /** Form ข้อมูล */ const formData = reactive({ startTimeMorning: "", @@ -200,16 +219,29 @@ watch(

ครึ่งเช้า

เวลาเข้างาน

- + + +

เวลาออกงาน

- + + +
ครึ่งบ่าย

เวลาเข้างาน

- + + +

เวลาออกงาน

- + + +