From 633b13b07668366436b4cf66ba9c53c39303f7da Mon Sep 17 00:00:00 2001 From: wbuezas Date: Thu, 20 Jun 2024 16:51:07 -0300 Subject: [PATCH] Basic data form --- src/components/FormModel.vue | 2 +- src/pages/Ticket/Card/TicketBasicData.vue | 522 +++++++++++++++++++++- src/pages/Ticket/locale/en.yml | 13 + src/pages/Ticket/locale/es.yml | 13 + 4 files changed, 528 insertions(+), 22 deletions(-) diff --git a/src/components/FormModel.vue b/src/components/FormModel.vue index 336ea281e..11542ed65 100644 --- a/src/components/FormModel.vue +++ b/src/components/FormModel.vue @@ -246,7 +246,7 @@ function updateAndEmit(evt, val, res) { emit(evt, state.get(modelValue), res); } -defineExpose({ save, isLoading, hasChanges }); +defineExpose({ save, isLoading, hasChanges, formData }); diff --git a/src/pages/Ticket/locale/en.yml b/src/pages/Ticket/locale/en.yml index 4016973cc..643421ad4 100644 --- a/src/pages/Ticket/locale/en.yml +++ b/src/pages/Ticket/locale/en.yml @@ -2,3 +2,16 @@ basicData: next: Next back: Back finalize: Finalize + client: Client + warehouse: Warehouse + address: Address + inactive: (Inactive) + noDeliveryZoneAvailable: No delivery zone available for this landing date + editAddress: Edit address + alias: Alias + company: Company + agency: Agency + zone: Zone + shipped: Shipped + landed: Landed + shippedHour: Shipped hour diff --git a/src/pages/Ticket/locale/es.yml b/src/pages/Ticket/locale/es.yml index da7c45cc0..913d1935d 100644 --- a/src/pages/Ticket/locale/es.yml +++ b/src/pages/Ticket/locale/es.yml @@ -2,5 +2,18 @@ basicData: next: Siguiente back: Anterior finalize: Finalizar + client: Cliente + warehouse: Almacén + address: Consignatario + inactive: (Inactivo) + noDeliveryZoneAvailable: No hay una zona de reparto disponible para la fecha de envío seleccionada + editAddress: Editar dirección + alias: Alias + company: Empresa + agency: Agencia + zone: Zona + shipped: F. Envío + landed: F. Entrega + shippedHour: Hora de envío Search ticket: Buscar ticket You can search by ticket id or alias: Puedes buscar por id o alias del ticket