|
@@ -157,7 +157,8 @@ namespace UAS_MES_NEW.Special
|
|
|
{
|
|
{
|
|
|
Err = "序列号:" + sncode.Text + " 长度错误,不满足产品防呆规则\n";
|
|
Err = "序列号:" + sncode.Text + " 长度错误,不满足产品防呆规则\n";
|
|
|
}
|
|
}
|
|
|
- CheckPass = false;
|
|
|
|
|
|
|
+ if (Err != "")
|
|
|
|
|
+ CheckPass = false;
|
|
|
}
|
|
}
|
|
|
if (!CheckPass)
|
|
if (!CheckPass)
|
|
|
{
|
|
{
|
|
@@ -172,11 +173,11 @@ namespace UAS_MES_NEW.Special
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- else
|
|
|
|
|
- {
|
|
|
|
|
- OperateResult.AppendText(Err, Color.Red, sncode);
|
|
|
|
|
- return;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ //else
|
|
|
|
|
+ //{
|
|
|
|
|
+ // OperateResult.AppendText(Err, Color.Red, sncode);
|
|
|
|
|
+ // return;
|
|
|
|
|
+ //}
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!ChangeResult.Checked)
|
|
if (!ChangeResult.Checked)
|