คอมเม้น Code ระบบ ลงเวลา
This commit is contained in:
parent
b311f1482b
commit
b202f2ed9d
11 changed files with 80 additions and 63 deletions
|
|
@ -1,14 +1,14 @@
|
|||
<script setup lang="ts">
|
||||
//import Stores
|
||||
/** importStores */
|
||||
import { useCounterMixin } from "@/stores/mixin";
|
||||
import { useWorklistDataStore } from "@/modules/09_leave/stores/WorkStore";
|
||||
|
||||
/** useStore */
|
||||
const workStore = useWorklistDataStore();
|
||||
const mixin = useCounterMixin();
|
||||
|
||||
const { date2Thai } = mixin;
|
||||
const { filterFn, searchDataFn } = workStore;
|
||||
const { searchDataFn } = workStore;
|
||||
|
||||
/** Functicon หาค่ามากสุดและปิดวันที่ไม่ให้เลือกวันล่วงหน้า*/
|
||||
function calculateMaxDate() {
|
||||
const today = new Date();
|
||||
today.setDate(today.getDate());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue