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