fix reasonResign

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-01-13 17:06:48 +07:00
parent 3cd096a900
commit afe6ee03e4
2 changed files with 5 additions and 4 deletions

View file

@ -200,7 +200,7 @@ async function fetchData(id: string) {
salary.value = data.salary ? data.salary : 0;
date.value = data.sendDate ? new Date(data.sendDate) : null;
dateLeave.value = data.activeDate ? new Date(data.activeDate) : null;
reason.value = data.reason ?? "";
reason.value = data.reasonResign ?? "";
location.value = data.location ?? "";
status.value = data.status ?? "";
remarkHorizontal.value = data.remarkHorizontal ?? "-";
@ -305,7 +305,7 @@ async function clickCancel() {
salary.value = data.salary ? data.salary : 0;
date.value = data.sendDate ? new Date(data.sendDate) : null;
dateLeave.value = data.activeDate ? new Date(data.activeDate) : null;
reason.value = data.reason ?? "";
reason.value = data.reasonResign ?? "";
location.value = data.location ?? "";
status.value = data.status ?? "";
remarkHorizontal.value = data.remarkHorizontal ?? "-";