From b0d43edbce47bca5a3bc361ea4dfb8db7eb98ac6 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Wed, 28 Feb 2024 12:02:38 -0300 Subject: [PATCH] Route summary link logic improvement --- src/components/ui/CardSummary.vue | 10 +++++----- src/pages/Claim/Card/ClaimSummary.vue | 1 + src/pages/Entry/Card/EntrySummary.vue | 6 ------ src/pages/InvoiceOut/Card/InvoiceOutSummary.vue | 6 +++++- src/pages/Route/Card/RouteSummary.vue | 11 +++++------ src/pages/Supplier/Card/SupplierSummary.vue | 1 - src/pages/Travel/Card/TravelSummary.vue | 10 ---------- src/router/modules/Supplier.js | 1 + src/router/modules/claim.js | 1 + src/router/modules/customer.js | 1 + src/router/modules/entry.js | 1 + src/router/modules/invoiceIn.js | 1 + src/router/modules/invoiceOut.js | 1 + src/router/modules/order.js | 1 + src/router/modules/route.js | 1 + src/router/modules/shelving.js | 13 ++++++------- src/router/modules/ticket.js | 1 + src/router/modules/travel.js | 1 + src/router/modules/wagon.js | 1 + src/router/modules/worker.js | 1 + 20 files changed, 34 insertions(+), 36 deletions(-) diff --git a/src/components/ui/CardSummary.vue b/src/components/ui/CardSummary.vue index 1f89dceda..7799eee72 100644 --- a/src/components/ui/CardSummary.vue +++ b/src/components/ui/CardSummary.vue @@ -15,8 +15,8 @@ const props = defineProps({ type: Object, default: null, }, - summaryRouteName: { - type: String, + entityId: { + type: Number, default: null, }, }); @@ -59,11 +59,11 @@ watch(props, async () => {
diff --git a/src/pages/Claim/Card/ClaimSummary.vue b/src/pages/Claim/Card/ClaimSummary.vue index b93cbbd81..cc66a8434 100644 --- a/src/pages/Claim/Card/ClaimSummary.vue +++ b/src/pages/Claim/Card/ClaimSummary.vue @@ -172,6 +172,7 @@ function openDialog(dmsId) {