From 03ef0b51103c735077c784c7df81ae2bcc1599ab Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期四, 13 二月 2025 18:33:56 +0800 Subject: [PATCH] update --- jrj/project/business/VATNotify/update.vatnotify.cpp | 19 +++++++++---------- 1 files changed, 9 insertions(+), 10 deletions(-) diff --git a/jrj/project/business/VATNotify/update.vatnotify.cpp b/jrj/project/business/VATNotify/update.vatnotify.cpp index 7aa19e5..b78216b 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) {} @@ -53,8 +54,7 @@ int OnSave() { - xml x ; - + xml x; dw_list.AcceptText(); dw_list.DwUpdateAllToEx(x); xaserverarg arg; @@ -251,17 +251,16 @@ int RetrieveCustomSource(xstring classifyID, xstring supplierID) { - xml x ; - + xml x; xaserverarg arg ; 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 +299,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