|
|
@@ -331,7 +331,7 @@ namespace UAS_MES.Make
|
|
|
{
|
|
|
ActWeigh = weight.Text == "" ? "0" : weight.Text.Replace("kg", "").Trim();
|
|
|
float weigh = float.Parse(ActWeigh);
|
|
|
- dh.UpdateByCondition("package", "pa_status=1,pa_packageqty=pa_currentqty,pa_weight='" + weight.Text + "'", "pa_outboxcode='" + pa_outboxcode.Text + "'");
|
|
|
+ dh.UpdateByCondition("package", "pa_status=1,pa_packageqty=pa_currentqty,pa_weight='" + weigh + "'", "pa_outboxcode='" + pa_outboxcode.Text + "'");
|
|
|
pa_standardqty.Text = "";
|
|
|
pa_status.Text = "1";
|
|
|
OperateResult.AppendText(">>箱号" + pa_outboxcode.Text + "满箱封箱成功\n", Color.Green);
|