From a4d2315ee4ca3f6177b4fb2526bed2feff3d89be Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期三, 22 十月 2025 16:52:58 +0800
Subject: [PATCH] update
---
jrj/project/business/AR/Deduction.cpp | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/jrj/project/business/AR/Deduction.cpp b/jrj/project/business/AR/Deduction.cpp
index fa0e386..8a1ad3f 100644
--- a/jrj/project/business/AR/Deduction.cpp
+++ b/jrj/project/business/AR/Deduction.cpp
@@ -157,14 +157,12 @@
int OnRetrieve(xstring InvoiceNo, xstring EntityID)
{
xml x;
-
xaserverarg arg ;
- arg.setNativePointer(arg.CreateInstance());
arg.AddArg(L"InvoiceNo", InvoiceNo);
- arg.AddArg(L"InvoiceNoEx", GetControl(L"search").GetText());
+ arg.AddArg(L"InvoiceNoEx", xcontrol(GetControl(L"search")).GetText());
arg.AddArg(L"EntityID", EntityID);
- trace(GetControl(L"search").GetText());
+ //trace(GetControl(L"search").GetText());
if (getUrl(L"/sale/data/AR/DeductionList", arg.GetString(), x) != 1)
{
trace(x.text());
@@ -181,6 +179,7 @@
int onload()
{
+ SetArg();
dw_list = GetControl(L"dw_list");
dw_list.openUrl(L"/sale/view/AR/template/Deduction");
--
Gitblit v1.9.3