From 9db12a8deee76b83076b09cff24965f611753383 Mon Sep 17 00:00:00 2001 From: Jon Date: Wed, 18 Sep 2024 13:46:37 +0200 Subject: [PATCH 1/7] fix: wagon reload --- src/pages/Wagon/Type/WagonTypeList.vue | 2 +- src/pages/Wagon/WagonList.vue | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/Wagon/Type/WagonTypeList.vue b/src/pages/Wagon/Type/WagonTypeList.vue index 2f0d55fbe..c0943c58e 100644 --- a/src/pages/Wagon/Type/WagonTypeList.vue +++ b/src/pages/Wagon/Type/WagonTypeList.vue @@ -103,7 +103,7 @@ async function remove(row) { url-create="WagonTypes" model="WagonType" :form-initial-data="initialData" - @on-data-saved="window.location.reload()" + @on-data-saved="tableRef.reload()" auto-load > diff --git a/src/pages/Order/Card/OrderCatalogFilter.vue b/src/pages/Order/Card/OrderCatalogFilter.vue index 938cc4fe2..354c44747 100644 --- a/src/pages/Order/Card/OrderCatalogFilter.vue +++ b/src/pages/Order/Card/OrderCatalogFilter.vue @@ -374,8 +374,10 @@ function addOrder(value, field, params) { /> - diff --git a/src/pages/Ticket/Card/TicketNotes.vue b/src/pages/Ticket/Card/TicketNotes.vue index cfc0c2431..1b9d98a8b 100644 --- a/src/pages/Ticket/Card/TicketNotes.vue +++ b/src/pages/Ticket/Card/TicketNotes.vue @@ -87,17 +87,18 @@ watch( - {{ t('ticketNotes.addNote') }} - + diff --git a/src/pages/Ticket/Card/TicketPackage.vue b/src/pages/Ticket/Card/TicketPackage.vue index a76fce2b6..c071d4f7f 100644 --- a/src/pages/Ticket/Card/TicketPackage.vue +++ b/src/pages/Ticket/Card/TicketPackage.vue @@ -114,17 +114,20 @@ watch( - - - {{ t('package.addPackage') }} - - + + + + {{ t('package.addPackage') }} + + + diff --git a/src/pages/Worker/Card/WorkerTimeControl.vue b/src/pages/Worker/Card/WorkerTimeControl.vue index 9ae91f8ce..fbfd4b28d 100644 --- a/src/pages/Worker/Card/WorkerTimeControl.vue +++ b/src/pages/Worker/Card/WorkerTimeControl.vue @@ -561,15 +561,16 @@ onMounted(async () => { {{ secondsToHoursMinutes(day.dayData?.workedHours) }} - {{ t('Add time') }} - + From 1550d79160421e7faeb177a9897be7a98a506cb6 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Thu, 19 Sep 2024 00:10:28 +0200 Subject: [PATCH 6/7] feat: add shortcut more buttons --- src/components/common/VnDmsList.vue | 9 ++++++++- src/pages/Account/Role/Card/SubRoles.vue | 8 +++++++- src/pages/Claim/Card/ClaimLines.vue | 2 +- src/pages/Claim/Card/ClaimPhoto.vue | 8 +++++++- src/pages/Customer/Card/CustomerFileManagement.vue | 1 + src/pages/Customer/Card/CustomerSamples.vue | 8 +++++++- src/pages/Entry/Card/EntryNotes.vue | 8 +++++++- src/pages/InvoiceIn/Card/InvoiceInBasicData.vue | 1 + src/pages/InvoiceIn/Card/InvoiceInDueDay.vue | 2 +- src/pages/InvoiceIn/Card/InvoiceInIntrastat.vue | 1 + src/pages/InvoiceIn/Card/InvoiceInVat.vue | 1 + src/pages/Item/ItemRequestFilter.vue | 1 + src/pages/Route/Agency/Card/AgencyWorkcenter.vue | 2 +- src/pages/Route/RouteTickets.vue | 2 +- src/pages/Ticket/Card/TicketSale.vue | 3 ++- src/pages/Ticket/Card/TicketService.vue | 8 +++++++- src/pages/Travel/ExtraCommunityFilter.vue | 1 + src/pages/Zone/Delivery/ZoneDeliveryList.vue | 2 +- src/pages/Zone/Upcoming/ZoneUpcomingList.vue | 2 +- 19 files changed, 57 insertions(+), 13 deletions(-) diff --git a/src/components/common/VnDmsList.vue b/src/components/common/VnDmsList.vue index 16e3c641f..52dd6ef79 100644 --- a/src/components/common/VnDmsList.vue +++ b/src/components/common/VnDmsList.vue @@ -400,7 +400,14 @@ defineExpose({ /> - + {{ t('Upload file') }} diff --git a/src/pages/Account/Role/Card/SubRoles.vue b/src/pages/Account/Role/Card/SubRoles.vue index 7a0088bac..d17f96dd8 100644 --- a/src/pages/Account/Role/Card/SubRoles.vue +++ b/src/pages/Account/Role/Card/SubRoles.vue @@ -142,7 +142,13 @@ const redirectToRoleSummary = (id) => - + {{ t('warehouses.add') }} diff --git a/src/pages/Claim/Card/ClaimLines.vue b/src/pages/Claim/Card/ClaimLines.vue index 77c7dacf1..60c470d22 100644 --- a/src/pages/Claim/Card/ClaimLines.vue +++ b/src/pages/Claim/Card/ClaimLines.vue @@ -317,7 +317,7 @@ async function saveWhenHasChanges() { - + diff --git a/src/pages/Claim/Card/ClaimPhoto.vue b/src/pages/Claim/Card/ClaimPhoto.vue index 21f1be6ed..ec619cc7d 100644 --- a/src/pages/Claim/Card/ClaimPhoto.vue +++ b/src/pages/Claim/Card/ClaimPhoto.vue @@ -246,7 +246,13 @@ function onDrag() {