เงินเดือน ==> เปืดแก้ไขได้ทุก SNAP

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-04-04 09:31:35 +07:00
parent 69b17530ec
commit 8ba9c1b1b1
4 changed files with 19 additions and 28 deletions

View file

@ -307,12 +307,10 @@ watch(
</script>
<template>
<q-toolbar class="text-primary" style="padding: 0px">
<!-- &&
snapShot === 'SNAP1' -->
<q-btn
v-if="
!store.isClosedRound &&
checkPermission($route)?.attrIsCreate &&
snapShot === 'SNAP1'
"
v-if="!store.isClosedRound && checkPermission($route)?.attrIsCreate"
flat
round
dense
@ -387,10 +385,10 @@ watch(
<template v-slot:body="props">
<q-tr :props="props">
<q-td>
<!-- snapShot === 'SNAP1' && -->
<q-btn
v-if="
!store.isClosedRound &&
snapShot === 'SNAP1' &&
(checkPermission($route)?.attrIsUpdate ||
checkPermission($route)?.attrIsDelete)
"

View file

@ -342,12 +342,10 @@ watch(
<template>
<q-toolbar class="text-primary" style="padding: 0px">
<!-- &&
snapShot === 'SNAP1' -->
<q-btn
v-if="
!store.isClosedRound &&
checkPermission($route)?.attrIsCreate &&
snapShot === 'SNAP1'
"
v-if="!store.isClosedRound && checkPermission($route)?.attrIsCreate"
flat
round
dense
@ -384,7 +382,7 @@ watch(
: columns"
option-value="name"
style="min-width: 140px"
class=" q-ml-sm"
class="q-ml-sm"
/>
</q-toolbar>
<d-table
@ -413,10 +411,10 @@ watch(
<template v-slot:body="props">
<q-tr :props="props">
<q-td>
<!-- snapShot === 'SNAP1' && -->
<q-btn
v-if="
!store.isClosedRound &&
snapShot === 'SNAP1' &&
(checkPermission($route)?.attrIsUpdate ||
checkPermission($route)?.attrIsDelete)
"