From 1b839a89f78f4367efb1d01f9f23b0d410fdfbc9 Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 4 Jul 2024 13:35:27 +0200 Subject: [PATCH 1/5] refactor: refs #6896 Order migration --- src/components/VnTable/VnTable.vue | 2 + src/components/common/VnCard.vue | 2 +- src/components/ui/VnPaginate.vue | 5 + src/composables/useArrayData.js | 10 +- src/pages/Order/Card/OrderForm.vue | 42 +--- src/pages/Order/Card/OrderSummary.vue | 2 +- src/pages/Order/OrderLines.vue | 285 ++++++++++++++------------ src/pages/Order/OrderList.vue | 268 +++++++++++++----------- src/pages/Order/locale/en.yml | 22 ++ src/pages/Order/locale/es.yml | 22 ++ src/router/modules/order.js | 2 +- 11 files changed, 377 insertions(+), 285 deletions(-) create mode 100644 src/pages/Order/locale/en.yml create mode 100644 src/pages/Order/locale/es.yml diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index 1610735a4..f2084aeb9 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -210,6 +210,7 @@ defineExpose({ v-model="params" :disable-submit-event="true" :search-url="searchUrl" + :redirect="!!redirect" >