Parcourir la source

Merge branch 'master' of ssh://10.10.100.21/source/mes-client

callm il y a 6 ans
Parent
commit
d6f56af3ee

+ 1 - 0
UAS-MES/FunctionCode/Make/Make_SMTStencil.cs

@@ -110,6 +110,7 @@ namespace UAS_MES.Make
             else
             {
                 MessageBox.Show("钢网编号" + SU_DEVCODE.Text + "不存在或者未审核");
+                return;
             }
             //限制钢网使用的产品
             dt = (DataTable)dh.ExecuteSql("select 1 from STENILCANUSEPRO where sp_stcode='" + SU_DEVCODE.Text + "' and sp_prodcode='" + ma_prodcode.Text + "'", "select");

+ 1 - 0
UAS-MES/FunctionCode/Make/Make_SMTStockStencil.cs

@@ -138,6 +138,7 @@ namespace UAS_MES.Make
                     else
                     {
                         MessageBox.Show("钢网编号" + SU_DEVCODE1.Text + "不存在或者未审核");
+                        return;
                     }
                     string St_USECOUNT = dt.Rows[0]["St_USECOUNT"].ToString();
                     sql.Clear();