循環表格 最下面是 費用的彙總

 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>
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章