Ajustes AF
This commit is contained in:
30
AF/AF.aspx
30
AF/AF.aspx
@@ -154,6 +154,21 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4 ">
|
||||
<label class="control-label">Grupo:</label>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<asp:DropDownList ID="DdlGrupo" runat="server" DataValueField="CveGrupo" DataTextField="Grupo" CssClass="form-control input-small select2me">
|
||||
</asp:DropDownList>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-1">
|
||||
<asp:Button ID="BtnAgregarGrupo" runat="server" CssClass="btn btn-primary btn-sm" Text="+" Visible="True" />
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4 ">
|
||||
<label class="control-label">Marca:</label>
|
||||
@@ -179,20 +194,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4 ">
|
||||
<label class="control-label">Grupo:</label>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<asp:DropDownList ID="DdlGrupo" runat="server" DataValueField="CveGrupo" DataTextField="Grupo" CssClass="form-control input-small select2me">
|
||||
</asp:DropDownList>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-1">
|
||||
<asp:Button ID="BtnAgregarGrupo" runat="server" CssClass="btn btn-primary btn-sm" Text="+" Visible="True" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@@ -3,10 +3,11 @@ Option Strict On
|
||||
|
||||
Imports System.Data
|
||||
Imports System.Linq
|
||||
Imports CFDi
|
||||
Imports Extensiones
|
||||
|
||||
Partial Class AF_CatModelos
|
||||
Inherits ClsPaginas
|
||||
Inherits ClsPaginas
|
||||
|
||||
#Region " PROPIEDADES"
|
||||
|
||||
@@ -71,7 +72,13 @@ Partial Class AF_CatModelos
|
||||
CargaDatos()
|
||||
ObjAF.Dispose()
|
||||
UpDatos.Update()
|
||||
RegarGlobalDT()
|
||||
End Sub
|
||||
|
||||
Private Sub RegarGlobalDT()
|
||||
GlobalDTModeloActivoFijo(UsuarioActual.CveEmpresa, -1) = Nothing
|
||||
End Sub
|
||||
|
||||
Public Sub Edit_Click(sender As Object, e As EventArgs)
|
||||
Dim GvRow As GridViewRow = DirectCast(DirectCast(sender, LinkButton).NamingContainer, GridViewRow)
|
||||
HdnModalidad.Value = "U"
|
||||
@@ -101,6 +108,7 @@ Partial Class AF_CatModelos
|
||||
End If
|
||||
ObjAF.Dispose()
|
||||
UpDatos.Update()
|
||||
RegarGlobalDT()
|
||||
End Sub
|
||||
Private Sub GvModelo_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvModelos.RowDataBound
|
||||
If e.Row.RowType = DataControlRowType.DataRow Then
|
||||
|
||||
Reference in New Issue
Block a user