คอมเม้น Code ระบบ ลงเวลา

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-11-10 14:49:16 +07:00
parent b311f1482b
commit b202f2ed9d
11 changed files with 80 additions and 63 deletions

View file

@ -1,18 +1,24 @@
<script setup lang="ts">
import { ref, watch } from "vue";
/** props จาก TableList */
const props = defineProps({
modal: {
type: Boolean,
require: true,
},
detail: {
type: Object,
require: true,
},
colse: {
type: Function,
require: true,
},
});
const statusEdit = ref<boolean>(false);
//
/** รายละเอียดข้อมูล */
const titlename = ref<string>("");
const timeIn = ref<string>("");
const timeOut = ref<string>("");
@ -33,7 +39,8 @@ watch(props, () => {
}
}
});
// popup
/** Function ปิด popup */
function colsePopup() {
props.colse ? props.colse() : false;
}