From 63fb4f1d29c3bd82ac1482dbe5a0a6e6bb735f29 Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期二, 02 七月 2024 12:06:31 +0800
Subject: [PATCH] update
---
jrj/project/business/SO/Product.Select.SO.cpp | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/jrj/project/business/SO/Product.Select.SO.cpp b/jrj/project/business/SO/Product.Select.SO.cpp
index 90126fe..372186d 100644
--- a/jrj/project/business/SO/Product.Select.SO.cpp
+++ b/jrj/project/business/SO/Product.Select.SO.cpp
@@ -672,7 +672,7 @@
dw_list.Redraw();
impStr = L"";
- SendMessageW(hObject, 0x401, ls_nos, 0);
+ SendMessage(hObject, 0x401, ls_nos, 0);
alert(L"转入完成!");
return 1;
}
@@ -833,7 +833,7 @@
}
else if (comdid == L"xmRertieve")
{
- int hItem1 = tv_folder.GetSelectedItem();
+ HTREEITEM hItem1 = tv_folder.GetSelectedItem();
KXMLDOMElement e2 = tv_folder.GetItemData(hItem1);
xstring no1 = e2.getAttribute(L"no");
xml x2 = vcontrol::RetrieveData(L"/sale/data/SO/goods/usergoods/listex1", L"parent", no1);
@@ -1043,7 +1043,8 @@
if (selectname != name)
{
- KXMLDOMElement e1 = cast(tv_folder.GetItemData(hItem) as KXMLDOMElement);
+
+ KXMLDOMElement& e1 = *(KXMLDOMElement*)tv_folder.GetItemData(hItem);
xstring str = e1.getAttribute(L"no");
if (str.find(L"Customer1:") == 0 || str.find(L"Customer:") == 0 || str.find(L"SO:") == 0 || str.find(L"Quote:") == 0)
{
@@ -1298,7 +1299,7 @@
xbind bindcart = new xbind;
bindcart.bindEx(dwc_list, g_xdoc_shoppingcart, L"");
- dw_list.SetDataObject(ProductLibraryView::GetMaintListForm3(L"").GetXmlDoc());
+ dw_list.SetDataObject(ProductLibraryView::GetMaintListForm3(L"").xml());
dw_list = GetControl(L"dw_list");
dw_list.SetReadOnly(true);
--
Gitblit v1.9.3