From cb3379dce8ded03b7bd6a28b8c3c6bbf8247c90b Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期四, 12 九月 2024 10:38:10 +0800
Subject: [PATCH] update
---
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