เปลี่ยน year เป็น string

This commit is contained in:
STW_TTTY\stwtt 2024-05-08 09:48:19 +07:00
parent 94afaca07b
commit fe0fefdb24
2 changed files with 2 additions and 2 deletions

View file

@ -209,7 +209,7 @@ function onSubmit() {
$q,
async () => {
const body = {
year: year.value == 0 ? null : year.value,
year: year.value == 0 ? null : year.value?.toString(),
period: planData.period,
includingName: planData.includingName,
target: planData.target,

View file

@ -125,7 +125,7 @@ function onSubmit() {
: config.API.kpiRoleMainList;
const body = {
year: form.year == 0 ? null:form.year,
year: form.year == 0 ? null:form.year.toString(),
position: form.position, //
period: form.round, //(->APR, ->OCT)
includingName: form.includingName, //