<td style=”width:10%”>认缴出资额</td>
<td style=”width:10%”>实缴出资额</td>
<td style=”width:10%”>出资比例</td>
<td style=”width:15%”>余额缴付期限</td>
<td style=”width:15%”>资料是否完整</td>
<td style=”width:10%”>操作</td>
</tr>
</thead>
<tbody id=”tbody_Data”></tbody>
<tfoot id=”tfoot_foot”>
<tr align=”right”>
<td style=”width:100%” colspan=”9″>
<a href=”#” id=”First_A”>首页</a>
<a href=”#” id=”Prev_A”>上一页</a>
<a href=”#” id=”Next_A”>下一页</a>
<a href=”#” id=”Last_A”>尾页</a>
跳到<input id=”ToPageNo” type=”text” style=”width:20px; height:10px; font-size:9px”/>页 |
总页数:<span id=”showTotalPage” style=”color:Red”></span>页
</td>
</tr>
</tfoot>
</table>
填充数据的js函数:
代码
//引导数据填充表格(Table)
function Load_TableData(FlowID,CurrentPage)
{
$.ajax({
type: “POST”,
url: IPServer +”JsonService.asmx/Load_ContributivePerson_Table”,
data:”{FlowID:'”+FlowID+”‘,PageCount:”+PageCount+”,CurrentPage:” + CurrentPage +”}” ,
contentType: “application/json; charset=utf-8”,
dataType: “json”,
success: function(msg){
msg = msg.replace(new RegExp(‘(^|[^])”/Date((-?[0-9]+))/”‘, ‘g’), “$1new Date($2)”);
var data = eval(“(” + msg + “)”);
var strTR=””;
var RowCount = 1;
jQuery.each(data, function(rec) {
strTR += “<TR id=’TR_” + RowCount + “‘ class=’MyTableTR’ align=’center’ >”;
strTR += ” <TD style=’width:1%; display:none’ id=’Key_”+RowCount+”‘ class=’MyTableTD’ >” + this.INVID + “</TD>”;
strTR += ” <TD style=’width:10%’ class=’MyTableTD’ >” + this.INVTYPEName + “</TD>”;
strTR += ” <TD style=’width:10%’ class=’MyTableTD’ >” + this.INV + “</TD>”;
strTR += ” <TD style=’width:10%’ class=’MyTableTD’ >” + this.CONFORM + “</TD>”;
strTR += ” <TD style=’width:10%’ class=’MyTableTD’ >” + this.SUBCONAM + “</TD>”;










