|
|
@@ -406,9 +406,6 @@ namespace UAS_MES.Make
|
|
|
private void pr_code_TextChanged(object sender, EventArgs e)
|
|
|
{
|
|
|
LoadCheckQTY();
|
|
|
- pa_outboxcode.MakeCode = pa_makecode.Text;
|
|
|
- pa_outboxcode.ProdCode = pr_code.Text;
|
|
|
- pa_outboxcode.Caller = "PACKAGE";
|
|
|
dt = (DataTable)dh.ExecuteSql("select la_id,substr(la_url,instr(la_url,'\\',-1)+1)la_name,la_url,la_isdefault from label where la_prodcode='" + pr_code.Text + "' and la_templatetype='卡通箱标' and la_statuscode='AUDITED' order by la_isdefault", "select");
|
|
|
PrintLabel.DataSource = dt;
|
|
|
PrintLabel.DisplayMember = "la_name";
|
|
|
@@ -452,7 +449,7 @@ namespace UAS_MES.Make
|
|
|
float weigh = float.Parse(weight.Text.Replace("kg", "").Trim());
|
|
|
if (!(weigh > MinWeight && weigh < MaxWeight))
|
|
|
{
|
|
|
- OperateResult.AppendText(">>箱号" + pa_outboxcode.Text + "重量不符合标准重量\n", Color.Red);
|
|
|
+ OperateResult.AppendText(">>箱号" + pa_outboxcode.Text + "重量不符合标准重量,不能完成工序过站\n", Color.Red);
|
|
|
return;
|
|
|
}
|
|
|
}
|