|
|
@@ -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;
|