This commit is contained in:
高飞 2025-12-30 09:18:05 +08:00
parent 51da1a3603
commit 054c87e8b7
1 changed files with 7 additions and 9 deletions

View File

@ -171,17 +171,15 @@ namespace FineUIPro.Web.WeldMat.Stock
protected void btnMoveStore_Click(object sender, EventArgs e)
{
//if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.CLGL_StockMoveRecordsMenuId, BLL.Const.BtnMoveStore))
if (this.CurrUser.UserId == "95eae1e8-ddb9-4b76-99f4-78a3636a398b") //焊材移库功能只能赵瑞霞操作
if (this.CurrUser.UserId == "95eae1e8-ddb9-4b76-99f4-78a3636a398b" || this.CurrUser.Account == Const.Gly) //焊材移库功能只能赵瑞霞操作
{
if (CurrUser.Account != Const.Gly)
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("StockMove.aspx", "移库 - ")));
}
else
{
Alert.ShowInTop("管理员不能操作!", MessageBoxIcon.Warning);
return;
}
//}
//else
//{
// Alert.ShowInTop("管理员不能操作!", MessageBoxIcon.Warning);
// return;
//}
}
else
{