From 914db6dd3bd35e1124c00d3451117f7ed30e8d2c Mon Sep 17 00:00:00 2001 From: waruneeta Date: Wed, 10 Jan 2024 12:36:22 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20bug=20=E0=B8=AD?= =?UTF-8?q?=E0=B8=99=E0=B8=B8=E0=B8=A1=E0=B8=B1=E0=B8=95=E0=B8=B4=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=E0=B8=A5=E0=B8=87=E0=B9=80=E0=B8=A7=E0=B8=A5?= =?UTF-8?q?=E0=B8=B2=E0=B8=9E=E0=B8=B4=E0=B9=80=E0=B8=A8=E0=B8=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../09_leave/components/4_specialTime/DialogApprove.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/modules/09_leave/components/4_specialTime/DialogApprove.vue b/src/modules/09_leave/components/4_specialTime/DialogApprove.vue index 0e52be3fc..10821b360 100644 --- a/src/modules/09_leave/components/4_specialTime/DialogApprove.vue +++ b/src/modules/09_leave/components/4_specialTime/DialogApprove.vue @@ -29,8 +29,8 @@ const props = defineProps({ date: { type: String, default: "" }, dateFix: { type: String, default: "" }, id: { type: String, default: "" }, - checkInStatus: { type: String, default: "NORMAL" }, - checkOutStatus: { type: String, default: "NORMAL" }, + checkInStatus: { type: String, default: "" }, + checkOutStatus: { type: String, default: "" }, closeDialog: { type: Function, default: () => {} }, detailData: Object, }); @@ -125,7 +125,6 @@ function close() { watch( () => props.modal, () => { - console.log("props===>", props); if (props.editCheck === "APPROVE") { formData.checkIn = ""; formData.checkOut = ""; @@ -145,7 +144,7 @@ watch( !props.detailData.checkInEdit && props.detailData.checkOutEdit ) { - formData.checkIn = props.detailData.startAfternoon; + formData.checkIn = props.detailData.startTimeAfternoon; formData.checkOut = props.detailData.endTimeAfternoon; } formData.note = props.detailData.note;