循环表格 最下面是 费用的汇总

<table id="indexTable" style="width: 100%; border-collapse: collapse;"
 cellspacing="0" cellpadding="1" border="0" width="100%">
 <tbody>
  <tr class="TableHeader" >
   <td class="TableHeaderCell" style="width: 25px">
    
   </td>
   <td class="TableHeaderCell" nowrap="nowrap">
    住院号
   </td>
   <td class="TableHeaderCell" nowrap="nowrap">
    姓名
   </td>
   <td class="TableHeaderCell" nowrap="nowrap">
    性别
   </td>
   <td class="TableHeaderCell" nowrap="nowrap">
    年龄
   </td>
   <td class="TableHeaderCell" nowrap="nowrap">
    病人类型
   </td>
   <td class="TableHeaderCell" nowrap="nowrap">
    未结算费用
   </td>
   <td class="TableHeaderCell" nowrap="nowrap">
    押金
   </td>
   <td class="TableHeaderCell" nowrap="nowrap">
    押金金额
   </td>
   <td class="TableHeaderCell" nowrap="nowrap">
    住院科室
   </td>
   <td class="TableHeaderCell" nowrap="nowrap">
    床号
   </td>
   <td class="TableHeaderCell" nowrap="nowrap">
    入院日期
   </td>
   <td class="TableHeaderCell" nowrap="nowrap">
    出院日期
   </td>
   <td class="TableHeaderCell" nowrap="nowrap">
    住院天数
   </td>
   <td class="TableHeaderCell" nowrap="nowrap">
    单病种
   </td>
   <td class="TableHeaderCell" nowrap="nowrap">
    自费金额
   </td>
   <td class="TableHeaderCell" nowrap="nowrap">
    总金额
   </td>
  </tr>
  <c:forEach items="${indexTableList}" var="result" varStatus="s">
   <tr class="TableRow" oldclass="TableRow"
    hospid="${result.HOSPID}"
    hospcode="${result.HOSPCODE}"
    οnclick="javascript:RowSelectWindow(this);"
    οndblclick="javascript:dblClick(this)"
    οnmοuseοver="javascript:if (this.className!='TableRowSelected') this.className='TableRowOver'"
    οnmοuseοut="javascript:if (this.className!='TableRowSelected') this.className='TableRow'" >
    <td class="TableCellIndex" nowrap="nowrap">
     <c:out value="${s.index+1}"></c:out>
    </td>
    <td nowrap="nowrap" class="TableCell" >
     <c:out value="${result.HOSPCODE}"></c:out>
    </td>
    <td nowrap="nowrap" class="TableCell" >
     <c:out value="${result.NAME}"></c:out>
     <c:if test="${result.CPBS == 1 }"><font color="blue"><b>[CP]</b></font></c:if>
     <c:if test="${result.ISDBZ == 1}"><font color="#8A2BE2"><b>[D]</b></font></c:if>
    </td>
    <td nowrap="nowrap" class="TableCell" >
     <c:out value="${result.SEX}"></c:out>
    </td>
    <td nowrap="nowrap" class="TableCell" >
     <c:out value="${result.AGE}"></c:out>
    </td>
    <td nowrap="nowrap" class="TableCell" >
     <c:out value="${result.PATITYPENAME}"></c:out>
    </td>
    <td nowrap="nowrap" class="TableCell" align="right">
     <c:out value="${result.NOPAYMENT}"></c:out>
    </td>
    <td nowrap="nowrap" class="TableCell" align="right">
     <c:out value="${result.TOTALPRICE}"></c:out>
    </td>
    <td nowrap="nowrap" class="TableCell" align="right">
     <c:out value="${result.TOTALPRICE-result.NOPAYMENT}"></c:out>
    </td>
    <td nowrap="nowrap" class="TableCell" >
     <c:out value="${result.OFFICENAME}"></c:out>
    </td>
    <td nowrap="nowrap" class="TableCell" >
     <c:out value="${result.CWH}"></c:out>
    </td>
    <td nowrap="nowrap" class="TableCell" >
     <c:out value="${result.HOSPDATE}"></c:out>
    </td>
    <td nowrap="nowrap" class="TableCell" >
     <c:out value="${result.OUTDATE}"></c:out>
    </td>
    <td nowrap="nowrap" class="TableCell" >
     <c:out value="${result.INDAY}"></c:out>
    </td>
    <td nowrap="nowrap" class="TableCell" >
     <c:out value="${result.ZDY_NAME}"></c:out>
    </td>
    <td nowrap="nowrap" class="TableCell" align="right">
     <c:out value="${result.BZZFJE}"></c:out>
    </td>
    <td nowrap="nowrap" class="TableCell" align="right">
     <c:out value="${result.BZZJE}"></c:out>
    </td>
   </tr>
  </c:forEach>
  <tr class="TableRow" oldclass="TableRow"  >
    <td class="TableCellIndex" nowrap="nowrap">
    </td>
    <td nowrap="nowrap" class="TableCell" >
     <b>合计:</b>
    </td>
    <td nowrap="nowrap" class="TableCell" align="right">
     <b><c:out value="${totalPatinfoNum }"></c:out> 人</b>
    </td>
    <td nowrap="nowrap" class="TableCell" >
    </td>
    <td nowrap="nowrap" class="TableCell" >
    </td>
    <td nowrap="nowrap" class="TableCell" >
    </td>
    <td nowrap="nowrap" class="TableCell" align="right">
     <b><c:out value="${hashMapSum.NOPAYMENTSUM }"></c:out></b>
    </td>
    <td nowrap="nowrap" class="TableCell" align="right">
     <b><c:out value="${hashMapSum.TOTALPRICESUM }"></c:out></b>
    </td>
    <td nowrap="nowrap" class="TableCell" align="right">
     <b><c:out value="${hashMapSum.YUESUM }"></c:out></b>
    </td>
    <td nowrap="nowrap" class="TableCell" >
    </td>
    <td nowrap="nowrap" class="TableCell" >
    </td>
    <td nowrap="nowrap" class="TableCell" >
    </td>
    <td nowrap="nowrap" class="TableCell" >
    </td>
    <td nowrap="nowrap" class="TableCell" >
    </td>
    <td nowrap="nowrap" class="TableCell" >
    </td>
    <td nowrap="nowrap" class="TableCell" align="right">
    </td>
    <td nowrap="nowrap" class="TableCell" align="right">
    </td>
   </tr>
 </tbody>
</table>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值