日期:2014-05-17 浏览次数:20803 次
$.ajax({ type: "get", url: "queryDownLineProdInfo.do", dataType: "json", data:"prodCode="+pCode+"&beginTime="+$("#beginTime").val()+"&endTime="+$("#endTime").val(), contentType: "application/json; charset=utf-8", beforeSend:loading, success: function (data) { var resultMarket=""; resultMarket+=' <tr>'; resultMarket+='<th><s:text name="shId"/></th>'; resultMarket+='<th><s:text name="loginName"/></th>'; resultMarket+='<th><strong><s:text name="tradeCount" /></strong></th>'; resultMarket+='<th><strong><s:text name="tradeAmount" /></strong></th>'; resultMarket+='<th><strong><s:text name="meValidTradeAmount" /></strong></th>'; resultMarket+='<th><strong><s:text name="meOverallPL" /></strong></th>'; resultMarket+='<th><strong><s:text name="shPlEarned" /></strong></th>'; resultMarket+='<th><strong><s:text name="shPlToUpline" /></strong></th>'; resultMarket+='<th><strong><s:text name="spreadEarned" /></strong></th>'; resultMarket+='<th><strong><s:text name="swapEarned" /></strong></th>'; resultMarket+='<th><strong><s:text name="swapToUpline" /></strong></th>'; resultMarket+='<th><strong><s:text name="handleFeeEarned" /></strong></th>'; resultMarket+='<th><strong><s:text name="handleFeeToUpline" /></strong></th>'; resultMarket+='<th><strong><s:text name="shTotalIncomeAmount" /></strong></th>'; resultMarket+='<th><strong><s:text name="shToUplineTotalAmount" /></strong></th>'; resultMarket+='<th><strong><s:text name="pl" /></strong></th>'; $.each(data, function (i, v) { //这里开始循环td就可以了 }); $("#result").html(resultMarket); }) } });