mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
error en faja.getVal(). error en gramaje guardas
This commit is contained in:
@ -208,7 +208,7 @@ class Comparador {
|
||||
'/presupuestoadmin/papelgramaje', 'Seleccione gramaje', false,
|
||||
{
|
||||
[this.csrf_token]: this.csrf_hash,
|
||||
papel_generico: () => this.papelCubierta.getVal(),
|
||||
papel_generico: () => this.papelGuardas.getVal(),
|
||||
tipo_impresion: this.tipo_impresion_id,
|
||||
tirada: () => $('#tirada').val(),
|
||||
ancho: () => this.getDimensionLibro().ancho,
|
||||
@ -1166,11 +1166,11 @@ class Comparador {
|
||||
}
|
||||
|
||||
else if (uso == 'faja') {
|
||||
if ((this.papelFaja.getVal() == 0 || this.papelFaja.getVal() == null) && this.faja.getVal()>0 && !this.cargando) {
|
||||
if (this.papelFaja.getText() == "" && this.faja.val()>0 && !this.cargando) {
|
||||
popErrorAlert(window.language.Presupuestos.errores.seleccionePapel, 'divAlarmasComparador');
|
||||
return { error: true, data: {} };
|
||||
}
|
||||
if ((this.gramajeFaja.getVal() == 0 || this.gramajeFaja.getVal() == null) && this.faja.getVal()>0 && !this.cargando) {
|
||||
if (this.gramajeFaja.getText() == "" && this.faja.val()>0 && !this.cargando) {
|
||||
popErrorAlert(window.language.Presupuestos.errores.seleccioneGramaje, 'divAlarmasComparador');
|
||||
return { error: true, data: {} };
|
||||
}
|
||||
@ -1413,13 +1413,13 @@ class Comparador {
|
||||
}
|
||||
},
|
||||
(error) => {
|
||||
console.log(error);
|
||||
console.error(error);
|
||||
self.comparadorPlanaRunning = false;
|
||||
}
|
||||
).post();
|
||||
}
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
console.error(e);
|
||||
this.comparadorPlanaRunning = false;
|
||||
}
|
||||
}
|
||||
@ -1507,13 +1507,13 @@ class Comparador {
|
||||
self.comparadorExterioresRunning = false;
|
||||
},
|
||||
(error) => {
|
||||
console.log(error);
|
||||
console.error(error);
|
||||
self.comparadorExterioresRunning = false;
|
||||
}
|
||||
).post();
|
||||
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
console.error(e);
|
||||
self.comparadorExterioresRunning = false;
|
||||
}
|
||||
}
|
||||
@ -1574,14 +1574,14 @@ class Comparador {
|
||||
self.comparadorFajaRunning = false;
|
||||
},
|
||||
(error) => {
|
||||
console.log(error);
|
||||
console.error(error);
|
||||
self.comparadorFajaRunning = false;
|
||||
}
|
||||
).post();
|
||||
|
||||
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
console.error(e);
|
||||
self.comparadorFajaRunning = false;
|
||||
}
|
||||
}
|
||||
@ -1638,13 +1638,13 @@ class Comparador {
|
||||
self.comparadorGuardasRunning = false;
|
||||
},
|
||||
(error) => {
|
||||
console.log(error);
|
||||
console.error(error);
|
||||
self.comparadorGuardasRunning = false;
|
||||
}
|
||||
).post();
|
||||
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
console.error(e);
|
||||
self.comparadorGuardasRunning = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user