Update Response_PanelActualDailyProduction_bReSync_OnClick.def
| | |
| | | { |
| | | Body: |
| | | [* |
| | | days := dsEndDate.Date() - dsStartDate.Date(); |
| | | if( days >= 365 ){ |
| | | if( WebMessageBox::Question( "当前时间跨度【"+ [String]days +"天】过大,是否继续?",Translations::MessageBox_YesNo() ) = 0 ){ |
| | | ActualDailyProductionData::Synchronize( InterfaceDataset,"User",dsStartDate.Date(),dsEndDate.Date() ); |
| | | }else{ |
| | | WebMessageBox::Information( "Canceled." ); |
| | | } |
| | | }else{ |
| | | ActualDailyProductionData::Synchronize( InterfaceDataset,"User",dsStartDate.Date(),dsEndDate.Date() ); |
| | | } |
| | | *] |
| | | } |
| | | } |