diff --git a/src/components/common/VnSelectFilter.vue b/src/components/common/VnSelectFilter.vue
index 2a3ee6161..04f10ace9 100644
--- a/src/components/common/VnSelectFilter.vue
+++ b/src/components/common/VnSelectFilter.vue
@@ -89,7 +89,12 @@ const value = computed({
ref="vnSelectRef"
>
-
+
diff --git a/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue b/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue
index 1cb171bc0..05b642f1f 100644
--- a/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue
+++ b/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue
@@ -217,7 +217,7 @@ onMounted(async () => {
diff --git a/src/pages/InvoiceOut/InvoiceOutNegativeBases.vue b/src/pages/InvoiceOut/InvoiceOutNegativeBases.vue
index 8c0692286..96b9ac7f4 100644
--- a/src/pages/InvoiceOut/InvoiceOutNegativeBases.vue
+++ b/src/pages/InvoiceOut/InvoiceOutNegativeBases.vue
@@ -5,7 +5,7 @@ import CustomerDescriptorProxy from 'src/pages/Customer/Card/CustomerDescriptorP
import WorkerDescriptorProxy from 'src/pages/Worker/Card/WorkerDescriptorProxy.vue';
import invoiceOutService from 'src/services/invoiceOut.service';
import { toCurrency } from 'src/filters';
-import { QBadge, QBtn } from 'quasar';
+import { QCheckbox, QBtn } from 'quasar';
import { useInvoiceOutGlobalStore } from 'src/stores/invoiceOutGlobal.js';
import { toDate } from 'src/filters';
@@ -39,57 +39,66 @@ const filter = ref({
const tableColumnComponents = {
company: {
component: 'span',
- props: {},
+ props: () => {},
event: () => {},
},
country: {
component: 'span',
- props: {},
+ props: () => {},
event: () => {},
},
clientId: {
component: QBtn,
- props: { flat: true, color: 'blue' },
+ props: () => ({ flat: true, color: 'blue' }),
event: (prop) => selectCustomerId(prop.value),
},
client: {
component: 'span',
- props: {},
+ props: () => {},
event: () => {},
},
amount: {
component: 'span',
- props: {},
+ props: () => {},
event: () => {},
},
base: {
component: 'span',
- props: {},
+ props: () => {},
event: () => {},
},
ticketId: {
component: 'span',
- props: {},
+ props: () => {},
event: () => {},
},
active: {
- component: 'span',
- props: { type: 'boolean' },
+ component: QCheckbox,
+ props: (prop) => ({
+ disable: true,
+ 'model-value': Boolean(prop.value),
+ }),
event: () => {},
},
hasToInvoice: {
- component: 'span',
- props: { type: 'boolean' },
+ component: QCheckbox,
+ props: (prop) => ({
+ disable: true,
+ 'model-value': Boolean(prop.value),
+ }),
event: () => {},
},
verifiedData: {
- component: 'span',
- props: { type: 'boolean' },
+ component: QCheckbox,
+ props: (prop) => ({
+ disable: true,
+ 'model-value': Boolean(prop.value),
+ }),
event: () => {},
},
comercial: {
component: QBtn,
- props: { flat: true, color: 'blue' },
+ props: () => ({ flat: true, color: 'blue' }),
event: (prop) => selectWorkerId(prop.row.comercialId),
},
};
@@ -351,27 +360,17 @@ onMounted(async () => {
- {{ props.value }}
- {{ props.value }}
-
-
-
-
-
-
-
-
-
-
-
{
{{ supplier.note || '-' }}
-
-
+
+
+ {{ supplier.note || '-' }}
+
+
+
+
+
+
+
+
+
+
+
+