fix bug เงินเดือนกรณี id หน่วยงานไม่ตรง

This commit is contained in:
Warunee Tamkoo 2024-04-01 13:05:07 +07:00
parent cbc4447b95
commit c137a5605e
2 changed files with 2 additions and 2 deletions

View file

@ -186,7 +186,7 @@ async function getAgencyPosition(id: string) {
(e: DataOption) => e.id === data.rootId
);
agencyFilter.value = position ? position.id : "";
agencyFilter.value = position ? position.id : "ALL";
if (agencyFilter.value && roundFilter.value.id && snapFilter.value) {
fetchSalalyPeriod(

View file

@ -186,7 +186,7 @@ async function getAgencyPosition(id: string) {
(e: DataOption) => e.id === data.rootId
);
agencyFilter.value = position ? position.id : "";
agencyFilter.value = position ? position.id : "ALL";
if (agencyFilter.value && roundFilter.value.id && snapFilter.value) {
fetchSalalyPeriod(