Browse Source

锦州代码修改

master
TML 4 years ago
parent
commit
eedb38f43f
  1. 30
      SCP/Views/WarehouseData/SCP_INVOICE_RECVICE.aspx.cs
  2. 2
      SCP/Views/WarehouseData/SCP_RECEIVE.aspx.cs

30
SCP/Views/WarehouseData/SCP_INVOICE_RECVICE.aspx.cs

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

2
SCP/Views/WarehouseData/SCP_RECEIVE.aspx.cs

@ -171,7 +171,7 @@ namespace SCP.WarehouseData
}
string roleID = GetSelectedDataKey(Grid_V_TB_RECEIVE, 1);
string url = String.Format("../WarehouseData/SCP_RECEIVE_DETAIL.aspx?ID={0}&STATE={1}", roleID, STATE);
string url = String.Format("../WarehouseData/SCP_RECEIVE.aspx?ID={0}&STATE={1}", roleID, STATE);
PageContext.RegisterStartupScript(Window1.GetShowReference(url));
}
//查询

Loading…
Cancel
Save