From d3b93b710d4ff1b82500edc11529a72c2697429e Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 28 May 2024 13:07:22 +0200 Subject: [PATCH] updates --- .../components/CustomerNewPayment.vue | 2 +- src/pages/Entry/Card/EntryBuys.vue | 1 + src/pages/InvoiceIn/Card/InvoiceInDueDay.vue | 2 +- src/pages/Ticket/Negative/HandleSplited.vue | 122 ++++-------------- .../Ticket/Negative/TicketLackDetail.vue | 13 +- 5 files changed, 38 insertions(+), 102 deletions(-) diff --git a/src/pages/Customer/components/CustomerNewPayment.vue b/src/pages/Customer/components/CustomerNewPayment.vue index 017186a2f..cc92d7907 100644 --- a/src/pages/Customer/components/CustomerNewPayment.vue +++ b/src/pages/Customer/components/CustomerNewPayment.vue @@ -111,7 +111,7 @@ const onDataSaved = async () => { :filter="filterBanks" @on-fetch="(data) => (bankOptions = data)" auto-load - url="dAccountings" + url="Accountings" /> { }); const copyOriginalRowsData = (rows) => { + // el objetivo de esto es guardar los valores iniciales de todas las rows para evitar guardar cambios si la data no cambiĆ³ al disparar los eventos originalRowDataCopy.value = JSON.parse(JSON.stringify(rows)); }; diff --git a/src/pages/InvoiceIn/Card/InvoiceInDueDay.vue b/src/pages/InvoiceIn/Card/InvoiceInDueDay.vue index f16f7ac51..0e68b740f 100644 --- a/src/pages/InvoiceIn/Card/InvoiceInDueDay.vue +++ b/src/pages/InvoiceIn/Card/InvoiceInDueDay.vue @@ -76,7 +76,7 @@ async function insert() {