Browse Source

不更新重量信息

callm 3 weeks ago
parent
commit
59b917b091
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UAS_MES_LGDZ/FunctionCode/Packing/Packing_CartonBoxWeigh.cs

+ 1 - 1
UAS_MES_LGDZ/FunctionCode/Packing/Packing_CartonBoxWeigh.cs

@@ -192,7 +192,7 @@ namespace UAS_MES_NEW.Packing
                         OperateResult.AppendText(">>" + ErrorMessage + "\n", Color.Red, outboxcode);
                         return;
                     }
-                    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_status=1,pa_packageqty=pa_currentqty,pa_totalqty=pa_currentqty", "pa_outboxcode='" + outboxcode.Text + "'");
                     dh.UpdateByCondition("package", "pa_nextstep='" + dh.getFieldDataByCondition("packagedetail left join makeserial on ms_sncode=pd_barcode and ms_makecode=pd_makecode", "max(ms_nextstepcode)", "pd_outboxcode='" + outboxcode.Text + "'").ToString() + "' ,PA_CURRENTSTEP = '' ", "pa_outboxcode='" + outboxcode.Text + "'");
                     LoadCheckQTY();
                     outboxcode.Clear();