|
|
@@ -99,6 +99,7 @@ namespace UAS_MES.Make
|
|
|
if (dt.Rows.Count > 0)
|
|
|
{
|
|
|
//重量的临时变量
|
|
|
+ pr_code.Text = dt.Rows[0]["pr_code"].ToString();
|
|
|
string _weight = dt.Rows[0]["pr_colorboxgw"].ToString();
|
|
|
string _maxweight = dt.Rows[0]["pr_colorboxmaxw"].ToString();
|
|
|
string _minweight = dt.Rows[0]["pr_colorboxminw"].ToString();
|
|
|
@@ -125,7 +126,6 @@ namespace UAS_MES.Make
|
|
|
if (LogicHandler.CheckStepSNAndMacode(ms_makecode.Text, User.UserSourceCode, sncode.Text, User.UserCode, out oMakeCode, out oMsID, out ErrorMessage))
|
|
|
{
|
|
|
string nextstepcode = dh.getFieldDataByCondition("makeserial", "ms_nextstepcode", "ms_id='" + oMsID + "'").ToString();
|
|
|
- LoadCheckQTY();
|
|
|
if (nextstepcode != User.CurrentStepCode)
|
|
|
{
|
|
|
OperateResult.AppendText("<<序列号:" + sncode.Text + "下一工序是" + nextstepcode + ",不是当前岗位的工序\n", Color.Red, sncode);
|