From 36344d112b0019372c7026eb10e19465dfddf493 Mon Sep 17 00:00:00 2001 From: Kevin Martinez Date: Fri, 22 Dec 2023 00:34:18 -0400 Subject: [PATCH 1/4] Create order volume --- src/i18n/en/index.js | 1 + src/i18n/es/index.js | 1 + src/pages/Order/OrderVolume.vue | 149 ++++++++++++++++++++++++++++++++ src/router/modules/order.js | 11 ++- 4 files changed, 161 insertions(+), 1 deletion(-) create mode 100644 src/pages/Order/OrderVolume.vue diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 4a1eea8f4..45df3f1ff 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -557,6 +557,7 @@ export default { summary: 'Summary', basicData: 'Basic Data', catalog: 'Catalog', + volume: 'Volume' }, field: { salesPersonFk: 'Sales Person', diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 3f4ac1c27..90fdb18b6 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -466,6 +466,7 @@ export default { summary: 'Resumen', basicData: 'Datos básicos', catalog: 'Catálogo', + volume: 'Volumen', }, field: { salesPersonFk: 'Comercial', diff --git a/src/pages/Order/OrderVolume.vue b/src/pages/Order/OrderVolume.vue new file mode 100644 index 000000000..f2b451628 --- /dev/null +++ b/src/pages/Order/OrderVolume.vue @@ -0,0 +1,149 @@ + + + + + + + +en: + summary: Summary + total: Total + boxes: Boxes + item: Item + subName: Subname + quantity: Quantity + volume: m³ per quantity +es: + summary: Resumen + total: Total + boxes: Cajas + item: Artículo + subName: Subname + quantity: Cantidad + volume: m³ por cantidad + diff --git a/src/router/modules/order.js b/src/router/modules/order.js index e91e95493..8a55a39d2 100644 --- a/src/router/modules/order.js +++ b/src/router/modules/order.js @@ -11,7 +11,7 @@ export default { redirect: { name: 'OrderMain' }, menus: { main: ['OrderList'], - card: ['OrderBasicData', 'OrderCatalog'], + card: ['OrderBasicData', 'OrderCatalog', 'OrderVolume'], }, children: [ { @@ -72,6 +72,15 @@ export default { }, component: () => import('src/pages/Order/OrderCatalog.vue'), }, + { + name: 'OrderVolume', + path: 'volume', + meta: { + title: 'volume', + icon: 'vn:volume', + }, + component: () => import('src/pages/Order/OrderVolume.vue'), + }, ], }, ], From 06637cd89c004262826180ebb030f11dcbac6065 Mon Sep 17 00:00:00 2001 From: Kevin Martinez Date: Fri, 22 Dec 2023 00:50:07 -0400 Subject: [PATCH 2/4] Fix card list class --- src/pages/Order/OrderVolume.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/Order/OrderVolume.vue b/src/pages/Order/OrderVolume.vue index f2b451628..2c962600e 100644 --- a/src/pages/Order/OrderVolume.vue +++ b/src/pages/Order/OrderVolume.vue @@ -94,11 +94,6 @@ const loadVolumes = async (rows) => { +