merge errores_presupuestos

This commit is contained in:
amazuecos
2024-10-19 08:56:31 +00:00
8 changed files with 700 additions and 25 deletions

View File

@ -452,12 +452,12 @@ class DatosGenerales {
#handleFormatoLibro() {
if (this.checkFormatoPersonalizado.is(':checked')) {
this.formatoLibro.hide();
this.formatoLibro.item.hide();
this.formatoPersonalizado.show();
this.formValidation.revalidateField('papel_formato_id');
}
else {
this.formatoLibro.show();
this.formatoLibro.item.show();
this.formatoPersonalizado.hide();
this.formValidation.revalidateField('papel_formato_ancho');
this.formValidation.revalidateField('papel_formato_alto');

View File

@ -339,9 +339,8 @@ class PresupuestoCliente {
paginas: this.datosGenerales.paginas.val(),
paginasColor: this.datosGenerales.paginasColor.val(),
posPaginasColor: this.datosGenerales.posPaginasColor.val(),
paginasColorConsecutivas: this.datosGenerales.paginasColorConsecutivas.is(':checked') ? 1 : 0,
pagColorConsecutivas: this.datosGenerales.pagColorConsecutivas.is(':checked') ? 1 : 0,
papelInteriorDiferente: this.datosGenerales.papelDiferente.is(':checked') ? 1 : 0,
$prototipo: this.datosGenerales.prototipo.is(':checked') ? 1 : 0,
paginasCuadernillo: this.datosGenerales.paginasCuadernillo.val(),
tipo: this.datosGenerales.tiposLibro.filter('.selected').attr('id'),
@ -352,6 +351,7 @@ class PresupuestoCliente {
interior: {
papelInterior: this.disenioInterior.getPapel(),
gramajeInterior: this.disenioInterior.getGramaje(),
},
cubierta: {