SVN-Revision: r354
This commit is contained in:
wyf
2025-03-19 08:24:28 +00:00
parent 57ff8601c3
commit 69d59bb311
@@ -92,6 +92,7 @@ namespace Lskj.PubSpecialImport
{
try
{
bool showType = Model != null && Model.ShowType.Equals("1") && !ERPInfo.Instance.UserName.Equals("管理员");
string fileName = importFileName;
if (File.Exists(fileName))
{
@@ -99,7 +100,10 @@ namespace Lskj.PubSpecialImport
WaitForm.ShowForm("正在导入数据...");
this.ParentView.GridControl.DataSource = this.ToExcelDataTable(fileName, out int count, out int errorCount, true);
WaitForm.HideForm();
if (!showType)
{
MessageUtil.Show(string.Format("成功导入{0}条数据,错误{1}条数据", count, errorCount));
}
this.Close();
}
else