|
|
@@ -722,6 +722,14 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
{
|
|
|
return;
|
|
|
}
|
|
|
+ DataRow[] item1 = dt.Select("Sel = 1 and plan_code is null ");
|
|
|
+ if (item1 != null && item1.Length > 0)
|
|
|
+ {
|
|
|
+ MessageBox.Show("存在未报工模具",
|
|
|
+ this.Text, MessageBoxButtons.OK, MessageBoxIcon.Warning,
|
|
|
+ MessageBoxDefaultButton.Button1);
|
|
|
+ return;
|
|
|
+ }
|
|
|
DataRow[] items = dt.Select("Sel = 1 and plan_code is not null ");
|
|
|
if (items == null || items.Length == 0)
|
|
|
{
|
|
|
@@ -764,6 +772,14 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
{
|
|
|
return;
|
|
|
}
|
|
|
+ DataRow[] item1 = dt.Select("Sel = 1 and plan_code is not null ");
|
|
|
+ if (item1 != null && item1.Length>0 )
|
|
|
+ {
|
|
|
+ MessageBox.Show("存在已报工模具",
|
|
|
+ this.Text, MessageBoxButtons.OK, MessageBoxIcon.Warning,
|
|
|
+ MessageBoxDefaultButton.Button1);
|
|
|
+ return;
|
|
|
+ }
|
|
|
DataRow[] items = dt.Select("Sel = 1 and plan_code is null ");
|
|
|
if (items == null || items.Length == 0)
|
|
|
{
|