From 0dc02c221539b7cd93cae1534fa8633b8fd921b7 Mon Sep 17 00:00:00 2001 From: geh <1923421292@qq.com> Date: Mon, 27 Jul 2026 11:22:54 +0800 Subject: [PATCH] 1 --- .../ZHGL/Information/MillionsMonthlyReportSaveZJ.aspx.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/SUBQHSE/FineUIPro.Web/ZHGL/Information/MillionsMonthlyReportSaveZJ.aspx.cs b/SUBQHSE/FineUIPro.Web/ZHGL/Information/MillionsMonthlyReportSaveZJ.aspx.cs index ef2d0dd..ba1e5f5 100644 --- a/SUBQHSE/FineUIPro.Web/ZHGL/Information/MillionsMonthlyReportSaveZJ.aspx.cs +++ b/SUBQHSE/FineUIPro.Web/ZHGL/Information/MillionsMonthlyReportSaveZJ.aspx.cs @@ -53,10 +53,9 @@ namespace FineUIPro.Web.ZHGL.Information { 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(); items.Clear(); BLL.ConstValue.InitConstValueDropDownList(this.drpMonth, ConstValue.Group_0009, false);