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/SO3.maint.cpp | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/jrj/project/business/SO3.maint.cpp b/jrj/project/business/SO3.maint.cpp index 5057518..3132a61 100644 --- a/jrj/project/business/SO3.maint.cpp +++ b/jrj/project/business/SO3.maint.cpp @@ -964,10 +964,12 @@ int onload() { + /* using JFString = JFactory<JString>; JPtr<JFString> jfString(JObjectSvr::CreateInstance<JFString>(L"JFactoryString")); //auto jfString = JObjectSvr::CreateInstance<JFString>(L"JFactoryString"); JPtr<JString> pStr(jfString->make()); + */ dw_props = GetControl(L"dw_props"); /*KXMLDOMDocument x = SaleOrderView::GetMaintFormForBase(); @@ -1038,12 +1040,14 @@ if (SONo != L"") { KXMLDOMDocument x = SaleOrderView::GetMaintDataForBase(SONo); + BSTR str = (BSTR)x.xml(); dw_base.Retrieve(x); dw_item.Retrieve(x); } else { KXMLDOMDocument x = ViewObject::RetrieveData(GetServerUrl(),L"/sale/data/SaleOrder/newinitial"); + BSTR str = (BSTR)x.xml(); dw_base.Retrieve(x); xstring sdate = publiccode::GetCurrentDate(); -- Gitblit v1.9.3