This commit is contained in:
Jorge Penadés 2025-01-13 15:47:16 +01:00
commit 9ba7fec42f
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ export default {
console.error(error); console.error(error);
} }
form.addEventListener('keyup', function (evt) { form.addEventListener('keyup', function (evt) {
if (evt.key === 'Enter') { if (evt.key === 'Enter' && !that.$attrs['prevent-submit']) {
const input = evt.target; const input = evt.target;
if (input.type == 'textarea' && evt.shiftKey) { if (input.type == 'textarea' && evt.shiftKey) {
evt.preventDefault(); evt.preventDefault();

View File

@ -213,9 +213,9 @@ async function handleConfirm() {
type: 'positive', type: 'positive',
}); });
router.push({ router.push({
name: 'TicketList', name: 'TicketSale',
query: { query: {
table: JSON.stringify({ clientFk: descriptorData.store.data.clientFk }), table: JSON.stringify({ id: route.params.id }),
}, },
}); });
} }