diff --git a/Sinvo.EplanHpD.Plugin.WPFUI/MainWindow.xaml.cs b/Sinvo.EplanHpD.Plugin.WPFUI/MainWindow.xaml.cs index 066e751..b4f269d 100644 --- a/Sinvo.EplanHpD.Plugin.WPFUI/MainWindow.xaml.cs +++ b/Sinvo.EplanHpD.Plugin.WPFUI/MainWindow.xaml.cs @@ -216,6 +216,7 @@ public partial class MainWindow : Window if (saveFileDialog.ShowDialog() == true) { ExcelHelper.SaveByTemplate(ViewModel.ExportData, Path.Combine(FlexIOBase.GetParentPath(saveFileDialog.FileName), saveFileDialog.FileName)); + FlexMessageBox.Info($"导出完成!"); } } @@ -232,6 +233,14 @@ public partial class MainWindow : Window /// private void IgnoreSelectedError_Click(object sender, RoutedEventArgs e) { + bool isContinue = false; + if (FlexMessageBox.Warning(FlexMessageBox.Buttons.OK_CANCEL, + "Report", + "忽略异常后在导出下单报表时,将不会再进行管控,是否继续?", false) == System.Windows.Forms.DialogResult.OK) + { + isContinue = true; + } + if (isContinue) if (ModelGenDataGrid.SelectedItems != null) { var selectedRows = ModelGenDataGrid.SelectedItems;