From b8456370643447d1fd9358adaa7116f257796946 Mon Sep 17 00:00:00 2001 From: Rodrigo Date: Sun, 15 Sep 2024 18:09:23 -0300 Subject: [PATCH] =?UTF-8?q?Arregl=C3=A9=20todos=20los=20errores=20al=20ini?= =?UTF-8?q?cio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/js/app.js | 1 + .../js/components/CartelPedidoAprobado.vue | 23 +++++++++++- resources/js/components/Chismosa.vue | 36 +++++++++---------- resources/js/components/ChismosaDropdown.vue | 11 ++++-- resources/js/components/ProductoCard.vue | 5 +++ resources/js/components/ProductoRow.vue | 7 +++- 6 files changed, 61 insertions(+), 22 deletions(-) diff --git a/resources/js/app.js b/resources/js/app.js index 3254467..daee04b 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -91,6 +91,7 @@ const app = new Vue({ axios.get('/api/subpedidos/' + this.pedido) .then(response => { this.pedido = response.data.data; + Event.$emit("pedido-actualizado"); }); } else { axios.get('/admin/obtener_sesion') diff --git a/resources/js/components/CartelPedidoAprobado.vue b/resources/js/components/CartelPedidoAprobado.vue index c43fa1f..be6f8a4 100644 --- a/resources/js/components/CartelPedidoAprobado.vue +++ b/resources/js/components/CartelPedidoAprobado.vue @@ -1,10 +1,31 @@