修改进度录入
This commit is contained in:
@@ -465,8 +465,24 @@ namespace FineUIPro.Web.JDGL.WBS
|
||||
Model.WBS_CnProfession cnProfession = BLL.CnProfessionService.GetCnProfessionByCnProfessionId(unitProject.CnProfessionId);
|
||||
if (cnProfession != null)
|
||||
{
|
||||
cnProfession.IsSelected = e.Checked;
|
||||
cnProfession.IsApprove = e.Checked;
|
||||
if (e.Checked == false)
|
||||
{
|
||||
var selectedUnitProject = Funs.DB.Wbs_UnitProject.FirstOrDefault(x => x.CnProfessionId == cnProfession.CnProfessionId && x.IsSelected == true);
|
||||
if (selectedUnitProject != null)
|
||||
{
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
cnProfession.IsSelected = e.Checked;
|
||||
cnProfession.IsApprove = e.Checked;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
cnProfession.IsSelected = e.Checked;
|
||||
cnProfession.IsApprove = e.Checked;
|
||||
}
|
||||
BLL.CnProfessionService.UpdateCnProfession(cnProfession);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user