From 14c25bec0b8102a66dfce8add415792db4808cde Mon Sep 17 00:00:00 2001 From: qian Date: Tue, 25 Feb 2025 11:35:39 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SCP/Views/富维冲压件/SCP_MAXPO_INCOMPLETE.aspx.cs | 4 ++-- SCP/Views/富维冲压件/SCP_MAXPO_INCOMPLETE_DETAIL.aspx.cs | 1 + SCP/Views/富维冲压件/SCP_PO_MAX_DETAIL.aspx.cs | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/SCP/Views/富维冲压件/SCP_MAXPO_INCOMPLETE.aspx.cs b/SCP/Views/富维冲压件/SCP_MAXPO_INCOMPLETE.aspx.cs index a7ab5dc..c47f0d1 100644 --- a/SCP/Views/富维冲压件/SCP_MAXPO_INCOMPLETE.aspx.cs +++ b/SCP/Views/富维冲压件/SCP_MAXPO_INCOMPLETE.aspx.cs @@ -46,8 +46,8 @@ namespace SCP.Views.富维冲压件 if (rs.State == ReturnStatus.Succeed) { var list = SortAndPage(rs.Result, Grid_V_TB_PO_SUBDETAIL); - var _ls = list.ToList(); - Grid_V_TB_PO_SUBDETAIL.DataSource = _ls; + Grid_V_TB_PO_SUBDETAIL.RecordCount = rs.Result.Count(); + Grid_V_TB_PO_SUBDETAIL.DataSource = list; Grid_V_TB_PO_SUBDETAIL.DataBind(); } }); diff --git a/SCP/Views/富维冲压件/SCP_MAXPO_INCOMPLETE_DETAIL.aspx.cs b/SCP/Views/富维冲压件/SCP_MAXPO_INCOMPLETE_DETAIL.aspx.cs index 1c6c1ff..c41486a 100644 --- a/SCP/Views/富维冲压件/SCP_MAXPO_INCOMPLETE_DETAIL.aspx.cs +++ b/SCP/Views/富维冲压件/SCP_MAXPO_INCOMPLETE_DETAIL.aspx.cs @@ -48,6 +48,7 @@ namespace SCP.Views.富维冲压件 SCP_PO_CONTROLLER.Get_V_TB_MAXPO_INCOMPLETE_DETAIL(MAXPO, (rs) => { if (rs.State == ReturnStatus.Succeed) { + Grid_V_TB_PO_SUBDETAIL.RecordCount = rs.Result.Count(); var list = SortAndPage(rs.Result, Grid_V_TB_PO_SUBDETAIL); var _ls = list.ToList(); Grid_V_TB_PO_SUBDETAIL.DataSource = _ls; diff --git a/SCP/Views/富维冲压件/SCP_PO_MAX_DETAIL.aspx.cs b/SCP/Views/富维冲压件/SCP_PO_MAX_DETAIL.aspx.cs index 411c839..db2fe12 100644 --- a/SCP/Views/富维冲压件/SCP_PO_MAX_DETAIL.aspx.cs +++ b/SCP/Views/富维冲压件/SCP_PO_MAX_DETAIL.aspx.cs @@ -85,7 +85,7 @@ namespace SCP.Views.富维冲压件 ls.forecastsix = str[1]; } } - + Grid_V_TB_PO_SUBDETAIL.RecordCount = rs.Result.Count(); Grid_V_TB_PO_SUBDETAIL.DataSource = _ls; Grid_V_TB_PO_SUBDETAIL.DataBind();