From f2403103c8cc33ff6030a60b2abf5e1255d9f5eb Mon Sep 17 00:00:00 2001 From: sunliang <593170460@qq.com> Date: Wed, 17 Jul 2024 17:37:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=91=E8=B5=B7=E5=AE=A1?= =?UTF-8?q?=E6=89=B9=E6=97=B6=E9=97=B4=E4=B8=BA=E6=9C=80=E6=96=B0=E6=97=B6?= =?UTF-8?q?=E9=97=B4=EF=BC=8C=E8=B0=83=E8=AF=95=E7=95=8C=E9=9D=A2=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=A7=94=E6=89=98=E4=B8=8E=E7=BB=BC=E5=90=88=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CCFlow/CCFlow/WF/AppClassic/Home.htm | 8 +++++--- CCFlow/Components/BP.En30/En/EnObj.cs | 9 +++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/CCFlow/CCFlow/WF/AppClassic/Home.htm b/CCFlow/CCFlow/WF/AppClassic/Home.htm index 965ba718..5e8030fc 100644 --- a/CCFlow/CCFlow/WF/AppClassic/Home.htm +++ b/CCFlow/CCFlow/WF/AppClassic/Home.htm @@ -132,11 +132,13 @@ diff --git a/CCFlow/Components/BP.En30/En/EnObj.cs b/CCFlow/Components/BP.En30/En/EnObj.cs index 846e7de8..a1b01743 100644 --- a/CCFlow/Components/BP.En30/En/EnObj.cs +++ b/CCFlow/Components/BP.En30/En/EnObj.cs @@ -334,10 +334,19 @@ namespace BP.En if (isReadonly == true) { /// if (myval == v) + /// 如果是流程第一个节点,一直获取新数据 @BKGY this.SetValByKey(attr.Key, DataType.CurrentDateByFormart(dataFormat)); } else { + if (DataType.IsNullOrEmpty(fk_node.ToString()) == false) + { + if (fk_node.ToString().EndsWith("01") == true) + { + this.SetValByKey(attr.Key, DataType.CurrentDateByFormart(dataFormat)); + continue; + } + } if (DataType.IsNullOrEmpty(myval) || myval == v) { this.SetValByKey(attr.Key, DataType.CurrentDateByFormart(dataFormat));