This commit is contained in:
setthawutttty 2025-05-07 10:16:52 +07:00
parent 161847d687
commit 4f925836b3

View file

@ -243,6 +243,7 @@ function changOption(val: string) {
val === "KPI9"
) {
persanalId.value = val === "KPI8" ? persanalId.value : "";
fullNameShow.value = val === "KPI8" ? fullNameShow.value : "";
organization.value = val === "KPI8" ? "" : organization.value;
} else {
round.value = "";
@ -747,6 +748,20 @@ onMounted(() => {
<div class="col-12 row q-pa-sm">
<q-space />
<q-btn
:disable="
((typeReport == 'KPI1' ||
typeReport == 'KPI2' ||
typeReport == 'KPI3' ||
typeReport == 'KPI7' ||
typeReport == 'KPI9') &&
(round == '' || organization == '')) ||
((typeReport == 'KPI4' ||
typeReport == 'KPI5' ||
typeReport == 'KPI6') &&
persanalId == '') ||
(typeReport == 'KPI8' &&
(round == '' || persanalId == ''))
"
dense
class="q-px-md"
label="ค้นหา"