diff --git a/U8AppMain/FrmMain.cs b/U8AppMain/FrmMain.cs index 35e24c8..61eea13 100644 --- a/U8AppMain/FrmMain.cs +++ b/U8AppMain/FrmMain.cs @@ -96,13 +96,9 @@ namespace U8AppMain purchase.purchaseapp.header.code = row["请购单号"].ToString(); purchase.purchaseapp.header.date = row["请购日"].ToString(); purchase.purchaseapp.header.departmentcode = row["部门编码"].ToString(); - purchase.purchaseapp.header.personcode = row["请购人"].ToString(); - purchase.purchaseapp.header.purchasetypecode = row["采购类型编号"].ToString(); - purchase.purchaseapp.header.maker = row["制单人"].ToString(); - var strKey = purchase.purchaseapp.header.code; if (bomLookup.ContainsKey(strKey)) { @@ -120,7 +116,6 @@ namespace U8AppMain } foreach (var item in bomLookup.Values) { - var strbody = XmlHelper.XmlSerialize(item, Encoding.UTF8); var response = await HttpHelper.Post("", strbody); this.textBox1.Text += response; diff --git a/U8AppMain/Purchase/EntryEnity.cs b/U8AppMain/Purchase/EntryEnity.cs index c2c9a01..083e0f3 100644 --- a/U8AppMain/Purchase/EntryEnity.cs +++ b/U8AppMain/Purchase/EntryEnity.cs @@ -36,7 +36,7 @@ namespace U8AppMain.Purchase //public decimal btaxcost { get; set; } - //public decimal num { get; set; } + public string num { get; set; } = ""; //public string unitid { get; set; } @@ -56,7 +56,7 @@ namespace U8AppMain.Purchase //public string originalsum { get; set; } - //public string ivouchrowno { get; set; } + public int ivouchrowno { get; set; } // //107001 //456