Browse Source

外箱号调整

章政 6 years ago
parent
commit
aac460f233
1 changed files with 1 additions and 2 deletions
  1. 1 2
      UAS-出货标签管理/UAS_出货标签管理.cs

+ 1 - 2
UAS-出货标签管理/UAS_出货标签管理.cs

@@ -2481,15 +2481,14 @@ namespace UAS_LabelMachine
                                     InBoxCount = OutboxCapacity.Value - 1;
                                 }
                             }
-                       
                             if (InBoxCount == OutboxCapacity.Value || NextBoxDiff)
                             {
                                 InBoxCount = 1;
                                 NextBoxDiff = false;
+                                outboxcode = BaseUtil.ToDictionary(getOutBox.getBoxID_20190403(VenderCode, custprodcode, amount.ToString(), OrderCode, "", VenderCode, pwd), "")["return_result"].ToString();
                             }
                             else
                                 InBoxCount = InBoxCount + 1;
-                            outboxcode = BaseUtil.ToDictionary(getOutBox.getBoxID_20190403(VenderCode, custprodcode, amount.ToString(), OrderCode, "", VenderCode, pwd), "")["return_result"].ToString();
                             //获取信息为T-表示成功获取了信息
                             string Message = getOutBox.BindReelToBox(outboxcode, custbarcode, VenderCode, pwd);
                             LabelInf.Rows[i].Cells["pib_cusoutboxcode"].Value = outboxcode;