From bb11423721435590d163aca8a4cc04ed61e5862a Mon Sep 17 00:00:00 2001 From: liqionghai <1> Date: Fri, 15 Aug 2025 17:08:45 +0800 Subject: [PATCH] 1 --- Pilot_KD_Parino/Common/CommonHelper.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Pilot_KD_Parino/Common/CommonHelper.cs b/Pilot_KD_Parino/Common/CommonHelper.cs index fb85201..3ddb1b0 100644 --- a/Pilot_KD_Parino/Common/CommonHelper.cs +++ b/Pilot_KD_Parino/Common/CommonHelper.cs @@ -143,14 +143,16 @@ namespace Pilot_KD_Parino.Common #region Row newRowfour = table.InsertRow(previousRowfour, 1); newRowfour.Cells[1].ReplaceText("{9}", Convert.ToString(Rows[0][11])); + int j = 0; foreach (var Row in Rows) { - Row newRowthree = table.InsertRow(previousRowthree, 1); + Row newRowthree = table.InsertRow(previousRowthree, 1+j); for (int i = 0; i < 9; i++) { newRowthree.Cells[i].ReplaceText("{" + i.ToString() + "}", Convert.ToString(Row[i])); } document.ReplaceText("{10}", Convert.ToString(Row[10])); + j++; } Row newRow = table.InsertRow(previousRow, 1); newRow.Cells[0].ReplaceText("{0}", string.Format("{0}、{1}", ConvertToChineseUppercase(Index), Convert.ToString(item)));