เงินเดือน,รายงาน KPI

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-07-11 18:10:59 +07:00
parent 45aac3b5a5
commit 4462ee6bee
9 changed files with 1034 additions and 206 deletions

View file

@ -233,6 +233,7 @@ function changOption(val: string) {
val === "KPI2" ||
val === "KPI3" ||
val === "KPI7" ||
val === "KPI8" ||
val === "KPI9"
) {
persanalId.value = "";
@ -552,6 +553,7 @@ onMounted(() => {
typeReport === 'KPI2' ||
typeReport === 'KPI3' ||
typeReport === 'KPI7' ||
typeReport === 'KPI8' ||
typeReport === 'KPI9'
"
>
@ -605,6 +607,7 @@ onMounted(() => {
@update:model-value="changOption(typeReport)"
/>
<q-select
v-if="typeReport !== 'KPI8'"
class="bg-white"
:disable="roundOp.length === 0"
style="min-width: 100px"
@ -632,8 +635,21 @@ onMounted(() => {
>
</div>
<div class="q-pa-sm" v-else>
<q-btn color="primary" label="เลือกรายชื่อ" @click="onClickModal" />
<div
class="q-pa-sm"
v-if="
typeReport === 'KPI4' ||
typeReport === 'KPI5' ||
typeReport === 'KPI6' ||
typeReport === 'KPI8'
"
>
<q-btn
color="primary"
label="เลือกรายชื่อ"
@click="onClickModal"
:disable="roundOp.length === 0 && typeReport === 'KPI8'"
/>
</div>
</q-toolbar>