From 61f1fc38bb7c290ccace616b7df4609a8b82a73b Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期五, 06 九月 2024 13:52:36 +0800
Subject: [PATCH] update viewupdate

---
 jrj/project/business/Enquiry/Entity.Product.Select.cpp |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/jrj/project/business/Enquiry/Entity.Product.Select.cpp b/jrj/project/business/Enquiry/Entity.Product.Select.cpp
index 8aa60bb..cace6fe 100644
--- a/jrj/project/business/Enquiry/Entity.Product.Select.cpp
+++ b/jrj/project/business/Enquiry/Entity.Product.Select.cpp
@@ -318,6 +318,7 @@
 			xaserverarg arg;
 			
 			arg.AddArg(L"content", x.xml());
+			alert(x.xml());
 			if (xurl::get(L"/sale/data/ProductLibrary/image/update", arg.GetString(), x) != 1)
 			{
 				alert(x.text());
@@ -752,7 +753,7 @@
 			dw_list.Redraw();
 			impStr = L"";
 
-			SendMessage(hObject, 0x401, (LPARAM)ls_nos, 0);
+			SendMessage(hObject, 0x401, (LPARAM)ls_nos.c_str(), 0);
 			alert(L"转入完成!");
 
 			return 1;
@@ -848,8 +849,8 @@
 			if (Name == L"") Name = e.getAttribute(L"cname");
 			arg.AddArg(L"No", No);
 			arg.AddArg(L"CName", Name);
-			int p = arg;
-			OpenWindow(L"dev:xpage[Quick.Input.NewProductEx.vx]", p);
+			
+			OpenWindow(L"dev:xpage[Quick.Input.NewProductEx.vx]", arg);
 			if (arg.GetArgString(L"data.modify") == L"1")RetrieveItem(hItem);
 			return 1;
 		}
@@ -963,7 +964,7 @@
 		}
 		int MakeGoodCarFolderItem(HTREEITEM hItem)
 		{
-			xml x = ShoppingCartView::GetRoleList();
+			xml x = ShoppingCartView::GetSupplierRoleList(SupplierID);
 			if (!x) return 0;
 			KXMLDOMNodeList nlist = x.selectNodes(L"/data/item");
 			int len = nlist.length();
@@ -1358,7 +1359,7 @@
 			dw_list.Redraw();
 			dwc_list.Redraw();
 			impStr = L"";
-			SendMessage(hObject, 0x401, (LPARAM)ls_nos, 0);
+			SendMessage(hObject, 0x401, (LPARAM)ls_nos.c_str(), 0);
 			xutil::RestoreCursor(hCursor);
 			CloseWindow();
 			return 1;
@@ -1388,7 +1389,7 @@
 			dw_list.Redraw();
 			dwc_list.Redraw();
 			impStr = L"";
-			SendMessage(hObject, 0x401, (LPARAM)ls_nos, 0);
+			SendMessage(hObject, 0x401, (LPARAM)ls_nos.c_str(), 0);
 			xutil::RestoreCursor(hCursor);
 			CloseWindow();
 			return 1;

--
Gitblit v1.9.3