hotfix_ticketSale_hasChanges #1650

Merged
jsegarra merged 3 commits from hotfix_ticketSale_hasChanges into master 2025-03-27 20:21:27 +00:00
1 changed files with 4 additions and 2 deletions

View File

@ -187,7 +187,9 @@ const getRowUpdateInputEvents = (sale) => {
const resetChanges = async () => { const resetChanges = async () => {
arrayData.fetch({ append: false }); arrayData.fetch({ append: false });
tableRef.value.reload(); tableRef.value.CrudModelRef.hasChanges = false;
await tableRef.value.reload();
selectedRows.value = []; selectedRows.value = [];
}; };
const changeQuantity = async (sale) => { const changeQuantity = async (sale) => {
@ -390,7 +392,7 @@ const changeTicketState = async (val) => {
const params = { ticketFk: route.params.id, code: val }; const params = { ticketFk: route.params.id, code: val };
await axios.post('Tickets/state', params); await axios.post('Tickets/state', params);
notify('globals.dataSaved', 'positive'); notify('globals.dataSaved', 'positive');
await resetChanges(); resetChanges();
}; };
const removeSelectedSales = () => { const removeSelectedSales = () => {