-- carga de marcas
This commit is contained in:
@@ -12,7 +12,7 @@ Partial Class ProductosyServicios
|
|||||||
#Region " Propiedades "
|
#Region " Propiedades "
|
||||||
Private ReadOnly Property CvePS As Integer
|
Private ReadOnly Property CvePS As Integer
|
||||||
Get
|
Get
|
||||||
Return ViewState("CvePS").ToString.ToEntero
|
Return IfNull(ViewState("CvePS"), "-1").ToString.ToEntero
|
||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
Public Property PSAdicionalAnterior As String
|
Public Property PSAdicionalAnterior As String
|
||||||
@@ -186,7 +186,7 @@ Partial Class ProductosyServicios
|
|||||||
ViewState("CvePS") = Request("CvePS")
|
ViewState("CvePS") = Request("CvePS")
|
||||||
|
|
||||||
If CargaDatos() Then
|
If CargaDatos() Then
|
||||||
CargarMarcas()
|
|
||||||
'Configuración de Modalidad Update
|
'Configuración de Modalidad Update
|
||||||
BtnGuardar.Text = "Guardar Cambios"
|
BtnGuardar.Text = "Guardar Cambios"
|
||||||
CargarAlias()
|
CargarAlias()
|
||||||
@@ -197,7 +197,6 @@ Partial Class ProductosyServicios
|
|||||||
RegistraScript("$('#C_Tab_TabPaquetes_tab').css('display' , 'none')")
|
RegistraScript("$('#C_Tab_TabPaquetes_tab').css('display' , 'none')")
|
||||||
|
|
||||||
ViewState("CvePS") = -1
|
ViewState("CvePS") = -1
|
||||||
CargarMarcas()
|
|
||||||
|
|
||||||
ChkEstado.Enabled = False
|
ChkEstado.Enabled = False
|
||||||
ChkEstado.Checked = True
|
ChkEstado.Checked = True
|
||||||
@@ -367,6 +366,7 @@ Partial Class ProductosyServicios
|
|||||||
CargaTipoProductos()
|
CargaTipoProductos()
|
||||||
CargaUnidadesMedida()
|
CargaUnidadesMedida()
|
||||||
CargarMetodosInv()
|
CargarMetodosInv()
|
||||||
|
CargarMarcas()
|
||||||
'CargaPSAdicional(DdlPSAdicional)
|
'CargaPSAdicional(DdlPSAdicional)
|
||||||
|
|
||||||
If UsuarioActual.Empresa.Funcionalidad(531) = "1" Then
|
If UsuarioActual.Empresa.Funcionalidad(531) = "1" Then
|
||||||
|
|||||||
Reference in New Issue
Block a user