-- cargar clientes de carta porte
This commit is contained in:
@@ -697,7 +697,7 @@
|
|||||||
<label class="col-md-3">Cliente:</label>
|
<label class="col-md-3">Cliente:</label>
|
||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
<%-- <ads:DropDownLost ID="s" AutoPostBack="true" OnSelectedIndexChanged="DdlClienteCarta_SelectedIndexChanged" AppendDataBoundItems="true" runat="server" CssClass="form-control input-sm select2me" DataTextField="NombreComercial" DataValueField="CveCliente"></ads:DropDownLost>--%>
|
<%-- <ads:DropDownLost ID="s" AutoPostBack="true" OnSelectedIndexChanged="DdlClienteCarta_SelectedIndexChanged" AppendDataBoundItems="true" runat="server" CssClass="form-control input-sm select2me" DataTextField="NombreComercial" DataValueField="CveCliente"></ads:DropDownLost>--%>
|
||||||
<ADS:Dropdownlost CssClassDdl="select2me" ID="DdlClienteCarta" Width="100%" data-metodo="getcliente" Onselectedindexchange="DdlClienteCarta_SelectedIndexChanged" runat="server" DataTextField="NombreComercial" DataValueField="CveCliente" CssStyle="width: 100%;"></ADS:Dropdownlost>
|
<ADS:Dropdownlost CssClassDdl="select2me" ID="DdlClienteCarta" Width="100%" data-metodo="getcliente" Onselectedindexchange="DdlClienteCarta_SelectedIndexChanged" runat="server" DataTextField="NombreComercial" DataValueField="CveCliente" CssStyle="width: 100%;"></ADS:Dropdownlost>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row rowpadding" >
|
<div class="row rowpadding" >
|
||||||
|
|||||||
@@ -686,8 +686,7 @@ Partial Class Inventarios_EntradasSalidas
|
|||||||
TxtFechaLlegada.Text = Now.ToShortDateString
|
TxtFechaLlegada.Text = Now.ToShortDateString
|
||||||
|
|
||||||
CargarCamiones()
|
CargarCamiones()
|
||||||
|
DdlClienteCarta.setEsWebService(True)
|
||||||
CargaClientesCarta()
|
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
Private Sub CargaPS()
|
Private Sub CargaPS()
|
||||||
@@ -5906,18 +5905,11 @@ Partial Class Inventarios_EntradasSalidas
|
|||||||
DdlConfigAuto.Items.Clear()
|
DdlConfigAuto.Items.Clear()
|
||||||
DdlUnidadCamion.Items.Clear()
|
DdlUnidadCamion.Items.Clear()
|
||||||
|
|
||||||
'DdlUnidadCamion.DataSource = GlobalDTInvCamiones(UsuarioActual.CveEmpresa)
|
|
||||||
'DdlUnidadCamion.DataBind()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Using ObjInv As New ClsInventarios
|
Using ObjInv As New ClsInventarios
|
||||||
|
|
||||||
If ObjInv.GetCamiones(-1, UsuarioActual.CveEmpresa, 1, Estatus:=1) Then
|
If ObjInv.GetCamiones(-1, UsuarioActual.CveEmpresa, 1, Estatus:=1) Then
|
||||||
DdlUnidadCamion.DataSource = ObjInv.DtResultados
|
DdlUnidadCamion.DataSource = ObjInv.DtResultados
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
If ObjInv.GetCamiones(-1, UsuarioActual.CveEmpresa, 2, Estatus:=1) Then
|
If ObjInv.GetCamiones(-1, UsuarioActual.CveEmpresa, 2, Estatus:=1) Then
|
||||||
DdlRemolque1.DataSource = ObjInv.DtResultados
|
DdlRemolque1.DataSource = ObjInv.DtResultados
|
||||||
End If
|
End If
|
||||||
@@ -5926,13 +5918,9 @@ Partial Class Inventarios_EntradasSalidas
|
|||||||
|
|
||||||
DdlUnidadCamion.DataBind()
|
DdlUnidadCamion.DataBind()
|
||||||
DdlUnidadCamion.Items.Insert(0, New ListItem("Seleccione Uno", "-1"))
|
DdlUnidadCamion.Items.Insert(0, New ListItem("Seleccione Uno", "-1"))
|
||||||
|
|
||||||
|
|
||||||
DdlRemolque1.DataBind()
|
DdlRemolque1.DataBind()
|
||||||
DdlRemolque1.Items.Insert(0, New ListItem("Seleccione Uno", "-1"))
|
DdlRemolque1.Items.Insert(0, New ListItem("Seleccione Uno", "-1"))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Using ObjGrales As New ClsGenerales
|
Using ObjGrales As New ClsGenerales
|
||||||
|
|
||||||
If ObjGrales.GetCartaPorteConfigAutoTransportes() Then
|
If ObjGrales.GetCartaPorteConfigAutoTransportes() Then
|
||||||
@@ -5940,27 +5928,9 @@ Partial Class Inventarios_EntradasSalidas
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
End Using
|
End Using
|
||||||
|
|
||||||
DdlConfigAuto.DataBind()
|
DdlConfigAuto.DataBind()
|
||||||
DdlConfigAuto.Items.Insert(0, New ListItem("Seleccione una", "-1"))
|
DdlConfigAuto.Items.Insert(0, New ListItem("Seleccione una", "-1"))
|
||||||
|
|
||||||
'Using ObjGral As New ClsGenerales
|
|
||||||
' If ObjGral.GetCartaPorteConfigAutoTransportes() Then
|
|
||||||
' DdlConfigAuto.DataSource = ObjGral.DtResultados
|
|
||||||
' End If
|
|
||||||
'End Using
|
|
||||||
|
|
||||||
'DdlConfigAuto.DataBind()
|
|
||||||
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub CargaClientesCarta()
|
|
||||||
'DdlClienteCarta.DataSource = GlobalDTCliente(UsuarioActual.CveEmpresa)
|
|
||||||
'DdlClienteCarta.DataBind()
|
|
||||||
|
|
||||||
'DdlClienteCarta.Items.Insert(0, New ListItem("Seleccione", "-1"))
|
|
||||||
DdlClienteCarta.SelectedValue = "-1"
|
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub EmitirTimbrado(CveTimbre As Integer, CveMovimientoTimbrado As Integer, ByRef MensajeAlert As StringBuilder)
|
Private Sub EmitirTimbrado(CveTimbre As Integer, CveMovimientoTimbrado As Integer, ByRef MensajeAlert As StringBuilder)
|
||||||
|
|||||||
Reference in New Issue
Block a user