hongji.li
2023-11-11 ffa07b2a8c4e06a1fdc7c38c1c88f85845ff83cb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Quintiq file version 2.0
#parent: pUp/DataHolderRunStatus
Response OnDataChanged () id:Response_FormSalesVolumePanelAllocationFromScenario_DataHolderRunStatus_OnDataChanged
{
  #keys: '[414702.1.469178844]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebComponent_OnDataChanged'
  QuillAction
  {
    Body:
    [*
      runStatus := guard( this.Data().Element( 0 ), null( RunStatus ) );
      
      if ( not isnull( runStatus ) ) {
        if ( runStatus.Status() = 1 ) {
          iRunStatus.Image( "MEDIA_PLAY_GREEN" );
          bStatisticalSelectionVersion.Enabled( false, "正在运行中" );
        } else if ( runStatus.Status() = 0 ) {
          iRunStatus.Image( "CHECK" ); 
          bStatisticalSelectionVersion.Enabled( true, "" );
        }
      }
    *]
    GroupServerCalls: false
  }
}