|
|
@@ -133,7 +133,7 @@ namespace UAS_MES_NEW.Packing
|
|
|
double ActualWeight = double.Parse(weight.Text == "" ? "0" : weight.Text.Replace("kg", "").Trim());
|
|
|
//需要检查称重重量
|
|
|
|
|
|
- dh.UpdateByCondition("package", "pa_printcount= nvl(pa_printcount,0)+1,pa_weight='" + ActualWeight + "',pa_status=1,pa_packageqty=pa_currentqty,pa_totalqty=pa_currentqty", "pa_outboxcode='" + outboxcode.Text + "'");
|
|
|
+ //dh.UpdateByCondition("package", "pa_printcount= nvl(pa_printcount,0)+1,pa_weight='" + ActualWeight + "',pa_status=1,pa_packageqty=pa_currentqty,pa_totalqty=pa_currentqty", "pa_outboxcode='" + outboxcode.Text + "'");
|
|
|
if (AutoPrint.Checked)
|
|
|
{
|
|
|
if (PrintLabel.Items.Count > 0)
|
|
|
@@ -145,6 +145,12 @@ namespace UAS_MES_NEW.Packing
|
|
|
OperateResult.AppendText(">>产品" + pr_code.Text + "未维护卡通标签\n", Color.Red);
|
|
|
}
|
|
|
}
|
|
|
+ ListViewItem lsi = new ListViewItem();
|
|
|
+ lsi.SubItems.Add(outboxcode.Text);
|
|
|
+ lsi.SubItems.Add(ActualWeight.ToString() + pr_cartonunit.Text);
|
|
|
+ lsi.SubItems.Add(System.DateTime.Now.ToString());
|
|
|
+ WeighRecord.Items.Add(lsi);
|
|
|
+ OperateResult.AppendText(">>箱号" + outboxcode.Text + "称重完成\n", Color.Green);
|
|
|
if (!LogicHandler.OutBoxStepPass(outboxcode.Text, ma_code.Text, User.UserSourceCode, User.UserCode, "卡通箱:" + outboxcode.Text + "整箱过站", "卡通箱整箱过站", out ErrorMessage))
|
|
|
{
|
|
|
OperateResult.AppendText(">>" + ErrorMessage + "\n", Color.Red, outboxcode);
|