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;