提交代码

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();
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();
}
@ -225,6 +217,14 @@ namespace FineUIPro.Web.WeldMat.BaseInfo
{
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;
this.btnDelete.Enabled = true;
}