From 05e5a33b2102cd562e8503121bef4ad8bc29a1e6 Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期五, 16 八月 2024 17:01:52 +0800 Subject: [PATCH] update --- jrj/project/business/VATNotify/update.vatnotify.cpp | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/jrj/project/business/VATNotify/update.vatnotify.cpp b/jrj/project/business/VATNotify/update.vatnotify.cpp index e1083c6..709e11f 100644 --- a/jrj/project/business/VATNotify/update.vatnotify.cpp +++ b/jrj/project/business/VATNotify/update.vatnotify.cpp @@ -13,6 +13,7 @@ xdwgrid dw_item; xdwgrid dw_goods; xnode m_agentNode; //Agent Condition + xstring InvNo; public: UpdateVatNotifyWin(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd) {} @@ -57,7 +58,7 @@ dw_list.AcceptText(); dw_list.DwUpdateAllToEx(x); - xaserverarg arg = ViewObject::MakeArg(); + xaserverarg arg; arg.AddArg(L"content", x.xml()); trace(x.xml()); @@ -257,11 +258,11 @@ if (GetWinParam()) { - int pArg = GetArg(); - + arg = GetArg(); + InvNo = arg.GetArgString(L"invoiceno"); } else - arg.AddArg(L"invoiceno", L"15HDLD0720"); + arg.AddArg(L"invoiceno", InvNo); arg.AddArg(L"ClassifyID", classifyID); arg.AddArg(L"SupplierID", supplierID); @@ -300,11 +301,11 @@ if (GetWinParam()) { - int pArg = GetArg(); - + arg = GetArg(); + InvNo = arg.GetArgString(L"invoiceno"); } else - arg.AddArg(L"invoiceno", L"15HDLD0720"); + arg.AddArg(L"invoiceno", InvNo); if (getUrl(L"/sale/data/VATNotify/entity/base/miss", arg.GetString(), x) != 1) { trace(x.text()); -- Gitblit v1.9.3