0316-002-gaofei

This commit is contained in:
gaofei 2022-03-16 15:27:47 +08:00
parent ab09cf21d2
commit 1ca2236fc9
1 changed files with 85 additions and 85 deletions

View File

@ -214,7 +214,7 @@ namespace FineUIPro.Web.PZHGL.GJSX
Grid2Binging();
}
}
else if(gjsx.User_ReceiveID.Contains(this.CurrUser.UserId)) //接收者
else if (!string.IsNullOrEmpty(gjsx.User_ReceiveID) && gjsx.User_ReceiveID.Contains(this.CurrUser.UserId)) //接收者
{
rblIsClosed.Visible = false;
btnSave.Visible = false;
@ -231,7 +231,7 @@ namespace FineUIPro.Web.PZHGL.GJSX
btnSave.Visible = false;
btnsubmit.Visible = false;
}
if (gjsx.User_Acceptance.Contains(this.CurrUser.UserId)) //如果当前登录人为验收人
if (!string.IsNullOrEmpty(gjsx.User_Acceptance) && gjsx.User_Acceptance.Contains(this.CurrUser.UserId)) //如果当前登录人为验收人
{
rblIsClosed.Visible = true;
btnSave.Visible = false;