From b16deb7cf4eb651c74e73ef6723a0e8eb7676ee1 Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期一, 28 十月 2024 17:14:17 +0800
Subject: [PATCH] 添加下发班次计划信息的入口,调整锁定期的界面格式

---
 _Main/UI/MacroPlannerWebApp/Component_FormDispatchShiftSchedulingInformation/Response_PanelDispatchShiftSchedulingInformation_bDispatch_OnClick.def |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormDispatchShiftSchedulingInformation/Response_PanelDispatchShiftSchedulingInformation_bDispatch_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormDispatchShiftSchedulingInformation/Response_PanelDispatchShiftSchedulingInformation_bDispatch_OnClick.def
index 837ac98..edcb05d 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormDispatchShiftSchedulingInformation/Response_PanelDispatchShiftSchedulingInformation_bDispatch_OnClick.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormDispatchShiftSchedulingInformation/Response_PanelDispatchShiftSchedulingInformation_bDispatch_OnClick.def
@@ -23,6 +23,8 @@
         factoryNameChinese := factoryNameChinese.Concat( "澶ц繛宸ュ巶;" );
         factoryNameEnglish := factoryNameEnglish.Concat( "DL;" );
       }
+      factoryNameChinese := factoryNameChinese.SubString( 0,factoryNameChinese.Length() - 1 );
+      factoryNameEnglish := factoryNameEnglish.SubString( 0,factoryNameEnglish.Length() - 1 );
       if( WebMessageBox::Question( Translations::RecycleBin_DispatchShiftSchedulingDispatchCheck( factoryNameChinese,factoryNameEnglish ),Translations::MessageBox_YesNo() ) = 0 ){
         if( cbCC.Checked() ){
           message := DispatchShiftSchedulingLine::DispatchCC( RecycleBin );
@@ -32,8 +34,10 @@
           message := DispatchShiftSchedulingLine::DispatchDL( RecycleBin ); 
           WebMessageBox::Information( message );
         }
+        WebMessageBox::Success( "涓嬪彂鎴愬姛" );
+      }else{
+        WebMessageBox::Success( "Cancel" );
       }
-      WebMessageBox::Success( "涓嬪彂鎴愬姛" );
     *]
     GroupServerCalls: false
   }

--
Gitblit v1.9.3