mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
resuelto problema al confirmar presupuesto precio distinto
This commit is contained in:
@ -74,6 +74,8 @@ class DatosGenerales {
|
||||
this.rl_retractilado = $("#rl_retractilado");
|
||||
this.rl_retractilado5 = $("#rl_retractilado5");
|
||||
|
||||
this.selectedTirada = null;
|
||||
|
||||
this.cargando = false;
|
||||
|
||||
this.initValidation();
|
||||
@ -547,6 +549,10 @@ class DatosGenerales {
|
||||
|
||||
this.cliente.setOption(datos.clienteId, datos.clienteNombre);
|
||||
this.cliente.setVal(datos.clienteId);
|
||||
|
||||
if(datos.selectedTirada){
|
||||
this.selectedTirada = datos.selectedTirada;
|
||||
}
|
||||
$(this.cliente).trigger('change');
|
||||
|
||||
if (datos.excluirRotativa) {
|
||||
|
||||
@ -238,7 +238,12 @@ class Resumen {
|
||||
this.paginas.text(this.datosGenerales.paginas.val());
|
||||
this.paginasColor.text(this.datosGenerales.paginasColor.val());
|
||||
this.paginasNegro.text(this.datosGenerales.paginasNegro.val());
|
||||
this.tirada.text(parseInt($($('.check-tirada-envio:checked')[0]).attr('tirada')));
|
||||
if(this.datosGenerales.selectedTirada){
|
||||
this.tirada.text(this.datosGenerales.selectedTirada);
|
||||
}
|
||||
else{
|
||||
this.tirada.text(parseInt($($('.check-tirada-envio:checked')[0]).attr('tirada')));
|
||||
}
|
||||
this.prototipo.text(this.datosGenerales.prototipo.is(':checked') ? 'Sí' : 'No');
|
||||
|
||||
const HQ = this.disenioInterior.getIsHq();
|
||||
|
||||
Reference in New Issue
Block a user