|
@ -108,10 +108,22 @@ namespace SCP.WarehouseData |
|
|
{ |
|
|
{ |
|
|
inv.PoLineNum = int.Parse(rowDataKeys[2].ToString());//订单行
|
|
|
inv.PoLineNum = int.Parse(rowDataKeys[2].ToString());//订单行
|
|
|
} |
|
|
} |
|
|
|
|
|
//inv.AsnBillNum = rowDataKeys[3].ToString();//发货单
|
|
|
|
|
|
if (rowDataKeys[3] != null) |
|
|
|
|
|
{ |
|
|
inv.AsnBillNum = rowDataKeys[3].ToString();//发货单
|
|
|
inv.AsnBillNum = rowDataKeys[3].ToString();//发货单
|
|
|
|
|
|
} |
|
|
inv.PartCode = rowDataKeys[4].ToString();//零件号
|
|
|
inv.PartCode = rowDataKeys[4].ToString();//零件号
|
|
|
inv.PartDesc1 = rowDataKeys[5].ToString();//零件名称
|
|
|
//inv.PartDesc1 = rowDataKeys[5].ToString();//零件名称
|
|
|
inv.Currency = rowDataKeys[6].ToString();//币种
|
|
|
if (rowDataKeys[5] != null) |
|
|
|
|
|
{ |
|
|
|
|
|
inv.PartDesc1 = rowDataKeys[5].ToString();//发货单
|
|
|
|
|
|
} |
|
|
|
|
|
//inv.Currency = rowDataKeys[6].ToString();//币种
|
|
|
|
|
|
if (rowDataKeys[6] != null) |
|
|
|
|
|
{ |
|
|
|
|
|
inv.Currency = rowDataKeys[6].ToString();//发货单
|
|
|
|
|
|
} |
|
|
if (rowDataKeys[7] != null) |
|
|
if (rowDataKeys[7] != null) |
|
|
{ |
|
|
{ |
|
|
inv.Price = decimal.Parse(rowDataKeys[7].ToString());//单价
|
|
|
inv.Price = decimal.Parse(rowDataKeys[7].ToString());//单价
|
|
@ -208,8 +220,16 @@ namespace SCP.WarehouseData |
|
|
inv.AsnBillNum = rowDataKeys[3].ToString();//发货单
|
|
|
inv.AsnBillNum = rowDataKeys[3].ToString();//发货单
|
|
|
} |
|
|
} |
|
|
inv.PartCode = rowDataKeys[4].ToString();//零件号
|
|
|
inv.PartCode = rowDataKeys[4].ToString();//零件号
|
|
|
inv.PartDesc1 = rowDataKeys[5].ToString();//零件名称
|
|
|
//inv.PartDesc1 = rowDataKeys[5].ToString();//零件名称
|
|
|
inv.Currency = rowDataKeys[6].ToString();//币种
|
|
|
if (rowDataKeys[5] != null) |
|
|
|
|
|
{ |
|
|
|
|
|
inv.PartDesc1 = rowDataKeys[5].ToString(); |
|
|
|
|
|
} |
|
|
|
|
|
//inv.Currency = rowDataKeys[6].ToString();//币种
|
|
|
|
|
|
if (rowDataKeys[6] != null) |
|
|
|
|
|
{ |
|
|
|
|
|
inv.Currency = rowDataKeys[6].ToString(); |
|
|
|
|
|
} |
|
|
if (rowDataKeys[7] != null) |
|
|
if (rowDataKeys[7] != null) |
|
|
{ |
|
|
{ |
|
|
inv.Price = decimal.Parse(rowDataKeys[7].ToString());//单价
|
|
|
inv.Price = decimal.Parse(rowDataKeys[7].ToString());//单价
|
|
|