From 289f9d09fbe1593c6439dc7be3d38b1eec722df5 Mon Sep 17 00:00:00 2001
From: hongjli <3117313295@qq.com>
Date: 星期二, 17 十月 2023 14:46:51 +0800
Subject: [PATCH] 物料标签和工单类型数据集切换

---
 _Main/UI/MacroPlannerWebApp/Component_FormVersionOfSOP/Response_PanelVersionOfSOPHeader_ButtonVersionOfSOPHeaderFresh_OnClick.def |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormVersionOfSOP/Response_PanelVersionOfSOPHeader_ButtonVersionOfSOPHeaderFresh_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormVersionOfSOP/Response_PanelVersionOfSOPHeader_ButtonVersionOfSOPHeaderFresh_OnClick.def
index 9fea94f..d0a18a1 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormVersionOfSOP/Response_PanelVersionOfSOPHeader_ButtonVersionOfSOPHeaderFresh_OnClick.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormVersionOfSOP/Response_PanelVersionOfSOPHeader_ButtonVersionOfSOPHeaderFresh_OnClick.def
@@ -11,10 +11,10 @@
     [*
       owner := GlobalOTDTable;
       testbusinesstype := "闆嗗洟";
-      GlobalOTDTable::GetVersionData( owner, testbusinesstype );
-      rootversionid := VersionControl::GetSOPVersionInfo( owner ).Element( 0 );
+      //GlobalOTDTable::GetVersionData( owner, testbusinesstype );
+      rootversionid := VersionControl::GetVersionInfo( owner, testbusinesstype ).Element( 0 );
       DataExtractorVersionOfSOPDetails.FixedFilter( "object.VersionID().FindString( " + rootversionid.AsQUILL() + ", 0 ) = 0" );
-      rootversionname := VersionControl::GetSOPVersionInfo( owner ).Element( 1 );
+      rootversionname := VersionControl::GetVersionInfo( owner, testbusinesstype ).Element( 1 );
       LabelVersionOfSOPHeader.Text( rootversionname );
       VersionStatus::GetBusinessTypeStatus( owner, rootversionid );
     *]

--
Gitblit v1.9.3