| | |
| | | } |
| | | if( cbOfflinePlan.Checked() ){ |
| | | dlplannames.Add( lblOfflinePlan.Label() ); |
| | | ArchiveCell_ScheduleSummary::Create( MacroPlan,Archive ); |
| | | } |
| | | if( cbOfflinePlanCC.Checked() ){ |
| | | ccplannames.Add( lblOfflinePlanCC.Label() ); |
| | | ArchiveCell_ScheduleSummary::Create( MacroPlan,Archive ); |
| | | } |
| | | if( cbShiftPlan.Checked() ){ |
| | | dlplannames.Add( lblShiftPlan.Label() ); |
| | | ArchiveCell_ScheduleSummary::Create( MacroPlan,Archive ); |
| | | } |
| | | if( cbShiftPlanCC.Checked() ){ |
| | | ccplannames.Add( lblShiftPlanCC.Label() ); |
| | | ArchiveCell_ScheduleSummary::Create( MacroPlan,Archive ); |
| | | } |
| | | if( cbAssembleOnlinePlan.Checked() ){ |
| | | dlplannames.Add( lblAssembleOnlinePlan.Label() ); |
| | |
| | | if( ccplannames.Size() > 0 ){ |
| | | showlabel := showlabel.Concat( ccshowname.Concat( ccplannames.Concatenate( "、" ) ) ).Concat( ";"); |
| | | } |
| | | showlabel := showlabel.Concat( '。' ); |
| | | showlabel := showlabel.Replace( showlabel.Length() - 1, 1, '。' ); |
| | | currentuser := QuintiqUser::CurrentUser().DisplayName(); |
| | | if( WebMessageBox::Question( this, showlabel, 'OK|Cancel' ) = 0 ){ |
| | | InterfaceDataset.PublishPlanReportData( MacroPlan, cbCustomDemand.Checked() |
| | | InterfaceDataset.PublishPlanReportData( MacroPlan,Archive, cbCustomDemand.Checked() |
| | | , cbCustomDemandCC.Checked() |
| | | , cbOfflinePlan.Checked() |
| | | , cbOfflinePlanCC.Checked() |