callm 15 часов назад
Родитель
Сommit
c29974158f

+ 3 - 3
UAS-MES/CustomControl/TextBoxWithIcon/SnCollectionBox.cs

@@ -64,9 +64,9 @@ namespace UAS_MES.CustomControl.TextBoxWithIcon
                     int count = int.Parse(dh.getFieldDataByCondition("SNRELATION_VIEW", "count(1) cn", "sr_code='" + base.Text + "'").ToString());
                     if (sn == "" || count > 1)
                     {
-                        MessageBox.Show("SN:" + base.Text + "未找到关联信息");
-                        base.Text = "";
-                        return;
+                        //MessageBox.Show("SN:" + base.Text + "未找到关联信息");
+                        //base.Text = "";
+                        //return;
                     }
                     else
                     {

+ 2 - 2
UAS-MES/FunctionCode/Make/Make_ColorBoxLoadPrint.cs

@@ -125,8 +125,8 @@ namespace UAS_MES.Make
                             int count = int.Parse(dh.getFieldDataByCondition("SNRELATION_VIEW", "count(1) cn", "sr_code='" + code.Text + "'").ToString());
                             if (sn == ""|| count > 1)
                             {
-                                MessageBox.Show("SN:" + code.Text + "未找到关联信息");
-                                return;
+                                //MessageBox.Show("SN:" + code.Text + "未找到关联信息");
+                                //return;
                             }
                             else
                             {

+ 4 - 4
UAS-MES/FunctionCode/Make/Make_FeedingCollection.cs

@@ -139,8 +139,8 @@ namespace UAS_MES.Make
                                 int count = int.Parse(dh.getFieldDataByCondition("SNRELATION_VIEW", "count(1) cn", "sr_code='" + code.Text + "'").ToString());
                                 if (sn == "" || count > 1)
                                 {
-                                    MessageBox.Show("SN:" + code.Text + "未找到关联信息");
-                                    return;
+                                    //MessageBox.Show("SN:" + code.Text + "未找到关联信息");
+                                    //return;
                                 }
                                 else
                                 {
@@ -162,8 +162,8 @@ namespace UAS_MES.Make
                                 int count = int.Parse(dh.getFieldDataByCondition("SNRELATION_VIEW", "count(1) cn", "sr_code='" + code.Text + "'").ToString());
                                 if (sn == "" || count > 1)
                                 {
-                                    MessageBox.Show("SN:" + code.Text + "未找到关联信息");
-                                    return;
+                                    //MessageBox.Show("SN:" + code.Text + "未找到关联信息");
+                                    //return;
                                 }
                                 else
                                 {

+ 2 - 2
UAS-MES/FunctionCode/Make/Make_LabelCheck.cs

@@ -89,8 +89,8 @@ namespace UAS_MES.Make
                         int count = int.Parse(dh.getFieldDataByCondition("SNRELATION_VIEW", "count(1) cn", "sr_code='" + sncode.Text + "'").ToString());
                         if (sn == "" || count > 1)
                         {
-                            MessageBox.Show("SN:" + sncode.Text + "未找到关联信息");
-                            return;
+                            //MessageBox.Show("SN:" + sncode.Text + "未找到关联信息");
+                            //return;
                         }
                         else
                         {

+ 2 - 4
UAS-MES/FunctionCode/Make/Make_UpdateCollectCode.cs

@@ -85,16 +85,14 @@ namespace UAS_MES.Make
                 OperateResult.AppendText(">>" + inputValue.Text + "\n", Color.Black);
                 if (step == 0)
                 {
-
-
                     if (SystemInf.GetRelation)
                     {
                         string sn = dh.getFieldDataByCondition("SNRELATION_VIEW", "sr_sn", "sr_code='" + inputValue.Text + "'").ToString();
                         int count = int.Parse(dh.getFieldDataByCondition("SNRELATION_VIEW", "count(1) cn", "sr_code='" + inputValue.Text + "'").ToString());
                         if (sn == "" || count > 1)
                         {
-                            MessageBox.Show("SN:" + inputValue.Text + "未找到关联信息");
-                            return;
+                            //MessageBox.Show("SN:" + inputValue.Text + "未找到关联信息");
+                            //return;
                         }
                         else
                         {