From a82c4d50964a25163e05de70112af50276874a78 Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 18 Dec 2020 16:55:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- U8AppMain/FrmMain.cs | 5 ----- U8AppMain/Purchase/EntryEnity.cs | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) 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