浏览代码

SN清单生成

callm 1 年之前
父节点
当前提交
53fe73b20b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      UAS_MES_YD/FunctionCode/Query/Query_SN.cs

+ 1 - 1
UAS_MES_YD/FunctionCode/Query/Query_SN.cs

@@ -252,7 +252,7 @@ namespace UAS_MES_NEW.Query
                 pr_exbarcode = dt.Rows[0]["pr_exbarcode"].ToString();
                 ma_qty = dt.Rows[0]["ma_qty"].ToString();
             }
-            if (dh.getRowCount("makesnlist", "msl_makecode='" + ma_code.Text + "'") + ma_count.Value >= int.Parse(ma_qty))
+            if (dh.getRowCount("makesnlist", "msl_makecode='" + ma_code.Text + "'") + ma_count.Value > int.Parse(ma_qty))
             {
                 MessageBox.Show("工单号" + ma_code.Text + "生产序列号超出工单数");
                 return;