This commit is contained in:
geh
2026-07-27 11:22:54 +08:00
parent a4d3d1f3f2
commit 0dc02c2215
@@ -53,10 +53,9 @@ namespace FineUIPro.Web.ZHGL.Information
{ {
if (!IsPostBack) if (!IsPostBack)
{ {
IsThisUnit = this.CurrUser.Base_Unit != null ? (bool)this.CurrUser.Base_Unit.IsThisUnit : false; IsThisUnit = this.CurrUser.Base_Unit != null && this.CurrUser.Base_Unit.IsThisUnit != null ? (bool)this.CurrUser.Base_Unit.IsThisUnit : false;
//是否是分公司 //是否是分公司
IsBranch = this.CurrUser.Base_Unit != null ? (bool)this.CurrUser.Base_Unit.IsBranch : false; IsBranch = this.CurrUser.Base_Unit != null && this.CurrUser.Base_Unit.IsBranch != null ? (bool)this.CurrUser.Base_Unit.IsBranch : false;
this.GetButtonPower(); this.GetButtonPower();
items.Clear(); items.Clear();
BLL.ConstValue.InitConstValueDropDownList(this.drpMonth, ConstValue.Group_0009, false); BLL.ConstValue.InitConstValueDropDownList(this.drpMonth, ConstValue.Group_0009, false);