function getPrintDetailBySheetId(sheet_id){
var url = "<%=_base%>/agent/cimAgentSett!getPrintDetailPPBySheetId.so?sheet_id="+sheet_id;
openwin(url,900,500);
}
<table id="sortTable" width="100%" cellpadding="0" cellspacing="0">
<THEAD>
<tr>
<!-- nowrap 属性规定表头单元格中的内容不换行-->
<!-- 用th标签把表格头的内容显示在其中-->
<th nowrap οnclick="sort()">
申领单编号
</th>
<th nowrap οnclick="sort()">
收款单位
</th>
<th nowrap οnclick="sort()">
申请项目
</th>
<th nowrap οnclick="sort()">
开始帐期
</th>
<th nowrap οnclick="sort()">
结束帐期
</th>
<th nowrap οnclick="sort()">
返利金额
</th>
<th nowrap οnclick="sort()">
填单日期
</th>
<th nowrap οnclick="sort()">
状态
</th>
<th nowrap οnclick="sort()">
支付方式
</th>
<th nowrap οnclick="sort()">
备注
</th>
<th nowrap>
操作
</th>
</tr>
</THEAD>
<TBODY>
<%
int i = 0;
%>
<s:iterator value="cimApplySheets">
<tr>
<td nowrap>
<a
href="javascript:getPrintDetailBySheetId(<s:property value='sheet_id'/>);">
<!-- 这里href的书写格式:点击这个链接会调用js函数getPrintDetailBySheetId(传递的参数值)-->
<s:property value="sheet_id" /> </a>
</td>
<td nowrap align="center">
<s:property value="agentName" />
</td>
<td nowrap align="center">
<ai:write name="projectId" dictId="CIM_APPLY_PROJECT"></ai:write>
</td>
<td nowrap align="center">
<s:property value="makeMonthStart" />
</td>
<td nowrap align="center">
<s:property value="makeMonthEnd" />
</td>
<td nowrap align="center">
<s:property value="payMoney"/>
<!--埋一个返利金额的数据-->
<input type="hidden" value='<s:property value="payMoney"/>' name="payMoneyc"/>
</td>
<td nowrap align="center">
<s:date name="dcreate_time" format="yyyy-MM-dd" />
</td>
<td nowrap align="center">
<ai:write name="status" dictId="CIM_STATUS"></ai:write>
</td>
<td nowrap align="center">
<s:property value="is_send_zg_name" /><!--支付方式-->
</td>
<td nowrap align="center">
<s:property value="send_reason" />><!--备注-->
</td>
<td nowrap align="center">><!--操作-->
<input name="Submit6" type="button" class="simpleButton"
value="备注" οnclick="addReason(<s:property value='sheet_id'/>)"
accesskey="R" title="快捷键ALT+R">
<input name="Submit1" type="button" class="simpleButton"
value="发票" οnclick="inc(<s:property value='sheet_id'/>)"
accesskey="I" title="快捷键ALT+F">
<input name="Submit2" type="button" class="simpleButton"
value="作废" οnclick="fail(<s:property value='sheet_id'/>)"
accesskey="F" title="快捷键ALT+P">
<s:if test="sendFlag==0">
<input name="Submit5" type="button" class="simpleButton"
value="发送" οnclick="send(<s:property value='sheet_id'/>);"
accesskey="S" title="快捷键ALT+S">
</s:if>
</td>
</tr>
<%
i++;
%>
</s:iterator>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td><b>小计:</b></td>
<td><b><span id="moneyXJ"></span></b></td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</TBODY>
</table>