resueltos errores con la rotativa. Quitado retractilado de cubierta cliente y Ninguno por defecto en acabados

This commit is contained in:
2025-01-27 18:45:38 +01:00
parent 8417c2401f
commit 2df3f5914e
7 changed files with 14 additions and 24 deletions

View File

@ -207,7 +207,7 @@ class previewFormas {
case 'rot_bn':
case 'rot_color':
// Conditional assignements depending on rotation of the printing shape
if (this.pvObj.orientacionFormas == 'v') {
if (this.pvObj.orientacionFormas != 'h') {
let auxReg = this.pvObj.altoForma;
this.pvObj.altoForma = this.pvObj.anchoForma;
this.pvObj.anchoForma = auxReg;
@ -223,7 +223,7 @@ class previewFormas {
case 'color':
case 'colorhq':
// Conditional assignements depending on rotation of the printing shape
if (this.pvObj.orientacionFormas == 'v') {
if (this.pvObj.orientacionFormas != 'h') {
let auxReg = this.pvObj.altoForma;
this.pvObj.altoForma = this.pvObj.anchoForma;
this.pvObj.anchoForma = auxReg;

View File

@ -1503,7 +1503,7 @@ class LineasPresupuesto {
// Si es inkjet, existe este check
if ($('#' + linea + '_aFavorFibra').length) {
datos.a_favor_fibra = $('#' + linea + '_aFavorFibra').prop('checked')
datos.a_favor_fibra = $('#' + linea + '_aFavorFibra').prop('checked') ? 1: 0;
}
if (updatedTipologias && $('#' + linea + '_gotaNegro').length) {

View File

@ -63,7 +63,6 @@ class DisenioCubierta {
this.divGramajeCubierta = this.domItem.find("#divGramajeCubierta");
this.acabadoCubierta = this.domItem.find("#acabadoCubierta");
this.cubiertaRetractilado = this.domItem.find("#retractilado");
this.configuracionSobrecubierta = this.domItem.find(".config-sobrecubierta");
this.sobrecubierta = this.domItem.find("#addSobrecubierta");
@ -222,12 +221,6 @@ class DisenioCubierta {
this.acabadoCubierta.setOption(datosCubierta.acabado.id, datosCubierta.acabado.text);
if (datosCubierta.retractilado) {
setTimeout(() => {
this.cubiertaRetractilado.trigger('click');
}, 0);
}
if (datosSobrecubierta && datosSobrecubierta.papel) {
this.sobrecubierta.trigger('click');
this.papelSobrecubierta.val(datosSobrecubierta.papel.code + "_" + datosSobrecubierta.gramaje).trigger('change');