diff --git a/src/modules/11_discipline/components/7_ListSuspend/ListsPage.vue b/src/modules/11_discipline/components/7_ListSuspend/ListsPage.vue index 4190bd833..83edd7be0 100644 --- a/src/modules/11_discipline/components/7_ListSuspend/ListsPage.vue +++ b/src/modules/11_discipline/components/7_ListSuspend/ListsPage.vue @@ -22,7 +22,14 @@ const dataStore = useDisciplineSuspendStore(); const $q = useQuasar(); const router = useRouter(); const mixin = useCounterMixin(); -const { messageError, showLoader, hideLoader, success, date2Thai ,convertDateToAPI} = mixin; +const { + messageError, + showLoader, + hideLoader, + success, + date2Thai, + convertDateToAPI, +} = mixin; const date = ref(null); const employeeClass = ref(""); @@ -304,11 +311,9 @@ onMounted(async () => { class="bg-white" dense outlined - :label="`${'ช่วงวันที่'}`" + :label="`${'วันที่เริ่มต้น-สิ้นสุดคำสั่ง'}`" :model-value=" - date - ? `${date2Thai(date[0])} - ${date2Thai(date[1])}` - : 'ทั้งหมด' + date ? `${date2Thai(date[0])} - ${date2Thai(date[1])}` : '' " >