xiaoding721
2024-10-26 ad92b664d0a336e605611e3f8b2cb16a8d1c01ee
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Quintiq file version 2.0
#parent: #root
Method OnOK () id:Method_DialogReportArchiveConfirm_OnOK
{
  #keys: '[415136.0.1248982978]'
  Body:
  [*
    this.ApplyChanges();
    info( '------------------',cbCustomDemand.Checked() 
        ,cbOfflinePlan.Checked() 
        ,cbShiftPlan.Checked() 
        ,cbAssembleOnlinePlan.Checked() 
        ,cbInventoryPlan.Checked() 
        ,cbTRCDemand.Checked() 
        ,cbTransferPlan.Checked() 
        ,cbPackagePlan.Checked() );
      showlabel := '是否存档';
    if( cbCustomDemand.Checked() 
        or cbOfflinePlan.Checked() 
        or cbShiftPlan.Checked() 
        or cbAssembleOnlinePlan.Checked() 
        or cbInventoryPlan.Checked() 
        or cbTRCDemand.Checked() 
        or cbTransferPlan.Checked() 
        or cbPackagePlan.Checked() ){
      showlabel := '是否存档';
      plannames := construct( Strings );
      if( cbCustomDemand.Checked() ){
        plannames.Add( lblCustomDemand.Label() );
      }
      if( cbOfflinePlan.Checked() ){
        plannames.Add( lblOfflinePlan.Label() );
      }
      if( cbShiftPlan.Checked() ){
        plannames.Add( lblShiftPlan.Label() );
      }
      if( cbAssembleOnlinePlan.Checked() ){
        plannames.Add( lblAssembleOnlinePlan.Label() );
      }
      if( cbInventoryPlan.Checked() ){
        plannames.Add( lblInventoryPlan.Label() );
      }
      if( cbTRCDemand.Checked() ){
        plannames.Add( lblTRCDemand.Label() );
      }
      if( cbTransferPlan.Checked() ){
        plannames.Add( lblTransferPlan.Label() );
      }
      if( cbPackagePlan.Checked()){
        plannames.Add( lblPackagePlan.Label() );
      }
      showlabel := showlabel.Concat( plannames.Concatenate( "、" ) ).Concat( '?' );
      info( '*****************************' );
      if( WebMessageBox::Question( this, showlabel, 'OK|Cancel' ) = 0 ){
      }
    }else{
      info( '************###########*****************' );
      WebMessageBox::Information( this, '未选择任何计划进行存档' )
    }
    
    this.Close();
  *]
}