|
|
@@ -328,7 +328,7 @@ namespace UAS_MES.Make
|
|
|
//检查重量合格
|
|
|
if (float.Parse(weight.Text) > MinWeight && float.Parse(weight.Text) < MaxWeight)
|
|
|
{
|
|
|
- dh.UpdateByCondition("package", "pa_status=1,pa_weight='" + weight.Text + "'", "pa_outboxcode='" + pa_outboxcode.Text + "'");
|
|
|
+ dh.UpdateByCondition("package", "pa_status=1,pa_packageqty=pa_currentqty,pa_weight='" + weight.Text + "'", "pa_outboxcode='" + pa_outboxcode.Text + "'");
|
|
|
pa_standardqty.Text = "";
|
|
|
pa_status.Text = "1";
|
|
|
OperateResult.AppendText(">>箱号" + pa_outboxcode.Text + "称量合格\n", Color.Green);
|