From fcb34c930962d0dee1e935a96e3664e6c063130c Mon Sep 17 00:00:00 2001 From: jtubau Date: Fri, 17 Jan 2025 14:58:23 +0100 Subject: [PATCH] refactor: refs #8316 added shelvingCardBeta and localizations --- src/i18n/locale/en.yml | 17 ---- src/i18n/locale/es.yml | 16 ---- src/pages/Parking/locale/en.yml | 7 ++ src/pages/Parking/locale/es.yml | 7 ++ src/pages/Shelving/Card/ShelvingCard.vue | 15 +-- src/pages/Shelving/ShelvingList.vue | 113 ++++++++++++----------- src/pages/Shelving/locale/en.yml | 9 ++ src/pages/Shelving/locale/es.yml | 9 ++ 8 files changed, 96 insertions(+), 97 deletions(-) create mode 100644 src/pages/Parking/locale/en.yml create mode 100644 src/pages/Parking/locale/es.yml create mode 100644 src/pages/Shelving/locale/en.yml create mode 100644 src/pages/Shelving/locale/es.yml diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 56c1392fcdd..ff7b5464e0f 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -564,23 +564,6 @@ invoiceOut: comercial: Comercial errors: downloadCsvFailed: CSV download failed -shelving: - list: - parking: Parking - priority: Priority - newShelving: New Shelving - summary: - recyclable: Recyclable -parking: - pickingOrder: Picking order - sector: Sector - row: Row - column: Column - searchBar: - info: You can search by parking code - label: Search parking... - search: Search parking - searchInfo: You can search by parking code department: chat: Chat bossDepartment: Boss Department diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index 6fa2d16a053..679392fbd2a 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -563,22 +563,6 @@ invoiceOut: comercial: Comercial errors: downloadCsvFailed: Error al descargar CSV -shelving: - list: - parking: Parking - priority: Prioridad - newShelving: Nuevo Carro - summary: - recyclable: Reciclable -parking: - pickingOrder: Orden de recogida - row: Fila - column: Columna - searchBar: - info: Puedes buscar por código de parking - label: Buscar parking... - search: Buscar parking - searchInfo: Puedes buscar por código de parking department: chat: Chat bossDepartment: Jefe de departamento diff --git a/src/pages/Parking/locale/en.yml b/src/pages/Parking/locale/en.yml new file mode 100644 index 00000000000..72caba4082b --- /dev/null +++ b/src/pages/Parking/locale/en.yml @@ -0,0 +1,7 @@ +parking: + pickingOrder: Picking order + sector: Sector + row: Row + column: Column + search: Search parking + searchInfo: You can search by parking code \ No newline at end of file diff --git a/src/pages/Parking/locale/es.yml b/src/pages/Parking/locale/es.yml new file mode 100644 index 00000000000..ab23182a138 --- /dev/null +++ b/src/pages/Parking/locale/es.yml @@ -0,0 +1,7 @@ +parking: + pickingOrder: Orden de recogida + row: Fila + sector: Sector + column: Columna + search: Buscar parking + searchInfo: Puedes buscar por código de parking \ No newline at end of file diff --git a/src/pages/Shelving/Card/ShelvingCard.vue b/src/pages/Shelving/Card/ShelvingCard.vue index a501a7a9912..41a0db33cb8 100644 --- a/src/pages/Shelving/Card/ShelvingCard.vue +++ b/src/pages/Shelving/Card/ShelvingCard.vue @@ -1,19 +1,12 @@ + diff --git a/src/pages/Shelving/ShelvingList.vue b/src/pages/Shelving/ShelvingList.vue index cd7c4bcf956..053a7c46341 100644 --- a/src/pages/Shelving/ShelvingList.vue +++ b/src/pages/Shelving/ShelvingList.vue @@ -6,13 +6,14 @@ import VnLv from 'components/ui/VnLv.vue'; import { useRouter } from 'vue-router'; import ShelvingFilter from 'pages/Shelving/Card/ShelvingFilter.vue'; import ShelvingSummary from 'pages/Shelving/Card/ShelvingSummary.vue'; -import ShelvingSearchbar from 'pages/Shelving/Card/ShelvingSearchbar.vue'; import { useSummaryDialog } from 'src/composables/useSummaryDialog'; -import RightMenu from 'src/components/common/RightMenu.vue'; +import VnSection from 'src/components/common/VnSection.vue'; const router = useRouter(); const { t } = useI18n(); const { viewSummary } = useSummaryDialog(); +const dataKey = 'ShelvingList'; + const filter = { include: [{ relation: 'parking' }], }; @@ -34,58 +35,64 @@ function exprBuilder(param, value) { \ No newline at end of file diff --git a/src/pages/Shelving/locale/en.yml b/src/pages/Shelving/locale/en.yml new file mode 100644 index 00000000000..bd031f50cb1 --- /dev/null +++ b/src/pages/Shelving/locale/en.yml @@ -0,0 +1,9 @@ +shelving: + list: + parking: Parking + priority: Priority + newShelving: New Shelving + summary: + recyclable: Recyclable + search: Search shelving + searchInfo: You can search by shelving reference \ No newline at end of file diff --git a/src/pages/Shelving/locale/es.yml b/src/pages/Shelving/locale/es.yml new file mode 100644 index 00000000000..729485e7090 --- /dev/null +++ b/src/pages/Shelving/locale/es.yml @@ -0,0 +1,9 @@ +shelving: + list: + parking: Parking + priority: Prioridad + newShelving: Nuevo Carro + summary: + recyclable: Reciclable + search: Buscar carro + searchInfo: Puedes buscar por referencia del carro \ No newline at end of file