diff --git a/nuxt4/app/app.vue b/nuxt4/app/app.vue
index ec6e420..7922ee7 100644
--- a/nuxt4/app/app.vue
+++ b/nuxt4/app/app.vue
@@ -228,7 +228,7 @@
Detalle de Operación
- {{ getTipoLabel(selectedOperacion.tipo) }} · {{ formatDate(selectedOperacion.fecha) }}
+ {{ getOperacionTipoLabel(selectedOperacion.tipo) }} · {{ formatDate(selectedOperacion.fecha) }}
@@ -246,7 +246,7 @@
Tipo
-
{{ getTipoLabel(selectedOperacion.tipo) }}
+
{{ getOperacionTipoLabel(selectedOperacion.tipo) }}
@@ -351,6 +351,21 @@ const closeOperacionDetailModal = () => {
selectedOperacion.value = null
}
+const getOperacionTipoLabel = (tipo: string) => {
+ const found = TIPOS_OPERACION.find((t) => t.value === tipo)
+ return found?.label || tipo
+}
+
+const formatDate = (dateString: string) => {
+ return new Date(dateString).toLocaleDateString('es-AR', {
+ day: '2-digit',
+ month: '2-digit',
+ year: 'numeric',
+ hour: '2-digit',
+ minute: '2-digit',
+ })
+}
+
// Datos para grafos
const graphSelectItems = computed(() =>
graphLotes.value.map((lote) => ({
diff --git a/nuxt4/app/components/lotes/TrazabilidadGraph.vue b/nuxt4/app/components/lotes/TrazabilidadGraph.vue
index aa8182d..70ea869 100644
--- a/nuxt4/app/components/lotes/TrazabilidadGraph.vue
+++ b/nuxt4/app/components/lotes/TrazabilidadGraph.vue
@@ -81,6 +81,18 @@
class="transition-opacity duration-200"
:opacity="0.9"
/>
+
+
+