diff --git a/插件库/Lskj.PubBomImport/FrmProgress.cs b/插件库/Lskj.PubBomImport/FrmProgress.cs index 00484bb..1791de0 100644 --- a/插件库/Lskj.PubBomImport/FrmProgress.cs +++ b/插件库/Lskj.PubBomImport/FrmProgress.cs @@ -799,25 +799,6 @@ namespace Lskj.PubBomImport SetProcessMsg($"正在导入:{Path.GetFileName(parentInfo.FullName)}"); DataTable childTable = frmBillInfo.GcMainView.GridControl.DataSourceTable().Clone(); foreach (DataRow parentRow in parentTable.Rows) - { - string childCode = parentRow["图号"] + ""; - if (childCode.StartsWith("QD") || childCode.StartsWith("ZZQD")) - { - string tempFileName = childFileDic[childCode]; - FileInfo childInfo = new FileInfo(tempFileName); - if (childInfo != null) - { - DataRow childRow = childTable.NewRow(); - childRow["ProductId"] = parentRow["图号"] + ""; - childRow["appellation"] = parentRow["名称"] + ""; - childRow["bak"] = parentRow["备注"] + ""; - childRow["tamount"] = parentRow["套数"] + ""; - childRow["amount"] = parentRow["套数"] + ""; - childTable.Rows.Add(childRow); - } - } - } - foreach (DataRow parentRow in parentTable.Rows) { int.TryParse(parentRow["套数"] + "", out int tamount); string childCode = parentRow["图号"] + ""; @@ -862,7 +843,7 @@ namespace Lskj.PubBomImport childTable.Rows.Add(childRow); } } - else + else if (childCode.StartsWith("QD")) { DataRow childRow = childTable.NewRow(); childRow["ProductId"] = parentRow["图号"] + "";