From 24979676af0d645c28fc05157ed61fc3fafbee3b Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期五, 28 六月 2024 09:35:59 +0800 Subject: [PATCH] update message proc and edit proc --- jrj/project/business/SO/Product.Select.SO.cpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/jrj/project/business/SO/Product.Select.SO.cpp b/jrj/project/business/SO/Product.Select.SO.cpp index 90126fe..be4bddb 100644 --- a/jrj/project/business/SO/Product.Select.SO.cpp +++ b/jrj/project/business/SO/Product.Select.SO.cpp @@ -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