mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Avances inicializacion edit
This commit is contained in:
@ -12,7 +12,7 @@ class Catalogo {
|
||||
this.tipo_impresion = $("#tipoImpresion");
|
||||
|
||||
this.encuadernacion = new ClassSelect($("#encuadernacion"), '/importador/getencuadernacion', "Seleccione una encuadernación");
|
||||
|
||||
|
||||
this.compPapelNegro = new ClassSelect($("#compPapelNegro"), '/presupuestoadmin/papelgenerico', "Seleccione un papel", false,
|
||||
{
|
||||
|
||||
@ -144,11 +144,8 @@ class Catalogo {
|
||||
document.querySelector('.select2-search__field').focus();
|
||||
});
|
||||
|
||||
let clienteId = $("#clienteId").val();
|
||||
let clienteName = $("#clienteId").text();
|
||||
this.cliente.init();
|
||||
this.cliente.setOption(clienteId, clienteName);
|
||||
|
||||
this.tipo_impresion.select2();
|
||||
this.encuadernacion.init();
|
||||
|
||||
this.compPapelNegro.init();
|
||||
@ -245,8 +242,6 @@ class Catalogo {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
getDimensionLibro() {
|
||||
let ancho = $('#ancho').val();
|
||||
let alto = $('#alto').val();;
|
||||
|
||||
Reference in New Issue
Block a user