修正错误
This commit is contained in:
@@ -96,13 +96,9 @@ namespace U8AppMain
|
|||||||
purchase.purchaseapp.header.code = row["请购单号"].ToString();
|
purchase.purchaseapp.header.code = row["请购单号"].ToString();
|
||||||
purchase.purchaseapp.header.date = row["请购日"].ToString();
|
purchase.purchaseapp.header.date = row["请购日"].ToString();
|
||||||
purchase.purchaseapp.header.departmentcode = row["部门编码"].ToString();
|
purchase.purchaseapp.header.departmentcode = row["部门编码"].ToString();
|
||||||
|
|
||||||
purchase.purchaseapp.header.personcode = row["请购人"].ToString();
|
purchase.purchaseapp.header.personcode = row["请购人"].ToString();
|
||||||
|
|
||||||
purchase.purchaseapp.header.purchasetypecode = row["采购类型编号"].ToString();
|
purchase.purchaseapp.header.purchasetypecode = row["采购类型编号"].ToString();
|
||||||
|
|
||||||
purchase.purchaseapp.header.maker = row["制单人"].ToString();
|
purchase.purchaseapp.header.maker = row["制单人"].ToString();
|
||||||
|
|
||||||
var strKey = purchase.purchaseapp.header.code;
|
var strKey = purchase.purchaseapp.header.code;
|
||||||
if (bomLookup.ContainsKey(strKey))
|
if (bomLookup.ContainsKey(strKey))
|
||||||
{
|
{
|
||||||
@@ -120,7 +116,6 @@ namespace U8AppMain
|
|||||||
}
|
}
|
||||||
foreach (var item in bomLookup.Values)
|
foreach (var item in bomLookup.Values)
|
||||||
{
|
{
|
||||||
|
|
||||||
var strbody = XmlHelper.XmlSerialize(item, Encoding.UTF8);
|
var strbody = XmlHelper.XmlSerialize(item, Encoding.UTF8);
|
||||||
var response = await HttpHelper.Post("", strbody);
|
var response = await HttpHelper.Post("", strbody);
|
||||||
this.textBox1.Text += response;
|
this.textBox1.Text += response;
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ namespace U8AppMain.Purchase
|
|||||||
|
|
||||||
//public decimal btaxcost { get; set; }
|
//public decimal btaxcost { get; set; }
|
||||||
|
|
||||||
//public decimal num { get; set; }
|
public string num { get; set; } = "";
|
||||||
|
|
||||||
|
|
||||||
//public string unitid { get; set; }
|
//public string unitid { get; set; }
|
||||||
@@ -56,7 +56,7 @@ namespace U8AppMain.Purchase
|
|||||||
//public string originalsum { get; set; }
|
//public string originalsum { get; set; }
|
||||||
|
|
||||||
|
|
||||||
//public string ivouchrowno { get; set; }
|
public int ivouchrowno { get; set; }
|
||||||
// <vendorcode />
|
// <vendorcode />
|
||||||
//<inventorycode>107001</inventorycode>
|
//<inventorycode>107001</inventorycode>
|
||||||
//<quantity>456</quantity>
|
//<quantity>456</quantity>
|
||||||
|
|||||||
Reference in New Issue
Block a user