From cab996376fd73d68625301f6af16d2a9010ec5de Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期二, 28 七月 2026 13:31:05 +0800
Subject: [PATCH] update
---
jrj/project/business/VATNotify/list.vatinvoice.cpp | 22 ++++++++++++++++++++--
1 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/jrj/project/business/VATNotify/list.vatinvoice.cpp b/jrj/project/business/VATNotify/list.vatinvoice.cpp
index 8b17c6f..842def3 100644
--- a/jrj/project/business/VATNotify/list.vatinvoice.cpp
+++ b/jrj/project/business/VATNotify/list.vatinvoice.cpp
@@ -193,11 +193,29 @@
OpenWindow(L"dev:xpage[del.vatinvoice.vx]");
return 1;
}
-
+ else if (comdid == L"SourceRemark") return OnSourceRemark();
return 0;
}
-
+
+ int OnSourceRemark()
+ {
+ xstring name = L"增值税票";
+ KXMLDOMDocument x = ViewObject::RetrieveData(L"/sale/data/TradeFinance3/GetSetUpRemarks", L"Type", name);
+ KXMLDOMNodeList items = x.selectNodes(L"data/Item");
+ KXMLDOMNode t = items.item(0);
+ xstring Content = L"";
+ if (t.selectSingleNode(L"Content"))
+ {
+ Content = t.selectSingleNode(L"Content").text();
+ }
+ xaserverarg arg1;
+
+ arg1.AddArg(L"value", Content);
+ OpenWindow(L"dev:xpage[memo.edit.new.vx]", arg1);
+
+ return 1;
+ }
//命令处理事件
int OnXCommand(TEvent* evt, LPARAM param)
{
--
Gitblit v1.9.3