From 64a4a800f752dad7016b9dbe5e457e3313ae61fc Mon Sep 17 00:00:00 2001 From: wbuezas Date: Tue, 16 Jan 2024 16:11:23 -0300 Subject: [PATCH] Entry buys import --- src/i18n/en/index.js | 9 + src/i18n/es/index.js | 9 + src/pages/Entry/Card/EntryBuys.vue | 5 +- src/pages/Entry/Card/EntryBuysImport.vue | 281 +++++++++++++++++++++++ src/router/modules/entry.js | 5 + 5 files changed, 307 insertions(+), 2 deletions(-) create mode 100644 src/pages/Entry/Card/EntryBuysImport.vue diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 120cbd7e0..a1d237480 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -325,6 +325,15 @@ export default { buys: { groupingPrice: 'Grouping price', packingPrice: 'Packing price', + reference: 'Reference', + observations: 'Observations', + item: 'Item', + description: 'Description', + size: 'Size', + packing: 'Packing', + grouping: 'Grouping', + buyingValue: 'Buying value', + packagingFk: 'Box', }, }, ticket: { diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 9c27c6fe1..3aa9d350e 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -324,6 +324,15 @@ export default { buys: { groupingPrice: 'Precio grouping', packingPrice: 'Precio packing', + reference: 'Referencia', + observations: 'Observaciónes', + item: 'Artículo', + description: 'Descripción', + size: 'Medida', + packing: 'Packing', + grouping: 'Grouping', + buyingValue: 'Coste', + packagingFk: 'Embalaje', }, }, ticket: { diff --git a/src/pages/Entry/Card/EntryBuys.vue b/src/pages/Entry/Card/EntryBuys.vue index 4c399ed0f..87d4b3826 100644 --- a/src/pages/Entry/Card/EntryBuys.vue +++ b/src/pages/Entry/Card/EntryBuys.vue @@ -1,6 +1,6 @@ diff --git a/src/pages/Entry/Card/EntryBuysImport.vue b/src/pages/Entry/Card/EntryBuysImport.vue new file mode 100644 index 000000000..1495e968d --- /dev/null +++ b/src/pages/Entry/Card/EntryBuysImport.vue @@ -0,0 +1,281 @@ + + + + +es: + Select a file: Selecciona un fichero + Some of the imported buys does not have an item: Algunas de las compras importadas no tienen un artículo + diff --git a/src/router/modules/entry.js b/src/router/modules/entry.js index 4137cb59e..8d25a8e0c 100644 --- a/src/router/modules/entry.js +++ b/src/router/modules/entry.js @@ -72,6 +72,11 @@ export default { }, component: () => import('src/pages/Entry/Card/EntryBuys.vue'), }, + { + path: 'buys/import', + name: 'EntryBuysImport', + component: () => import('src/pages/Entry/Card/EntryBuysImport.vue'), + }, { path: 'notes', name: 'EntryNotes',