From 314c07b152f9973d90cef3e99fa299db5bb1c2df Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期四, 27 六月 2024 22:50:10 +0800 Subject: [PATCH] update SO --- 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