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.Select.SO.cpp | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/jrj/project/business/SO/Product.Select.SO.cpp b/jrj/project/business/SO/Product.Select.SO.cpp
index be4bddb..5089eeb 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);
@@ -1035,7 +1035,7 @@
xcontrol query = GetControl(L"sl_search");
xstring queryString = query.GetText();
-
+ xshtml xs;
if (name == L"购物车")
{
if (agentFor != L"goodscar")SwitchLayer(L"goodscarsheet", L"sheetframe");
@@ -1105,7 +1105,7 @@
no = e.getAttribute(L"guid");
}
- dw_list.SetDataObject(ProductLibraryView::GetMaintListForm3(no).GetXmlDoc());
+ dw_list.SetDataObject(ProductLibraryView::GetMaintListForm3(no).xml());
dw_list = GetControl(L"dw_list");
dw_list.SetReadOnly(true);
@@ -1265,10 +1265,12 @@
AttachEvent(L"dwc_list", L"DWV_CLICKED", (FEvent)&ProductSelectSOWin::OnDwcClicked);
AttachEvent(L"dwc_list", L"DWV_DOUBLECLICKED", (FEvent)&ProductSelectSOWin::OnImport);
+ return 1;
}
int onload()
{
+ SetArg();
agentFor = L"goodslib";
OnAttachEvent();
--
Gitblit v1.9.3