From 9b3b2eb20b09e13da837a28f16e552ba70a090c4 Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期四, 24 四月 2025 14:48:21 +0800
Subject: [PATCH] update

---
 jrj/project/business/SO/Product.FetchNo.cpp |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/jrj/project/business/SO/Product.FetchNo.cpp b/jrj/project/business/SO/Product.FetchNo.cpp
index c4d6dcf..85e339b 100644
--- a/jrj/project/business/SO/Product.FetchNo.cpp
+++ b/jrj/project/business/SO/Product.FetchNo.cpp
@@ -73,13 +73,12 @@
 		int SendNotice()
 		{
 			xaserverarg arg;
-			
 			if (dw_list.GetRowCount() < 1) return 1;
 			xstring Subject = L"编号:" + dw_list.GetItemString(dw_list.GetRow(), L"SKUNo") + L"   品名:" + dw_list.GetItemString(dw_list.GetRow(), L"CName") + L",申请货号";
 			xstring EntityID = dw_list.GetItemString(dw_list.GetRow(), L"SKUID");
 			xstring EntityNo = dw_list.GetItemString(dw_list.GetRow(), L"SKUNo");
 			xstring Category = L"货号申请";
-			xstring Reciever = L"00908";
+			xstring Reciever = L"00914";
 			xstring Content = L"";
 			//alert(L"EntityID:"+EntityID);
 			ViewObject::AddMessage( GetServerUrl(),Category, Reciever, EntityNo, EntityID, Subject, Content);
@@ -95,7 +94,6 @@
 			dw_list.DwUpdateAllToEx(x);
 			xstring error = L"";
 			xaserverarg arg;
-			
 			arg.AddArg(L"content", x.xml());
 			if (xurl::get(L"/sale/data/ProductLibrary3/update/product/askgoodsno", arg.GetString(), x) != 1)
 			{
@@ -303,14 +301,14 @@
 		{
 			SetArg();
 			dw_list = GetControl(L"dw_list");
-			dw_list.SetDataObject(ProductLibraryView::GetMaintListForm3(L"").xml());
+			dw_list.SetDataObject(ProductLibraryView::GetMaintListForm3(L""));
 			dw_list.SetColumnState(L"SKUID", false);
 			dw_list.SetColumnState(L"category1", false);
 			dw_list.SetColumnState(L"Submitter1", false);
 
 			if (GetWinParam())
 			{
-				xaserverarg arg;
+				xaserverarg arg=GetArg();
 				xml x;
 				
 				if (xurl::get(L"/sale/data/ProductLibrary3/data/list/skunolist", arg.GetString(), x) != 1)
@@ -320,8 +318,9 @@
 				}
 				else
 				{
-					//alert(x.GetXml());
+					
 					dw_list.Retrieve(x);
+					dw_list.Redraw();
 				}
 			}
 			OnAttachEvent();

--
Gitblit v1.9.3