Merge branch 'master' into hotfix_remove_reserved
gitea/salix-front/pipeline/head This commit is unstable Details

This commit is contained in:
Javier Segarra 2025-03-27 20:22:54 +00:00
commit dcf0b906f4
1 changed files with 4 additions and 2 deletions

View File

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