From 4db684c655e85e367e73409101b622e71981095f Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期一, 22 七月 2024 09:42:36 +0800
Subject: [PATCH] update

---
 jrj/project/business/VATNotify/update.vatnotify.cpp |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/jrj/project/business/VATNotify/update.vatnotify.cpp b/jrj/project/business/VATNotify/update.vatnotify.cpp
index 7aa19e5..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) {}
@@ -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