From 317d68b0a56921c326af1cff8f6301541f72211d Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 31 Jan 2025 11:09:39 +0700 Subject: [PATCH] =?UTF-8?q?fix=20=E0=B8=97=E0=B8=94=E0=B8=A5=E0=B8=AD?= =?UTF-8?q?=E0=B8=87=E0=B8=87=E0=B8=B2=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../probation/FormEvaluation/FormReport.vue | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/modules/05_placement/components/probation/FormEvaluation/FormReport.vue b/src/modules/05_placement/components/probation/FormEvaluation/FormReport.vue index 11469ed00..893e7ff26 100644 --- a/src/modules/05_placement/components/probation/FormEvaluation/FormReport.vue +++ b/src/modules/05_placement/components/probation/FormEvaluation/FormReport.vue @@ -242,10 +242,7 @@ async function postData(action: string) { /** ผลการประเมินการทดลองปฏิบัติหน้าที่ราชการ */ function selectResult() { - if (result.value !== 3) { - expand_month.value = ""; - } - + expand_month.value = ""; changeReson52(Number(result.value)); } @@ -274,7 +271,9 @@ function changeReson52(val: number) { reson52.value = "เห็นควรให้ออกจากราชการ"; break; case 3: - reson52.value = `เห็นควรให้ขยายเวลาทดลองปฏิบัตหิน้าท่ีราชการต่อไปอีก ${expand_month.value} เดือน`; + reson52.value = `เห็นควรให้ขยายเวลาทดลองปฏิบัตหน้าที่ราชการต่อไปอีก ${ + expand_month.value ? expand_month.value : "" + } เดือน`; break; default: @@ -522,10 +521,8 @@ onMounted(async () => {