Browse Source

Merge branch 'master' of ssh://10.10.100.21/source/mes-client

Hcsy 8 years ago
parent
commit
ec781ac843
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UAS-MES/FunctionCode/Packing/Packing_CartonSplit.cs

+ 1 - 1
UAS-MES/FunctionCode/Packing/Packing_CartonSplit.cs

@@ -116,7 +116,7 @@ namespace UAS_MES.Packing
                     //更新序列号
                     dh.ExecuteSql("update makeserial set ms_outboxcode='' , ms_nextstepcode=ms_stepcode where ms_id='" + ms_id + "'", "update");
                     //更新箱内当前数量
-                    dh.ExecuteSql("update package set pa_currentqty=pa_currentqty-1 where pa_outboxcode='" + pa_outboxcode.Text + "'", "update");
+                    dh.ExecuteSql("update package set pa_currentqty=pa_currentqty-1,pa_status=0 where pa_outboxcode='" + pa_outboxcode.Text + "'", "update");
                     //记录拆箱操作日志
                     LogicHandler.DoCommandLog(Tag.ToString(), User.UserCode, packtype.Text, User.UserLineCode, User.UserSourceCode, "卡通箱拆箱", "卡通箱拆箱成功,序列号:" + sncode.Text + ",箱号:" + pa_outboxcode.Text, sncode.Text, "");
                     //提示拆箱成功