wxw
3 天以前 9335b068994ded46e7844d81967a12eb652f77ef
Wms/Utility/Tools/HttpHelper.cs
@@ -217,14 +217,35 @@
                //修改参数的值
                foreach (var de in Pars)
                {
                    string subNode = "DataList/Product/Batch";// + de.Key.ToString();
                    string subNode = "DataList/Events/Event/Relation/Batch";// + de.Key.ToString();
                    
                    XmlNode node = xml.SelectSingleNode(subNode, nsmgr);
                    if (de != null)
                    {
                        XmlNode createNode = xml.CreateNode(XmlNodeType.Element, "Data", "");
                        XmlAttribute attr = xml.CreateAttribute("code");
                        attr.Value = de;
                        XmlAttribute attr = xml.CreateAttribute("Code");  //箱码
                        attr.Value = de.Split(",")[0];
                        createNode.Attributes.Append(attr);
                        attr = xml.CreateAttribute("CorpOrderID");   //单据号
                        attr.Value = de.Split(",")[1];
                        createNode.Attributes.Append(attr);
                        attr = xml.CreateAttribute("Actor");      //操作人
                        attr.Value = de.Split(",")[2];
                        createNode.Attributes.Append(attr);
                        attr = xml.CreateAttribute("ActDate");     //操作时间
                        attr.Value = de.Split(",")[3];
                        createNode.Attributes.Append(attr);
                        attr = xml.CreateAttribute("DisCorpID");  //运输企业
                        attr.Value = "";
                        createNode.Attributes.Append(attr);
                        attr = xml.CreateAttribute("AssCorpID");   //委托企业
                        attr.Value = "";
                        createNode.Attributes.Append(attr);
                        attr = xml.CreateAttribute("ToCorpID");  // 下游收货企业编号
                        attr.Value = "";
                        createNode.Attributes.Append(attr);
                        attr = xml.CreateAttribute("FromPerson");//发货人
                        attr.Value = "";   //de.Split(",")[2]
                        createNode.Attributes.Append(attr);
                        node.AppendChild(createNode);
                    }