From 333b44ca3e8924aa3378f995a3be6c02255937b6 Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期二, 27 一月 2026 11:41:21 +0800
Subject: [PATCH] update

---
 jrj/project/workflow/workflow.chkdlg.cpp |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/jrj/project/workflow/workflow.chkdlg.cpp b/jrj/project/workflow/workflow.chkdlg.cpp
index 7c8d23d..582be53 100644
--- a/jrj/project/workflow/workflow.chkdlg.cpp
+++ b/jrj/project/workflow/workflow.chkdlg.cpp
@@ -14,19 +14,25 @@
 		return pWin;
 	}
 public:
-
+	xstring Name;
 	//命令发布函数
 	int OnCmdDispatch(xstring comdid)
 	{
 		if (GetWinParam())
 		{
+			
 			xaserverarg arg = GetArg();
 			if (comdid == L"xmOK")
 			{
 				xcontrol xc = GetControl(L"content");
 				xstring str = xc.GetText();
-				if (str == L"")str = L".";
+				if (str == L"")
+				{
+					alert("审批意见为空!");
+					return 0;
+				}
 				arg.AddArg(L"content", str);
+				
 			}
 			arg.AddArg(L"comdid", comdid);
 		}
@@ -68,12 +74,14 @@
 			xaserverarg argx;
 			arg = GetArg();
 			argx.AddArg(L"EntityID", arg.GetArgString(L"EntityID"));
+			//Name = arg.GetArgString(L"EntityName");
+			//alert(arg.GetString());
 			xml x ;
 			xurl::get(L"/sale/data/workflow.core/workflow/chk/loglist", argx.GetString(), x);
 			dw_loglist.Retrieve(x);
 			dw_loglist.SetReadOnly(true);
 		}
-
+		//alert(Name);
 		return 1;
 	}
 };
\ No newline at end of file

--
Gitblit v1.9.3