สิทธิ์ รายการให้ออก
This commit is contained in:
parent
fb02203151
commit
6706c63da9
3 changed files with 54 additions and 10 deletions
|
|
@ -18,6 +18,7 @@ import CardProfile from "@/components/CardProfile.vue";
|
|||
const $q = useQuasar();
|
||||
const route = useRoute();
|
||||
const router = useRouter();
|
||||
const checkRoutePermisson = ref<boolean>(route.name == "outDetailOnly");
|
||||
const mixin = useCounterMixin();
|
||||
const dataId = route.params.id.toString();
|
||||
const {
|
||||
|
|
@ -181,7 +182,7 @@ onMounted(async () => {
|
|||
แก้ไขข้อมูลเพื่อลงบัญชีแนบท้าย
|
||||
</div>
|
||||
<q-space />
|
||||
<div v-if="status !== 'DONE' && status !== 'REPORT'">
|
||||
<div v-if="status !== 'DONE' && status !== 'REPORT' && !checkRoutePermisson">
|
||||
<div class="q-gutter-sm" v-if="!edit">
|
||||
<q-btn
|
||||
outline
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue