修正错误

This commit is contained in:
admin
2020-12-18 16:55:56 +08:00
parent 9881320eda
commit a82c4d5096
2 changed files with 2 additions and 7 deletions

View File

@@ -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;

View File

@@ -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; }
// <vendorcode />
//<inventorycode>107001</inventorycode>
//<quantity>456</quantity>