From 778e6299cea5f2c1bdb32749fd39068ce8e07bd4 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 1 Oct 2024 08:57:04 +0200 Subject: [PATCH] fix: solve conflicts from test to dev --- src/components/VnTable/VnTable.vue | 14 ++++- src/components/common/VnLocation.vue | 2 + src/components/common/VnLog.vue | 1 + src/pages/Customer/Card/CustomerBasicData.vue | 1 + .../Customer/Card/CustomerFiscalData.vue | 1 + src/pages/Customer/Card/CustomerSummary.vue | 1 + src/pages/Customer/CustomerList.vue | 3 +- .../Customer/Defaulter/CustomerDefaulter.vue | 7 --- src/pages/Entry/EntryStockBoughtFilter.vue | 63 ------------------- .../Supplier/Card/SupplierAddressesCreate.vue | 1 + .../Supplier/Card/SupplierFiscalData.vue | 1 + src/pages/Ticket/Card/TicketSummary.vue | 34 ++++++---- src/pages/Worker/WorkerList.vue | 1 + src/router/modules/entry.js | 9 --- .../integration/entry/stockBought.spec.js | 39 ------------ 15 files changed, 43 insertions(+), 135 deletions(-) delete mode 100644 src/pages/Entry/EntryStockBoughtFilter.vue delete mode 100644 test/cypress/integration/entry/stockBought.spec.js diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index 861a79432..3bcd91b1f 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -317,8 +317,8 @@ defineExpose({ params, }); -function handleOnDataSaved(_) { - if (_.onDataSaved) _.onDataSaved(this); +function handleOnDataSaved(_, res) { + if (_.onDataSaved) _.onDataSaved({ CrudModelRef: CrudModelRef.value }); else $props.create.onDataSaved(_); } @@ -771,6 +771,16 @@ es: color: var(--vn-text-color); } +.q-table--dark .q-table__bottom, +.q-table--dark thead, +.q-table--dark tr { + border-color: var(--vn-section-color); +} + +.q-table__container > div:first-child { + background-color: var(--vn-page-color); +} + .grid-three { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, max-content)); diff --git a/src/components/common/VnLocation.vue b/src/components/common/VnLocation.vue index 633d32b85..ffbc7a656 100644 --- a/src/components/common/VnLocation.vue +++ b/src/components/common/VnLocation.vue @@ -37,9 +37,11 @@ const locationProperties = [ : null, (obj) => obj.country?.name, ]; + const modelValue = ref( props.location ? formatLocation(props.location, locationProperties) : null ); + function showLabel(data) { const dataProperties = [ 'code', diff --git a/src/components/common/VnLog.vue b/src/components/common/VnLog.vue index ab522cfde..8c71c0997 100644 --- a/src/components/common/VnLog.vue +++ b/src/components/common/VnLog.vue @@ -406,6 +406,7 @@ watch( :skeleton="false" auto-load @on-fetch="setLogTree" + search-url="logs" >