This commit is contained in:
2024-05-16 10:17:34 +08:00
parent d17354f244
commit 145844fbed
21 changed files with 551 additions and 294 deletions
@@ -43,7 +43,8 @@ namespace FineUIPro.Web.Evaluation
//cbBoQIsAudit.Enabled = false;
//txtBoQ.Enabled = false;
cbIsOthers.Enabled = false;
numOthers.Enabled = false;
txtOtherDef.Enabled = false;
//numOthers.Enabled = false;
txtProposed.Enabled = false;
txtTechnicalBonus.Enabled = false;
@@ -79,7 +80,8 @@ namespace FineUIPro.Web.Evaluation
txtForecasted.Enabled = true;
txtTechnicalBonus.Enabled = true;
cbIsOthers.Enabled = true;
numOthers.Enabled = true;
//numOthers.Enabled = true;
txtOtherDef.Enabled= true;
txtProposed.Enabled = true;
btnSave.Hidden = false;
}
@@ -191,11 +193,11 @@ namespace FineUIPro.Web.Evaluation
cbIsOthers.SelectedValueArray = new string[] { "False" };
}
}
if (foview.First().OthersNum.HasValue)
{
numOthers.Text = foview.First().OthersNum.ToString();
}
//if (foview.First().OthersNum.HasValue)
//{
// numOthers.Text = foview.First().OthersNum.ToString();
//}
txtOtherDef.Text = foview.First().OtherDef;
txtTechnicalBonus.Text = foview.First().TechnicalBonus;
txtSafetyBonus.Text = foview.First().SafetyBonus;
txtProposed.Text = foview.First().Proposed;
@@ -346,11 +348,11 @@ namespace FineUIPro.Web.Evaluation
return;
}
if (!string.IsNullOrEmpty(numOthers.Text))
{
newFo.OthersNum = Convert.ToInt32(numOthers.Text);
}
//if (!string.IsNullOrEmpty(numOthers.Text))
//{
// newFo.OthersNum = Convert.ToInt32(numOthers.Text);
//}
newFo.OtherDef=txtOtherDef.Text.Trim();
newFo.TechnicalBonus = txtTechnicalBonus.Text.Trim();
var role = BLL.Sys_RoleService.GetRole(CurrUser.RoleId);