diff --git a/src/modules/13_salary/components/Command/step01.vue b/src/modules/13_salary/components/Command/step01.vue index 4b5c6b7e7..fdf22b4a5 100644 --- a/src/modules/13_salary/components/Command/step01.vue +++ b/src/modules/13_salary/components/Command/step01.vue @@ -179,6 +179,7 @@ const fetchdetailOrder = async () => { byOrder.value = data.orderBy; nameCommand.value = data.signatoryBy; positionCommand.value = data.signatoryPosition; + SalaryRound.value = data.salaryPeriodId; }) .catch((e) => { messageError($q, e); @@ -259,7 +260,7 @@ const submit = async () => { signatoryBy: signBy === "" ? nameCommand.value : signBy, signatoryPosition: positionCommand.value, year: year.value, - period: SalaryRound.value, + salaryPeriodId: SalaryRound.value, }; if ( typeOrder.value.commandCode == "C-PM-33" || @@ -665,7 +666,7 @@ function fetchSalaryRound() { option-value="id" use-input input-debounce="0" - map-value + emit-value @filter="(inputValue:any, doneFn:Function) => filterSelector(inputValue, doneFn,'SalaryRound' ) "