|
|
@@ -143,6 +143,7 @@ namespace UAS_MES_NEW.Make
|
|
|
// OperateResult.AppendText("<<序列号:" + sncode.Text + "下一工序是" + nextstepcode + ",不是当前岗位的工序\n", Color.Red, sncode);
|
|
|
// return;
|
|
|
//}
|
|
|
+
|
|
|
sql.Clear();
|
|
|
sql.Append("select ms_makecode ma_code,ma_qty,ma_salecode,pr_detail pr_spec,pr_colorboxunit,pr_code,pr_colorboxgw,");
|
|
|
sql.Append("pr_colorboxunit,pr_colorboxmaxw,pr_colorboxminw,nvl(PR_CHECKCOLORBOXW,'0') PR_CHECKCOLORBOXW,nvl(pr_sendchecktype,'LineCode')");
|
|
|
@@ -151,6 +152,7 @@ namespace UAS_MES_NEW.Make
|
|
|
dt = (DataTable)dh.ExecuteSql(sql.GetString(), "select");
|
|
|
if (dt.Rows.Count > 0)
|
|
|
{
|
|
|
+ dh.ExecuteSql("update makeimeilist set mil_makecode='"+oMakeCode+"' where mil_sncode='"+sncode.Text+"' and mil_makecode is null", "update");
|
|
|
//重量的临时变量
|
|
|
pr_code.Text = dt.Rows[0]["pr_code"].ToString();
|
|
|
string _weight = dt.Rows[0]["pr_colorboxgw"].ToString();
|