diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 948332d46..7ff2b41f6 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -448,6 +448,7 @@ export default { typesList: 'Types List', typeCreate: 'Create type', typeEdit: 'Edit type', + wagonCounter: 'Trolley counter', }, type: { name: 'Name', diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 9b452ab22..b65375a2c 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -448,6 +448,7 @@ export default { typesList: 'Listado tipos', typeCreate: 'Crear tipo', typeEdit: 'Editar tipo', + wagonCounter: 'Contador de carros', }, type: { name: 'Nombre', diff --git a/src/pages/Wagon/WagonCounter.vue b/src/pages/Wagon/WagonCounter.vue new file mode 100644 index 000000000..38e9bc529 --- /dev/null +++ b/src/pages/Wagon/WagonCounter.vue @@ -0,0 +1,128 @@ + + + + +es: + Substract 1: Quitar 1 + Flush: Vaciar + Are you sure?: ¿Estás seguro? + It will set to 0: Se pondrá a 0 + diff --git a/src/router/modules/wagon.js b/src/router/modules/wagon.js index 3fb808778..238e482dd 100644 --- a/src/router/modules/wagon.js +++ b/src/router/modules/wagon.js @@ -10,7 +10,7 @@ export default { component: RouterView, redirect: { name: 'WagonMain' }, menus: { - main: ['WagonList', 'WagonTypeList'], + main: ['WagonList', 'WagonTypeList', 'WagonCounter'], card: [], }, children: [ @@ -47,6 +47,15 @@ export default { }, component: () => import('src/pages/Wagon/WagonCreate.vue'), }, + { + path: 'counter', + name: 'WagonCounter', + meta: { + title: 'wagonCounter', + icon: 'add_circle', + }, + component: () => import('src/pages/Wagon/WagonCounter.vue'), + }, ], }, {