From cf8dba7748cc9826d744069b5063a14e3fcd2fa8 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期四, 13 三月 2025 10:48:17 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj

---
 jrj/project/business/BasicCode/ForwarderMaint.cpp |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/jrj/project/business/BasicCode/ForwarderMaint.cpp b/jrj/project/business/BasicCode/ForwarderMaint.cpp
index 87c47c0..3e8ce37 100644
--- a/jrj/project/business/BasicCode/ForwarderMaint.cpp
+++ b/jrj/project/business/BasicCode/ForwarderMaint.cpp
@@ -44,7 +44,7 @@
 	}
 	int OnClear() {
 		if (m_EntityID == L"") {
-			m_userid = publiccode::GetUser().id;
+			m_userid = publiccode::GetUser().personid;
 			m_username = publiccode::GetUser().name;
 			dw_base = GetControl(L"dw_base");
 			dw_base.SetItemString(1, L"ForwarderID", GetGuid());
@@ -80,7 +80,7 @@
 			dw_base.SetItemString(1, L"ForwarderType", L"1");
 			dw_base.SetItemDisplayString(1, L"ForwarderType", L"预付货");
 			//dw_base.SetItemString(1,L"PrimaryContactID",dwcon.GetItemString(1,L"ContactID"));	
-
+			return 0;
 		}
 		else
 		{
@@ -433,6 +433,8 @@
 	}
 	int onload()
 	{
+
+		SetArg();
 		dw_base = GetControl(L"dw_base");
 
 		OnAttachEvent();
@@ -444,4 +446,9 @@
 		return 1;
 	}
 
+	int onloaded()
+	{
+		return maint::onloaded();
+	}
+
 };
\ No newline at end of file

--
Gitblit v1.9.3