This commit is contained in:
parent
51da1a3603
commit
054c87e8b7
|
|
@ -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 (CurrUser.Account != Const.Gly)
|
||||
if (this.CurrUser.UserId == "95eae1e8-ddb9-4b76-99f4-78a3636a398b" || this.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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue