" + rowindex.ToString() + " | ");
// rowindex++;
// var shopmd = slist.Find(n => n.ShopId == md.ShopId);
// if (shopmd != null)
// {
// html.Append("" + shopmd.PlatName +"|"+ shopmd.ShopName + " | ");
// }
// else
// html.Append(" | ");
// html.Append(""+md.PlatOrderCode+" | ");
// html.Append(""+md.JoinOrderCode+" | ");
// html.Append("" + md.CountryName + " | ");
// html.Append(""+md.OrderDate.Value.ToString("yyyy-MM-dd")+" | ");
// if(md.PostDate!=null)
// html.Append(""+md.PostDate.Value.ToString("yyyy-MM-dd")+" | ");
// else
// html.Append(" | ");
// html.Append(""+md.PostInfo+" | ");
// var gglist = glist.FindAll(n => n.OrderId == md.OrderId);
// decimal hwcb = 0;
// decimal tc = 0;
// decimal sf = 0;
// string ghtml = "";
// if (gglist != null)
// {
// foreach (var ggmd in gglist)
// {
// if (ggmd.GoodsFee != null)
// {
// hwcb += ggmd.GoodsFee.Value;
// if (ggmd.FeeRate != null)
// sf += ggmd.GoodsFee.Value * ggmd.FeeRate.Value / 100;
// }
// if (ggmd.TCFee != null)
// {
// tc += ggmd.TCFee.Value;
// }
// ghtml+=ggmd.GoodsCode + " " + ggmd.TypeDesc + "数量:"+ggmd.GoodsNum+";";
// if (ggmd.GoodsFee != null)
// {
// ghtml+="成本:" + (ggmd.GoodsFee.Value / USDRate).ToString("0.00") + ";";
// }
// else
// ghtml+="成本:0";
// if (ggmd.FeeRate != null)
// {
// ghtml += "税率:" + ggmd.FeeRate.Value + "%;
";
// // if (ggmd.GoodsFee != null)
// // ghtml += "税费:" + (ggmd.GoodsFee.Value * ggmd.FeeRate.Value / 100 / USDRate).ToString("0.00") +";";
// // else
// // ghtml += "税费:0;";
// }
// else
// {
// ghtml += "税率:0;
";
// // ghtml += "税费:0;";
// }
// //if (ggmd.TCFee != null)
// //{
// // ghtml += "头程:" + ggmd.TCFee.Value.ToString("0.00") + ";
";
// //}
// //else
// // ghtml += "头程:0;
";
// }
// }
// html.Append("" + ghtml + " | ");
// if (md.TotalPrice != null)
// {
// html.Append("" + md.TotalPrice + " | ");
// Lr += md.TotalPrice.Value;
// hj1 += md.TotalPrice.Value;
// }
// else
// html.Append("0 | ");
// if (hwcb > 0)
// {
// if(md.Fee2!=null)
// html.Append("" + md.Fee2.Value.ToString("0.00") + " | ");
// else
// html.Append("" + (hwcb / USDRate).ToString("0.00") + " | ");
// hj2 += hwcb / USDRate;
// }
// else
// html.Append("0 | ");
// // html.Append(" | ");
// if (sf > 0)
// {
// html.Append("" + (sf / USDRate).ToString("0.00") + " | ");
// hj3 += sf / USDRate;
// }
// else
// html.Append("0 | ");
// if (md.Fee3 != null)
// {
// tc = md.Fee3.Value;
// }
// if (tc > 0)
// {
// html.Append("" + tc.ToString("0.00") + " | ");
// Lr -= tc;
// hj4 += tc;
// }
// else
// html.Append("0 | ");
// if (md.Fee2 != null)
// {
// html.Append("" + (md.Fee2.Value).ToString("0.00") + " | ");
// hj51 += md.Fee2.Value;
// }
// else
// html.Append("0 | ");
// if (md.PostFee != null)
// {
// html.Append("" + (md.PostFee.Value).ToString("0.00") + " | ");
// Lr -= md.PostFee.Value;
// hj5 += md.PostFee.Value;
// }
// else
// html.Append("0 | ");
// if (md.PostFee != null)
// {
// html.Append("" + (md.PostFee.Value * YJRate/100).ToString("0.00") + " | ");
// Lr -= md.PostFee.Value * YJRate/100;
// hj6+= md.PostFee.Value * YJRate/100;
// }
// else
// html.Append("0 | ");
// if (md.GDFee != null)
// {
// html.Append("" + md.GDFee.Value + " | ");
// Lr -= md.GDFee.Value;
// hj7 += md.GDFee.Value;
// }
// else
// html.Append("0 | ");
// Lr -= hwcb / USDRate;
// Lr -= sf / USDRate;
// html.Append("" + Lr.Value.ToString("0.00") + " | ");
// hj8+= Lr.Value;
// if (Lr.Value > 0 && md.TotalPrice != null && md.TotalPrice>0)
// html.Append("" + ((Lr.Value / md.TotalPrice.Value)*100).ToString("0.00") + "% | ");
// else if (Lr.Value==0)
// html.Append("0% | ");
// if (Lr.Value < 0 && md.TotalPrice != null && md.TotalPrice > 0)
// html.Append("-" + ((Lr.Value*-1 / md.TotalPrice.Value) * 100).ToString("0.00") + "% | ");
// html.Append("
");
// }
// html.Append(" | ");
// html.Append(" | ");
// html.Append(" | ");
// html.Append(" | ");
// html.Append(" | ");
// html.Append(" | ");
// html.Append(" | ");
// html.Append(" | ");
// html.Append("合计: | ");
// html.Append(""+hj1.ToString("0.00")+" | ");
// html.Append("" + hj2.ToString("0.00") + " | ");
// // html.Append(" | ");
// html.Append("" + hj3.ToString("0.00") + " | ");
// html.Append("" + hj4.ToString("0.00") + " | ");
// html.Append("" + hj51.ToString("0.00") + " | ");
// html.Append("" + hj5.ToString("0.00") + " | ");
// html.Append("" + hj6.ToString("0.00") + " | ");
// html.Append("" + hj7.ToString("0.00") + " | ");
// html.Append("" + hj8.ToString("0.00") + " | ");
// if(hj8>0)
// html.Append("" + (hj8 / hj1 * 100).ToString("0.00") + "% | ");
// else if (hj8 == 0)
// html.Append("0% | ");
// else
// html.Append("-" + (hj8 * -1 / hj1 * 100).ToString("0.00") + "% | ");
// html.Append("
");
// }
// return html.ToString();
//}
//#endregion
#region 个人订单列表
[WebMethod(EnableSession = true)]
public JsonModel