แก้ bug อนุมัติการลงเวลาพิเศษ
This commit is contained in:
parent
0ae36dcccb
commit
914db6dd3b
1 changed files with 3 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue