diff --git a/HJGL_DS/FineUIPro.Web/WeldMat/BaseInfo/StoremanInfo.aspx.cs b/HJGL_DS/FineUIPro.Web/WeldMat/BaseInfo/StoremanInfo.aspx.cs index 15b92e2..4bbbb33 100644 --- a/HJGL_DS/FineUIPro.Web/WeldMat/BaseInfo/StoremanInfo.aspx.cs +++ b/HJGL_DS/FineUIPro.Web/WeldMat/BaseInfo/StoremanInfo.aspx.cs @@ -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; }