mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
resueltos errores con la rotativa. Quitado retractilado de cubierta cliente y Ninguno por defecto en acabados
This commit is contained in:
@ -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;
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -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');
|
||||
|
||||
Reference in New Issue
Block a user