From 20e284fe594507ecc15542ce98bba359921ce5b5 Mon Sep 17 00:00:00 2001 From: alexandre Date: Thu, 1 Dec 2022 15:16:41 +0100 Subject: [PATCH] wornking on invoiceAllocation --- src/i18n/en/index.js | 1 + src/i18n/es/index.js | 1 + src/pages/Route/DeliveryManCreate.vue | 114 +++++++++++++++++++---- src/pages/Route/DeliveryManList.vue | 13 ++- src/pages/Route/InvoiceAllocation.vue | 126 ++++++++++++++++++++++++++ src/router/modules/route.js | 9 ++ 6 files changed, 244 insertions(+), 20 deletions(-) create mode 100644 src/pages/Route/InvoiceAllocation.vue diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index f567edcab..66c8b5ca5 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -257,6 +257,7 @@ export default { deliveryManList: 'Delivery Men', basicData: 'Basic Data', deliveryManCreate: 'Create Delivery Man', + invoiceAllocation: 'Invoice Allocation', }, deliveryMan: { list: { diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 567fe71e4..bbc335a6e 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -256,6 +256,7 @@ export default { deliveryManList: 'Repartidores', basicData: 'Datos básicos', deliveryManCreate: 'Crear Repartidor', + invoiceAllocation: 'Imputación Facturas', }, deliveryMan: { list: { diff --git a/src/pages/Route/DeliveryManCreate.vue b/src/pages/Route/DeliveryManCreate.vue index 8cb66d510..fbe0be4d0 100644 --- a/src/pages/Route/DeliveryManCreate.vue +++ b/src/pages/Route/DeliveryManCreate.vue @@ -1,44 +1,126 @@ diff --git a/src/pages/Route/DeliveryManList.vue b/src/pages/Route/DeliveryManList.vue index 2103e6129..058be1e80 100644 --- a/src/pages/Route/DeliveryManList.vue +++ b/src/pages/Route/DeliveryManList.vue @@ -22,9 +22,13 @@ const filter = { ], }; -function navigate(id) { +function navigateCard(id) { router.push({ path: `/route/${id}` }); } + +function navigateCreate() { + router.push({ path: `/route/deliveryMan/create` }); +}