diff --git a/src/modules/15_development/components/FollowResult.vue b/src/modules/15_development/components/FollowResult.vue index 403f5784b..60f460daf 100644 --- a/src/modules/15_development/components/FollowResult.vue +++ b/src/modules/15_development/components/FollowResult.vue @@ -231,7 +231,10 @@ function onSubmitIndicators() { dialogConfirm($q, () => { showLoader(); http - .put(config.API.developmentMainTab(path, id), formIndicators) + .put(config.API.developmentMainTab(path, id), { + ...formIndicators, + result: status.value === "FINISH" ? formIndicators.result : undefined, + }) .then(() => { success($q, "บันทึกข้อมูลสำเร็จ"); fetchData();