This commit is contained in:
JORGE LUIS CAUDILLO ESPARZA
2024-08-05 01:45:38 -07:00
parent fb0e61bd31
commit 88cd300856
18 changed files with 846 additions and 282 deletions

View File

@@ -135,7 +135,7 @@
</div>
</div>
<div class="portlet-body rowpadding">
<div class="row">
<div class="col-md-4">
@@ -155,7 +155,7 @@
</div>
</div>
</div>
<div class="row">
<div class="row">
<div class="col-md-6">
<div class="form-group form-md-line-input form-md-floating-label input-iconright">
<asp:Label runat="server" Text="Tipo" AssociatedControlID="DdlTipo"></asp:Label>
@@ -236,7 +236,7 @@
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="col-md-6">
<div class="">
<asp:Label runat="server" Text="Cargo ó Abono" AssociatedControlID="ddlCargooAbono"></asp:Label>
<asp:DropDownList ID="ddlCargooAbono" runat="server" AppendDataBoundItems="True" Class="form-control input-sm select2me" Width="100%" ValidationGroup="GrpGuardar">
@@ -247,10 +247,10 @@
</div>
<div class="col-md-6">
<label class=" " style="margin-top: 6px; margin-bottom: 6px;">Cuenta contable distinta en negativos:</label>
<asp:CheckBox ID="chkCtaImporteNegativoProv" AutoPostBack="true" CssClass="chksino" Text=" " runat="server" />
<asp:CheckBox ID="chkCtaImporteNegativoProv" AutoPostBack="true" CssClass="chksino" Text=" " runat="server" />
</div>
</div>
<asp:Panel class="row" runat="server" ID="Divctasnegativas">
<asp:Panel class="row" runat="server" ID="Divctasnegativas">
<div class="col-md-6">
<div class="">
<asp:Label runat="server" Text="Concepto contable" AssociatedControlID="DdlConceptoContableB"></asp:Label>
@@ -274,7 +274,7 @@
</div>--%>
</asp:Panel>
<div class="row">
<div class="col-md-6">
<div class="">
@@ -424,7 +424,7 @@
</div>
</div>
</div>
<div class="row">
<label class="col-md-3 truncate ">Movimiento Permanente:</label>
<div class="col-md-3">
@@ -435,6 +435,13 @@
<asp:CheckBox ID="chkAplicaEfectivale" AutoPostBack="true" OnCheckedChanged="chkAplicaEfectivale_CheckedChanged" CssClass="chksino" Text=" " runat="server" />
</div>
</div>
<div class="row">
<label class="col-md-3 truncate ">¿Es formula?:</label>
<div class="col-md-3">
<asp:CheckBox ID="ChkEsFormula" CssClass="chksino" Text=" " runat="server" />
</div>
</div>
</div>
</div>
</div>
@@ -561,6 +568,10 @@
</li>
</ul>
</div>
<div style="text-align: right;">
<input type="text" id="jstree-search" placeholder="Filtrar..." />
</div>
<div class="portlet-body">
<div>
<div class="tab-content">
@@ -1013,7 +1024,7 @@
"icon": "fa fa-file icon-state-warning icon-lg"
}
},
"plugins": ["wholerow", "types"]
"plugins": ["wholerow", "types", "search"]
});
_this.on('select_node.jstree', function (e, data) {
@@ -1023,7 +1034,11 @@
return false;
}
});
_this.addClass('JSTreeTables');
_this.removeClass('DFTables');
});
}
}
@@ -1065,6 +1080,19 @@
}
});
let to = false;
$('#jstree-search').keyup(function () {
if (to) { clearTimeout(to); }
to = setTimeout(function () {
var v = $('#jstree-search').val();
$('.JSTreeTables').each(function () {
console.log(v);
let _this = $(this)
_this.jstree(true).search(v);
});
}, 250);
});
}
</script>
</asp:Content>