From 14b2a4992fcf6cee8783a8bb8a060e19f2e3c01b Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Thu, 12 Dec 2024 16:38:27 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=95=E0=B8=B2?= =?UTF-8?q?=E0=B8=A1=E0=B9=80=E0=B8=97=E0=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../indicatorByPlan/IndicatorByPlan.vue | 42 +++++++++++++++---- .../Indicators/indicatorByRole/DetailView.vue | 20 +++++++-- .../competency/01ListCompetency.vue | 2 +- .../01_masterdata/views/indicatorByRole.vue | 2 +- 4 files changed, 52 insertions(+), 14 deletions(-) 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 () => {