From feb38c0597871dc6ba7a61fd9566030180cda012 Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期三, 10 六月 2026 17:13:58 +0800
Subject: [PATCH] update
---
jrj/project/business/AP/list.RefundSourcingLine.Entity.xarch.cpp | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/jrj/project/business/AP/list.RefundSourcingLine.Entity.xarch.cpp b/jrj/project/business/AP/list.RefundSourcingLine.Entity.xarch.cpp
index 1186c18..55a1195 100644
--- a/jrj/project/business/AP/list.RefundSourcingLine.Entity.xarch.cpp
+++ b/jrj/project/business/AP/list.RefundSourcingLine.Entity.xarch.cpp
@@ -50,11 +50,18 @@
{
dw_list.AcceptText();
- if(dw_list.GetRowCount()>0)
+
+ for (int row = 1; row <= dw_list.GetRowCount(); ++row)
{
- if(dw_list.GetItemString(dw_list.GetRowCount(),L"序号")==L"") dw_list.DeleteRow(dw_list.GetRowCount());
-
+ 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.GetItemString(dw_list.GetRowCount(), L"序号") == L" ") dw_list.DeleteRow(dw_list.GetRowCount());
+
+ }
+
xml x ;
KXMLDOMDocument xdoc = x;
@@ -195,7 +202,7 @@
return 0;
}
- int ViewUpdate(int pr,xstring updateItem,xaserverarg arg)
+ int ViewUpdate(LPARAM pr,xstring updateItem,xaserverarg arg)
{
if( updateItem==L"setstate")
{
--
Gitblit v1.9.3