เพิ่มเงื่อนไข อนุมัติหรือยับยั้ง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-08-31 14:25:03 +07:00
parent 94996f6d28
commit fbdcc063fa

View file

@ -437,7 +437,9 @@ const statusOrder = (val: boolean) => {
class="q-gutter-x-sm"
v-if="
(roleUser === 'commander' && dataDetail.commanderReject === null) ||
(roleUser === 'oligarch' && dataDetail.oligarchReject === null)
(roleUser === 'oligarch' &&
dataDetail.oligarchReject === null &&
dataDetail.commanderReject !== null)
"
>
<q-btn