changes
This commit is contained in:
@@ -176,11 +176,9 @@ async function handleFileUpload(uploadedFiles) {
|
||||
@click.prevent="openModal"
|
||||
>Hợp đồng</a
|
||||
>
|
||||
<!-- <span v-if="!store.dealer" class="mx-1 has-text-grey-light">•</span> -->
|
||||
<FileUpload
|
||||
v-if="
|
||||
txndetail.phase === 7 &&
|
||||
!store.dealer &&
|
||||
$getEditRights('edit', {
|
||||
code: 'transaction',
|
||||
category: 'topmenu',
|
||||
|
||||
@@ -5,8 +5,7 @@ const props = defineProps({
|
||||
transaction__code: String,
|
||||
});
|
||||
|
||||
const { $exportpdf, $getdata, $snackbar, $store } = useNuxtApp();
|
||||
const { dealer } = $store;
|
||||
const { $exportpdf, $getdata, $snackbar } = useNuxtApp();
|
||||
const txn = ref(null);
|
||||
const txndetails = ref(null);
|
||||
const showModal = ref(null);
|
||||
@@ -83,7 +82,7 @@ onMounted(async () => {
|
||||
class="column is-narrow is-flex is-align-items-center is-gap-2"
|
||||
>
|
||||
<button
|
||||
v-if="txn?.phase === 4 && !dealer && $getEditRights('edit', { code: 'transaction', category: 'topmenu' })"
|
||||
v-if="txn?.phase === 4 && $getEditRights('edit', { code: 'transaction', category: 'topmenu' })"
|
||||
@click="openChangeCustomerModal"
|
||||
class="button is-link"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user