Vue.set(app.ordersUpdate[app.getOrderUpdateKey()], 'id_user', idUser); | Vue.set(app.ordersUpdate[app.getOrderUpdateKey()], 'id_user', idUser); | ||||
} | } | ||||
}); | }); | ||||
// Passage à la ligne du dessous quand on appuie sur "Entrée" | |||||
$('.modal-form-order .input-quantity').keypress(function(e) { | |||||
if(e.which == 13) { | |||||
$(this).parent().parent().parent() | |||||
.next().find('.input-quantity').focus(); | |||||
} | |||||
}); | |||||
},500); | },500); | ||||
}, | }, | ||||
getOrderUpdateKey: function() { | getOrderUpdateKey: function() { |