Cambios parametros reporte trabajo actividad KLB.

git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C526
This commit is contained in:
kledezma 2021-02-01 15:16:21 +00:00
parent 1a7438a5a1
commit 0b58528ce5
5 changed files with 710 additions and 509 deletions

File diff suppressed because it is too large Load diff

Binary file not shown.

Binary file not shown.

View file

@ -586,7 +586,7 @@ public partial class Forms_Trans_frwNuevaSolicitud : General
//if (txtValor.Text != "" && txtValor.Text != "0") //if (txtValor.Text != "" && txtValor.Text != "0")
{ {
ViewState["MODO"] = "Nuevo"; ViewState["MODO"] = "Nuevo";
//int pkRegistro = GuardarDatosTipoProyecto(); int pkRegistro = GuardarDatosTipoProyecto();
llenarGridProyectoSolicitud(strPKSolicitudTMP); llenarGridProyectoSolicitud(strPKSolicitudTMP);
txtValor.Text = "0"; txtValor.Text = "0";
txtCaudalSolicitado.Text = "0.00"; txtCaudalSolicitado.Text = "0.00";
@ -1055,19 +1055,19 @@ public partial class Forms_Trans_frwNuevaSolicitud : General
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
private int GuardarDatosTipoProyecto() //M0 private int GuardarDatosTipoProyecto() //M0
{ {
int nValorRetornado = 0; int nValorRetornado = 0;
try try
{ {
string strModo = ViewState["MODO"].ToString(); string strModo = ViewState["MODO"].ToString();
decimal value;
if (ddlTipoProyecto.SelectedValue != "-1") if (ddlTipoProyecto.SelectedValue != "-1")
{ {
if (txtValor.Text != "" && int.Parse(txtValor.Text) >= 1) if (txtValor.Text != "" && int.Parse(txtValor.Text) >= 1)
{ {
if (txtCaudalSolicitado.Text != "") if (txtCaudalSolicitado.Text != "" && Convert.ToDecimal(txtCaudalSolicitado.Text) > 0)
{ {
if (txtNivelesConstruccion.Text != "" && txtAreaConstruccion.Text != "" ) if (txtNivelesConstruccion.Text != "" && txtAreaConstruccion.Text != "" )
{ {