This commit is contained in:
JORGE LUIS CAUDILLO ESPARZA
2020-06-04 14:41:04 -07:00
parent 3ef6d80cc6
commit 4af7169839
17 changed files with 211 additions and 98 deletions

View File

@@ -124,6 +124,11 @@
height: 100%;
cursor: not-allowed;
}
.porcentajelabel{
color: #ed5565;
font-size: 64px;
font-weight:bold;
}
</style>
<link href="/Metronic/assets/global/plugins/ion.rangeslider/css/ion.rangeSlider.css" rel="stylesheet" type="text/css" />
@@ -361,7 +366,10 @@
<asp:Label runat="server" AssociatedControlID="DdlEventoEstatus">Estatus:</asp:Label>
</div>
<asp:Label ID="lblEstatus" Style="font-size: 25px" runat="server" Text="Label"></asp:Label>
<asp:Label ID="lblEstatus" Style="font-size: 25px;position:absolute;" runat="server" Text="Label"></asp:Label>
<div class="text-right porcentajelabel">
<asp:Label ID="LblPorcentaje" CssClass="LblPorcentaje" runat="server" Text="0"></asp:Label>%
</div>
<div class="DivAvance">
<asp:Label runat="server" CssClass="labelitem" AssociatedControlID="TxtAvance">Avance:</asp:Label>
<asp:TextBox ID="TxtAvance" runat="server" CssClass="form-control TxtAvance" CausesValidation="true"></asp:TextBox>
@@ -371,7 +379,7 @@
<div class="form-group form-md-line-input input-iconright">
<asp:TextBox ID="TxtFechaIng" Enabled="false" runat="server" CssClass="form-control" CausesValidation="true"></asp:TextBox>
<asp:Label runat="server" Text="Fecha Registró" AssociatedControlID="TxtFechaIng"></asp:Label>
<asp:Label runat="server" Text="Fecha de registro" AssociatedControlID="TxtFechaIng"></asp:Label>
</div>
<div class="form-group form-md-line-input input-iconright">
<asp:TextBox ID="TxtUsuarioreg" Enabled="false" runat="server" CssClass="form-control" CausesValidation="true"></asp:TextBox>
@@ -744,15 +752,20 @@
<asp:Literal ID="Literal4" runat="server">Agregar relación</asp:Literal></h4>
</div>
<div class="modal-body">
<div class="form-group form-md-line-input">
<asp:DropDownList ID="DdlViculos" Visible="true" AutoPostBack="true" OnSelectedIndexChanged="DdlViculos_SelectedIndexChanged" runat="server" CssClass="form-control select2me input-sm" Width="100%">
<asp:ListItem Value="0" Text="Seleccione" Selected="True"></asp:ListItem>
<%--<asp:ListItem Value="1" Text="Activo Fijo"></asp:ListItem>--%>
<div >
<asp:Label runat="server" AssociatedControlID="DdlViculos">Relacionar Con:</asp:Label>
<asp:RadioButtonList ID="DdlViculos" RepeatDirection="Horizontal" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DdlViculos_SelectedIndexChanged">
<asp:ListItem Value="2" Selected="true" Text=" &nbsp;Cliente"></asp:ListItem>
<asp:ListItem Value="3" Text=" &nbsp;Personal"></asp:ListItem>
<asp:ListItem Value="4" Text=" &nbsp;Proveedor"></asp:ListItem>
</asp:RadioButtonList>
<%--<asp:DropDownList ID="DdlViculos" Visible="true" AutoPostBack="true" OnSelectedIndexChanged="DdlViculos_SelectedIndexChanged" runat="server" CssClass="form-control select2me input-sm" Width="100%">
<asp:ListItem Value="0" Text="Seleccione" Selected="True"></asp:ListItem>
<asp:ListItem Value="2" Text="Cliente"></asp:ListItem>
<asp:ListItem Value="3" Text="Personal"></asp:ListItem>
<asp:ListItem Value="4" Text="Proveedor"></asp:ListItem>
</asp:DropDownList>
<asp:Label runat="server" AssociatedControlID="DdlViculos">Relacionar Con:</asp:Label>
</asp:DropDownList>--%>
</div>
<asp:Panel ID="PnlActivoFijo" Visible="false" runat="server">
@@ -830,7 +843,7 @@
</asp:GridView>--%>
</asp:Panel>
<asp:Panel ID="PnlCliente" CssClass="form-group form-md-line-input" Visible="false" runat="server">
<asp:Panel ID="PnlCliente" CssClass="form-group form-md-line-input" Visible="true" runat="server">
<ADS:Dropdownlost ID="DdlCliente" UsaWebService="true" runat="server" CssStyle="width: 100%;" DataTextField="NombreComercial" DataValueField="CveCliente" CssClass="form-control"></ADS:Dropdownlost>
<asp:Label runat="server" AssociatedControlID="DdlCliente">Cliente:</asp:Label>
<%-- <asp:GridView ID="GvClientes" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Clientes registrados"
@@ -1141,7 +1154,7 @@
step: .01,
//[disable]
onChange: (function () {
setTimeout(function () { if ($(".TxtAvance").val() != Valorxyz) { avancecambio = 1 } }, 50);
setTimeout(function () { let avance = $(".TxtAvance").val(); if ( avance != Valorxyz) { avancecambio = 1; $('.LblPorcentaje').text(avance)} }, 50);
})
});
}