From 82d21bb5c6d0dedc5599a5cf61d19c7eee1f7ef5 Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期一, 08 七月 2024 10:03:44 +0800
Subject: [PATCH] update

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

diff --git a/jrj/project/business/SO/Product.FetchNo.cpp b/jrj/project/business/SO/Product.FetchNo.cpp
index 4b837d9..549a563 100644
--- a/jrj/project/business/SO/Product.FetchNo.cpp
+++ b/jrj/project/business/SO/Product.FetchNo.cpp
@@ -6,6 +6,7 @@
 
 #include "vbusiness/vframe/listwin.vframe.vbusiness.hpp"
 #include "viewobject/view.base.hpp"
+#include "viewobject/productlibrary.view.hpp"
 
 using xml = KXMLDOMDocument;
 	class  __declspec(dllexport)  ProductFetchNoWin : public xframe
@@ -81,7 +82,7 @@
 			xstring Reciever = L"00908";
 			xstring Content = L"";
 			//alert(L"EntityID:"+EntityID);
-			xml x = ViewObject::AddMessage(Category, Reciever, EntityNo, EntityID, Subject, Content);
+			xml x = ViewObject::AddMessage( Category, Reciever, EntityNo, EntityID, Subject, Content);
 			return 1;
 		}
 
@@ -274,6 +275,7 @@
 			AttachEvent(L"WM_XCOMMAND", (FEvent)&ProductFetchNoWin::OnXCommand);
 			//获取焦点事件,用于重置工具条
 			AttachEvent(L"WM_SETFOCUS", (FEvent)&ProductFetchNoWin::OnSetFocus);
+			return 1;
 		}
 
 		/*
@@ -299,8 +301,9 @@
 
 		int onload()
 		{
+			SetArg();
 			dw_list = GetControl(L"dw_list");
-			dw_list.SetDataObject(ProductLibraryView::GetMaintListForm3(L"").GetXmlDoc());
+			dw_list.SetDataObject(ProductLibraryView::GetMaintListForm3(L"").xml());
 			dw_list.SetColumnState(L"SKUID", false);
 			dw_list.SetColumnState(L"category1", false);
 			dw_list.SetColumnState(L"Submitter1", false);

--
Gitblit v1.9.3