mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
lineas presupuesto actualizadas con tirada
This commit is contained in:
@ -53,6 +53,9 @@ class LineasPresupuesto {
|
||||
}
|
||||
});
|
||||
|
||||
// Evento para recalcular las lineas de presupuesto
|
||||
$(document).on('update-lineas-presupuesto', this.updateLineasPresupuesto.bind(this));
|
||||
|
||||
$('.insertarLinea').on("click", this.#insertarLineaComparador.bind(this));
|
||||
$('.paginas-lp').on('change', this.checkPaginasLineasPresupuesto.bind(this));
|
||||
}
|
||||
@ -354,6 +357,14 @@ class LineasPresupuesto {
|
||||
}
|
||||
|
||||
|
||||
updateLineasPresupuesto() {
|
||||
|
||||
$('#tableLineasPresupuesto tbody tr:visible ').each(function () {
|
||||
|
||||
$('#' + this.id + '_maquina').trigger('change');
|
||||
})
|
||||
}
|
||||
|
||||
cargarDatos(data) {
|
||||
|
||||
const self = this;
|
||||
@ -1600,6 +1611,7 @@ class LineasPresupuesto {
|
||||
|
||||
}
|
||||
|
||||
|
||||
#addEventosLineas(tipoLinea, isInkjet = false) {
|
||||
|
||||
const self = this;
|
||||
|
||||
Reference in New Issue
Block a user