mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
añadido la linea de servicio para ferro digital
This commit is contained in:
@ -128,6 +128,7 @@ class DatosLibro {
|
||||
this.retractilado5.on('change', this.checkRetractilado.bind(this));
|
||||
this.ferro.on('change', this.changeFerro.bind(this));
|
||||
this.prototipo.on('change', this.changePrototipo.bind(this));
|
||||
this.ferroDigital.on('change', this.changeFerroDigital.bind(this));
|
||||
|
||||
this.tamanio.item.on('select2:select', this.changeFormato.bind(this));
|
||||
$('.formato_libro').on('change', this.changeFormato.bind(this));
|
||||
@ -216,6 +217,19 @@ class DatosLibro {
|
||||
}
|
||||
}
|
||||
|
||||
changeFerroDigital() {
|
||||
|
||||
if (this.cargando)
|
||||
return;
|
||||
|
||||
if (this.ferro.prop('checked')) {
|
||||
$(document).trigger('add-servicio-lineas', 'ferroDigital');
|
||||
}
|
||||
else {
|
||||
$(document).trigger('remove-servicio-lineas', 'ferroDigital');
|
||||
}
|
||||
}
|
||||
|
||||
changePrototipo() {
|
||||
|
||||
if (this.cargando)
|
||||
|
||||
Reference in New Issue
Block a user