diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 9a60e9da1..57f0626cb 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -338,6 +338,7 @@ globals: operator: Operator parking: Parking vehicleList: Vehicles + parkingCreate: New parking vehicle: Vehicle unsavedPopup: title: Unsaved changes will be lost diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index 846c442ea..9a4eb0850 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -342,6 +342,7 @@ globals: parking: Parking vehicleList: Vehículos vehicle: Vehículo + parkingCreate: Nuevo parking unsavedPopup: title: Los cambios que no haya guardado se perderán subtitle: ¿Seguro que quiere salir sin guardar? diff --git a/src/pages/Shelving/Parking/ParkingCreate.vue b/src/pages/Shelving/Parking/ParkingCreate.vue new file mode 100644 index 000000000..855b0660a --- /dev/null +++ b/src/pages/Shelving/Parking/ParkingCreate.vue @@ -0,0 +1,92 @@ + + + diff --git a/src/pages/Shelving/Parking/ParkingList.vue b/src/pages/Shelving/Parking/ParkingList.vue index fe6c93ba5..db96d6474 100644 --- a/src/pages/Shelving/Parking/ParkingList.vue +++ b/src/pages/Shelving/Parking/ParkingList.vue @@ -77,4 +77,12 @@ const filter = { + + + + + {{ $t('shelving.list.newShelving') }} + + + diff --git a/src/pages/Shelving/Parking/locale/en.yml b/src/pages/Shelving/Parking/locale/en.yml index 2076f38b4..fbc53704e 100644 --- a/src/pages/Shelving/Parking/locale/en.yml +++ b/src/pages/Shelving/Parking/locale/en.yml @@ -2,4 +2,9 @@ parking: pickingOrder: Picking order sector: Sector search: Search parking - searchInfo: You can search by parking code \ No newline at end of file + searchInfo: You can search by parking code + block: Block + streetFrom: Street from + streetTo: Street to + numberFrom: Number from + numberTo: Number to diff --git a/src/pages/Shelving/Parking/locale/es.yml b/src/pages/Shelving/Parking/locale/es.yml index 17fe3af53..51596a6ee 100644 --- a/src/pages/Shelving/Parking/locale/es.yml +++ b/src/pages/Shelving/Parking/locale/es.yml @@ -2,4 +2,9 @@ parking: pickingOrder: Orden de recogida sector: Sector search: Buscar parking - searchInfo: Puedes buscar por código de parking \ No newline at end of file + searchInfo: Puedes buscar por código de parking + block: Bloque + streetFrom: Calle desde + streetTo: Calle hasta + numberFrom: Número desde + numberTo: Número hasta diff --git a/src/router/modules/shelving.js b/src/router/modules/shelving.js index c085dd8dc..1645e7562 100644 --- a/src/router/modules/shelving.js +++ b/src/router/modules/shelving.js @@ -137,6 +137,16 @@ export default { parkingCard, ], }, + { + path: 'parking/create', + name: 'ParkingCreate', + meta: { + title: 'parkingCreate', + icon: 'add', + + }, + component: () => import('src/pages/Shelving/Parking/ParkingCreate.vue'), + }, ], }, ],