diff --git a/src/modules/01_masterdata/components/Indicators/indicatorByPlan/IndicatorByPlan.vue b/src/modules/01_masterdata/components/Indicators/indicatorByPlan/IndicatorByPlan.vue index 5c6f15141..cecb9bd26 100644 --- a/src/modules/01_masterdata/components/Indicators/indicatorByPlan/IndicatorByPlan.vue +++ b/src/modules/01_masterdata/components/Indicators/indicatorByPlan/IndicatorByPlan.vue @@ -35,7 +35,7 @@ const { dialogMessageNotify, } = mixin; -const checkRoute = ref(route.name == 'KPIIndicatorByPlanView') +const checkRoute = ref(route.name == "KPIIndicatorByPlanView"); const id = ref(route.params.id ? route.params.id.toLocaleString() : ""); const editCheck = ref(route.params.id ? true : false); @@ -276,6 +276,7 @@ onMounted(async () => { :locale="'th'" autoApply year-picker + :readonly="checkRoute" :enableTimePicker="false" > @@ -287,6 +288,7 @@ onMounted(async () => { dense outlined class="inputgreen" + :readonly="checkRoute" hide-bottom-space :model-value="!!year ? year + 543 : null" :label="`${'ปีงบประมาณ'}`" @@ -301,7 +303,7 @@ onMounted(async () => {