lihongji
2024-09-29 a39aa89a8d8daeeefb5f37b1d4318bc5a6990da1
_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlan/Response_pHeader1_799_bConfirm_OnClick.def
@@ -7,7 +7,7 @@
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    return not isnull( MacroPlan );
    return not isnull( MacroPlan ) and MacroPlan.A_PreviousScenaioName() <> MacroPlan.ScenarioName();
  *]
  QuillAction
  {
@@ -15,6 +15,8 @@
    [*
      OfflinePlanCell::SynchronizeToNewSupply( MacroPlan, dhOfflinePlanTable.Data() );
      
      MacroPlan.A_PreviousScenaioName( MacroPlan.ScenarioName() );
      WebMessageBox::Success( Translations::A_VWED_Success() );
    *]
    GroupServerCalls: false