From f6b0404cb4a539c7f3e092a1a958bad315d9961e Mon Sep 17 00:00:00 2001 From: wbuezas Date: Tue, 6 Feb 2024 08:33:06 -0300 Subject: [PATCH] multiple changes --- src/components/FilterItemForm.vue | 242 +++++++++++++++++++++++ src/i18n/en/index.js | 5 + src/i18n/es/index.js | 5 + src/pages/Entry/Card/EntryBuysImport.vue | 12 +- src/pages/Entry/Card/EntryDescriptor.vue | 6 +- src/pages/Entry/EntryList.vue | 2 +- 6 files changed, 266 insertions(+), 6 deletions(-) create mode 100644 src/components/FilterItemForm.vue diff --git a/src/components/FilterItemForm.vue b/src/components/FilterItemForm.vue new file mode 100644 index 000000000..4c329a8e8 --- /dev/null +++ b/src/components/FilterItemForm.vue @@ -0,0 +1,242 @@ + + + + + +es: + Filter item: Filtrar artículo + Enter a new search: Introduce una nueva búsqueda + + + diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index b4b72ee0e..152c5e644 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -343,6 +343,11 @@ export default { buyingValue: 'Buying value', packagingFk: 'Box', file: 'File', + name: 'Name', + producer: 'Producer', + type: 'Type', + color: 'Color', + id: 'ID', }, notes: { observationType: 'Observation type', diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index b494eb549..d0c2731a9 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -342,6 +342,11 @@ export default { buyingValue: 'Coste', packagingFk: 'Embalaje', file: 'Fichero', + name: 'Nombre', + producer: 'Productor', + type: 'Tipo', + color: 'Color', + id: 'ID', }, notes: { observationType: 'Tipo de observación', diff --git a/src/pages/Entry/Card/EntryBuysImport.vue b/src/pages/Entry/Card/EntryBuysImport.vue index 386e71c84..ac5a4a1cf 100644 --- a/src/pages/Entry/Card/EntryBuysImport.vue +++ b/src/pages/Entry/Card/EntryBuysImport.vue @@ -7,6 +7,8 @@ import VnInput from 'src/components/common/VnInput.vue'; import VnRow from 'components/ui/VnRow.vue'; import FetchData from 'components/FetchData.vue'; import VnSelectFilter from 'components/common/VnSelectFilter.vue'; +import VnSelectDialog from 'src/components/common/VnSelectDialog.vue'; +import FilterItemForm from 'src/components/FilterItemForm.vue'; import { useStateStore } from 'stores/useStateStore'; import axios from 'axios'; @@ -238,13 +240,19 @@ const redirectToBuysView = () => { >