提交代码

This commit is contained in:
高飞 2025-05-24 16:39:42 +08:00
parent 3867399b7e
commit 802e9b2cb9
1 changed files with 8 additions and 8 deletions

View File

@ -20,14 +20,6 @@ namespace FineUIPro.Web.WeldMat.BaseInfo
{ {
ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
BLL.UnitStoreService.InitUnitStoreDropDownList(drpUnitStore, string.Empty, true); BLL.UnitStoreService.InitUnitStoreDropDownList(drpUnitStore, string.Empty, true);
if (this.CurrUser.UserId == BLL.Const.GlyId || this.CurrUser.UserId == "32da7c11-0869-4b9a-8db4-4e51a4a91f31")
{
this.drpUnitStore.Enabled = true;
}
else
{
this.drpUnitStore.Enabled = false;
}
// 绑定表格 // 绑定表格
BindGrid(); BindGrid();
} }
@ -225,6 +217,14 @@ namespace FineUIPro.Web.WeldMat.BaseInfo
{ {
this.drpUnitStore.SelectedValue = storemanInfo.UnitStoreId; this.drpUnitStore.SelectedValue = storemanInfo.UnitStoreId;
} }
if (this.CurrUser.UserId == BLL.Const.GlyId || this.CurrUser.UserId == "32da7c11-0869-4b9a-8db4-4e51a4a91f31" || this.CurrUser.UserId == storemanInfo.UserId)
{
this.drpUnitStore.Enabled = true;
}
else
{
this.drpUnitStore.Enabled = false;
}
hfFormID.Text = Id; hfFormID.Text = Id;
this.btnDelete.Enabled = true; this.btnDelete.Enabled = true;
} }