|
|
@@ -353,11 +353,11 @@ namespace UAS_MES.Make
|
|
|
sn_code.Clear();
|
|
|
if (int.Parse(pa_currentqty.Text == "" ? "0" : pa_currentqty.Text) == int.Parse(pr_outboxinnerqty.Text))
|
|
|
{
|
|
|
- dh.UpdateByCondition("package", "pa_status=1,pa_totalqty=pa_currentqty,pa_packageqty=pa_currentqty,pa_weight='" + weight + "'", "pa_outboxcode='" + pa_outboxcode.Text + "'");
|
|
|
+ float weigh = float.Parse(weight.Text.Replace("kg", "").Trim());
|
|
|
+ dh.UpdateByCondition("package", "pa_status=1,pa_totalqty=pa_currentqty,pa_packageqty=pa_currentqty,pa_weight=" + weight + "", "pa_outboxcode='" + pa_outboxcode.Text + "'");
|
|
|
pa_standardqty.Text = "";
|
|
|
pa_status.Text = "1";
|
|
|
OperateResult.AppendText(">>箱号" + pa_outboxcode.Text + "满箱封箱成功\n", Color.Green);
|
|
|
- float weigh = float.Parse(weight.Text.Replace("kg", "").Trim());
|
|
|
if (PR_CHECKCARTONW != "0")
|
|
|
{
|
|
|
if (!(weigh >= MinWeight && weigh <= MaxWeight))
|