This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-08-08 14:27:52 +07:00
parent 41f0dc039d
commit 7d89a81878

View file

@ -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();