Merge pull request 'hotfix_ticketSale_hasChanges' (!1650) from hotfix_ticketSale_hasChanges into master
Reviewed-on: #1650
This commit is contained in:
commit
cb4c740319
|
@ -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 = () => {
|
||||
|
|
Loading…
Reference in New Issue