staffCollectMonthDetail.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <!-- include 'header' -->
  2. <script type="text/javascript" src="<?= receipt ?>"></script>
  3. <link rel=stylesheet href="<?= WEB_SITE_GLOBAL ?>css/fixedheadertable.css">
  4. <script src="<?= WEB_SITE_GLOBAL ?>js/jquery.fixedheadertable.js"></script>
  5. <body>
  6. <div class="mainLayout">
  7. <div class="mainMenu">
  8. <div class="menuItem">
  9. <a href="#" class="mLogo">CLD</a>
  10. <ul>
  11. <!-- include 'menuReceipt' -->
  12. </ul>
  13. </div>
  14. </div>
  15. <div class="warpContent">
  16. <div class="subMenu fL">
  17. <div class="menuItem">
  18. <ul>
  19. <!-- include 'receipt_menu' -->
  20. </ul>
  21. </div>
  22. </div>
  23. <div class="adminContent autoHeight" style="height: 821px;">
  24. <legend><div class="fL"></div>员工每月报销单费用详情</legend>
  25. <div class="demandCate">
  26. <form action="/staffCollectMonthDetail" id="up" method="post">
  27. <ul class="cateList">
  28. <li><a href="/companyCategoryCollect">按办事处</a><a href="#" class="now">按员工</a></li>
  29. <li><select name="year" id="Y" onchange="receiptYear();">
  30. <!-- include 'year' -->
  31. </select>
  32. <select name="month" id="M" onchange="receiptYear();">
  33. {{monthHtml}}
  34. </select>
  35. <select name="nature" id="Y" onchange="receiptYear();">
  36. <option <!-- if {{nature}}=='ONJOB' --> selected <!-- endif --> value="ONJOB" >在职</option>
  37. <option <!-- if {{nature}}=='LEAVEJOB' --> selected <!-- endif --> value="LEAVEJOB">离职</option>
  38. </select>
  39. </li>
  40. <li><b>{{month}}月</b>报销总计:¥{{stList.rePrice}}</li>
  41. <li><b>{{month}}月</b>同意支付:<span class="colGreen">¥{{stList.agPrice}}</span></li>
  42. <li><b>{{month}}月</b>审批中:¥{{stList.skPrice}}</li>
  43. </ul>
  44. </form>
  45. </div>
  46. <div class="saeaList">
  47. <div class="entry autoHeightI2">
  48. <script type="text/javascript">$(document).ready(function() {
  49. $('#saeaTable').fixedHeaderTable({ fixedColumns:2 });
  50. });</script>
  51. <table class="table table-bordered table-condensed table-hover fancyTable" id="saeaTable">
  52. <thead>
  53. <tr>
  54. <th class="taC" rowspan="3">员工/费用项</th>
  55. <th class="taC" rowspan="3">{{year}}年{{month}}月费用合计</th>
  56. <th class="taC" colspan="{{countArray(aiList.日常相关费用,1)}}">日常相关费用</th>
  57. <th class="taC" colspan="{{countArray(aiList.差旅相关费用,1)}}">差旅相关费用</th>
  58. <th class="taC" colspan="{{countArray(aiList.内部培训费用,1)}}">内部培训费用</th>
  59. <th class="taC" colspan="{{countArray(aiList.培训班费用,1)}}">培训班费用</th>
  60. <th class="taC" colspan="{{countArray(aiList.其他,1)}}">其他</th>
  61. <th class="taC" rowspan="2">报销金额调整</th>
  62. </tr>
  63. <tr>
  64. <th class="taC">合计</th>
  65. <!-- loop aiList.日常相关费用 -->
  66. <th class="taC">{{aiList' value.name}}</th>
  67. <!-- endloop -->
  68. <th class="taC">合计</th>
  69. <!-- loop aiList.差旅相关费用 -->
  70. <th class="taC">{{aiList' value.name}}</th>
  71. <!-- endloop -->
  72. <!-- //内部培训 -->
  73. <th class="taC">合计</th>
  74. <!-- loop aiList.内部培训费用 -->
  75. <th class="taC">{{aiList' value.name}}</th>
  76. <!-- endloop -->
  77. <th class="taC">合计</th>
  78. <!-- loop aiList.培训班费用 -->
  79. <th class="taC">{{aiList' value.name}}</th>
  80. <!-- endloop -->
  81. <th class="taC">合计</th>
  82. <!-- loop aiList.其他 -->
  83. <th class="taC">{{aiList' value.name}}</th>
  84. <!-- endloop -->
  85. </tr>
  86. <tr class="warning">
  87. <!-- loop monthPriceHtml -->
  88. {{monthPriceHtml' value}}
  89. <!-- endloop -->
  90. </tr>
  91. </thead>
  92. <tbody>
  93. <!-- loop list -->
  94. <tr>
  95. <!-- if {{list' value.usernameEn}} -->
  96. <th><a href="/receiptStatisticsStaffDetail?&username={{list' value.usernameEn}}&year={{year}}&month={{month}}" >{{list' key}}</a></th>
  97. <!-- else -->
  98. <th>{{list' key}}</th>
  99. <!-- endif -->
  100. <!-- loop list' value -->
  101. <!-- if {{list' value' key}}=='monthStaffPrice' -->
  102. {{list' value' value}}
  103. <!-- endif -->
  104. <!-- endloop -->
  105. <!-- loop list' value -->
  106. <!-- if {{list' value' key}}=='日常相关费用' -->
  107. {{list' value' value}}
  108. <!-- endif -->
  109. <!-- endloop -->
  110. <!-- loop list' value -->
  111. <!-- if {{list' value' key}}=='差旅相关费用' -->
  112. {{list' value' value}}
  113. <!-- endif -->
  114. <!-- endloop -->
  115. <!-- loop list' value -->
  116. <!-- if {{list' value' key}}=='内部培训费用' -->
  117. {{list' value' value}}
  118. <!-- endif -->
  119. <!-- endloop -->
  120. <!-- loop list' value -->
  121. <!-- if {{list' value' key}}=='培训班费用' -->
  122. {{list' value' value}}
  123. <!-- endif -->
  124. <!-- endloop -->
  125. <!-- loop list' value -->
  126. <!-- if {{list' value' key}}=='其他' -->
  127. {{list' value' value}}
  128. <!-- endif -->
  129. <!-- endloop -->
  130. <!-- loop list' value -->
  131. <!-- if {{list' value' key}}=='报销金额调整' -->
  132. {{list' value' value}}
  133. <!-- endif -->
  134. <!-- endloop -->
  135. </tr>
  136. <!-- endloop -->
  137. </tbody>
  138. </table>
  139. </div>
  140. </div>
  141. </div>
  142. </div>
  143. <script type="text/javascript">autoFlashHeight();</script>
  144. </body>