From 055c029d503847f970f691d0219cfd0165898743 Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期四, 11 六月 2026 17:46:12 +0800
Subject: [PATCH] update

---
 jrj/project/business/AP/list.RefundGDNLine.Entity.xarch.cpp |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/jrj/project/business/AP/list.RefundGDNLine.Entity.xarch.cpp b/jrj/project/business/AP/list.RefundGDNLine.Entity.xarch.cpp
index f127e29..945d3c9 100644
--- a/jrj/project/business/AP/list.RefundGDNLine.Entity.xarch.cpp
+++ b/jrj/project/business/AP/list.RefundGDNLine.Entity.xarch.cpp
@@ -117,11 +117,19 @@
 		{
 			dw_list.AcceptText();
 			
+			for (int row = 1; row <= dw_list.GetRowCount(); ++row)
+			{
+				if (dw_list.GetItemString(row, L"序号") == L"" || dw_list.GetItemString(row, L"序号") == L" ") dw_list.DeleteRow(row);
+			}
+
 			if(dw_list.GetRowCount()>0)
 			{
-				if(dw_list.GetItemString(dw_list.GetRowCount(),L"序号")==L"") dw_list.DeleteRow(dw_list.GetRowCount());
+				if(dw_list.GetItemString(dw_list.GetRowCount(),L"序号")==L"" || dw_list.GetItemString(dw_list.GetRowCount(), L"序号") == L" ") dw_list.DeleteRow(dw_list.GetRowCount());
 					
 			}
+			
+
+
 			xml x ;
 			
 			KXMLDOMDocument xdoc = x;

--
Gitblit v1.9.3