From 802e9b2cb97e45000351bb4f6c616703fe68b376 Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Sat, 24 May 2025 16:39:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WeldMat/BaseInfo/StoremanInfo.aspx.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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; }