|
@@ -120,6 +120,11 @@ namespace UAS_MES_NEW.Make
|
|
|
{
|
|
{
|
|
|
if (Loading.Checked)
|
|
if (Loading.Checked)
|
|
|
{
|
|
{
|
|
|
|
|
+ if (code.Text.Replace(" ", "") == "")
|
|
|
|
|
+ {
|
|
|
|
|
+ OperateResult.AppendText(">>采集数据不可为空\n", Color.Red);
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
//如果录入框和工单号均有输入
|
|
//如果录入框和工单号均有输入
|
|
|
if (code.Text != "" && ma_code.Text != "" && sn_code.Text == "")
|
|
if (code.Text != "" && ma_code.Text != "" && sn_code.Text == "")
|
|
|
{
|
|
{
|