From da23e72a7fc46ae4fd5934ad63b8fd84acdd2afb Mon Sep 17 00:00:00 2001 From: xiaju <1784803958@qq.com> Date: Wed, 26 Nov 2025 10:43:44 +0800 Subject: [PATCH] 1 --- .../FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs | 3 ++- SGGL/WebAPI/WebAPI.csproj.user | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs index 2c0f6c47..e575e23e 100644 --- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs @@ -206,7 +206,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew Button3.Hidden = true; //合计 OutPutSummaryGrid9(); - Grid9.FindColumn("Delete1").Hidden = true; + Grid1.FindColumn("Delete1").Hidden = true; Grid9.FindColumn("Delete9").Hidden = true; } #endregion @@ -3594,6 +3594,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// void OutPutSummaryGrid9() { + if (Grid9.DataSource == null) { return; } DataTable source = ObjectToTable(Grid9.DataSource); int Quantity1Total = 0, Quantity2Total = 0, Quantity3Total = 0, Quantity4Total = 0; if (source != null) diff --git a/SGGL/WebAPI/WebAPI.csproj.user b/SGGL/WebAPI/WebAPI.csproj.user index 1a1a9a6c..17978b44 100644 --- a/SGGL/WebAPI/WebAPI.csproj.user +++ b/SGGL/WebAPI/WebAPI.csproj.user @@ -1,7 +1,7 @@  - Release|Any CPU + Debug|Any CPU true