Browse Source

vivo标签传回格式不正确解决

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

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

@@ -11,7 +11,6 @@ using LabelManager2;
 using UAS_LabelMachine.PublicMethod;
 using UAS_LabelMachine.PublicMethod;
 using UAS_LabelMachine.Entity;
 using UAS_LabelMachine.Entity;
 using UAS_特殊解析规则;
 using UAS_特殊解析规则;
-using UAS_LabelMachine.CustomControl.GroupBoxWithBorder;
 using UAS_LabelMachine.PublicForm;
 using UAS_LabelMachine.PublicForm;
 using System.Threading;
 using System.Threading;
 using System.IO;
 using System.IO;
@@ -2403,8 +2402,8 @@ namespace UAS_LabelMachine
                             string OrderCode = LabelInf.Rows[i].Cells["pr_vendprodcode"].Value.ToString();
                             string OrderCode = LabelInf.Rows[i].Cells["pr_vendprodcode"].Value.ToString();
                             string custprodcode = LabelInf.Rows[i].Cells["pd_custprodcode"].Value.ToString();
                             string custprodcode = LabelInf.Rows[i].Cells["pd_custprodcode"].Value.ToString();
                             //通过接口获取Vivo料盘号
                             //通过接口获取Vivo料盘号
-                            string custbarcode = getPlateID.getCompID(Createcode, "", custprodcode, VenderCode, LotNo, DateCode, amount, OrderCode, "", "");
-                            LabelInf.Rows[i].Cells["pib_cusbarcode"].Value = custbarcode.Replace("T-", "");
+                            string custbarcode = getPlateID.getCompID(Createcode, "", custprodcode, VenderCode, LotNo, DateCode, amount, OrderCode, "", "").Replace("T-", "");
+                            LabelInf.Rows[i].Cells["pib_cusbarcode"].Value = custbarcode;
                             //如果下一行的外箱号和当前行不一致
                             //如果下一行的外箱号和当前行不一致
                             bool NextBoxDiff = false;
                             bool NextBoxDiff = false;
                             //通过接口维护料盘和外箱关系,需要根据箱内容量计算
                             //通过接口维护料盘和外箱关系,需要根据箱内容量计算