105040 存在错误项,不允许导出报表

This commit is contained in:
lihanbo 2024-11-16 08:45:32 +08:00
parent 4a997baa0e
commit ed140b5952
1 changed files with 7 additions and 0 deletions

View File

@ -287,6 +287,13 @@ namespace Sinvo.EplanHpD.Plugin.WPFUI
private void ExportExcelBtn_Click(object sender, RoutedEventArgs e)
{
if (ViewModel.Wires.Any(it => it.IsError))
{
FlexMessageBox.Warning("存在错误项,请检查!");
return;
}
var exportedPath = new CommonOpenFileDialog
{
IsFolderPicker = true,