saeaBorad.php 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. <?php include Doo::conf()->SITE_PATH . Doo::conf()->PROTECTED_FOLDER . "viewc//admin/header.php"; ?>
  2. <body>
  3. <div class="mainLayout">
  4. <div class="mainMenu">
  5. <div class="menuItem">
  6. <a href="/" class="mLogo">CLD</a>
  7. <ul>
  8. <?php include Doo::conf()->SITE_PATH . Doo::conf()->PROTECTED_FOLDER . "viewc//admin/menuReceipt.php"; ?>
  9. </ul>
  10. </div>
  11. </div>
  12. <div class="warpContent">
  13. <div class="subMenu fL">
  14. <div class="menuItem">
  15. <?php include Doo::conf()->SITE_PATH . Doo::conf()->PROTECTED_FOLDER . "viewc//admin/receipt_menu.php"; ?>
  16. </div>
  17. </div>
  18. <div class="adminContent autoHeight">
  19. <div class="saea-borad">
  20. <div class="borad-menu">
  21. <a href="/saeaLoanAdd" class="loan">申请借款</a>
  22. <a href="/saeaCreate" class="receipt">申请报销</a>
  23. <a href="/remitAdd" class="public">申请对公汇款</a>
  24. </div>
  25. <div class="borad-news">
  26. <div class="saeaList">
  27. <div class="clearfix">
  28. <legend><div class="fR"></div>需要您处理</legend>
  29. <table class="table table-bordered table-condensed">
  30. <tbody>
  31. <tr><th class="taC" width="140">费用类型</th><th class="taC">单号</th><th class="taC">金额</th><th class="taC">状态</th><th class="taC">操作</th></tr>
  32. <?php foreach($data['receiptDetail'] as $k1=>$v1): ?>
  33. <tr>
  34. <?php if( $v1['Rtype']==1 ): ?>
  35. <th>借款</th>
  36. <?php elseif( $v1['Rtype']==2 ): ?>
  37. <th>对公汇款</th>
  38. <?php else: ?>
  39. <th>报销单</th>
  40. <?php endif; ?>
  41. <td><a href="/expensesCollect/<?php echo $v1['rid']; ?>"><?php echo $v1['receiptOrder']; ?></a></td>
  42. <td class="taR">¥<?php echo $v1['sum']; ?>
  43. <?php if( $v1['status']==7 and $v1['Rtype']==1 ): ?>
  44. <br/>¥<?php echo $v1['loanSum']; ?>
  45. <?php endif; ?>
  46. </td>
  47. <td>
  48. <?php if( $v1['Rtype']==1 and $v1['status']==8 ): ?>
  49. <span class="colGreen">借款完成</span>
  50. <?php elseif( $v1['status']==5 or $v1['status']==7 ): ?>
  51. 未提交
  52. <?php elseif( $v1['status']==4 ): ?>
  53. <span class="colOrange">撤回</span>
  54. <?php endif; ?>
  55. </td>
  56. <td width="120">
  57. <div class="btn-group">
  58. <?php if( $v1['Rtype']==1 and $v1['status']==8 ): ?>
  59. <a class="button btn-block" href="/saeaLoanReceiptAdd/<?php echo $v1['rid']; ?>">填写费用报销</a>
  60. <?php elseif( ($v1['status']==4 or $v1['status']==5) and $v1['Rtype']==1 and $v1['isBK']==0 ): ?>
  61. <a class="button btn-gray btn-inline" href="/saeaLoanEdi/<?php echo $v1['rid']; ?>">返回编辑</a>
  62. <a class="button btn-inline" href="/confirmation/<?php echo $v1['rid']; ?>">提交审批</a>
  63. <?php elseif( ($v1['status']==4 or $v1['status']==5) and $v1['Rtype']==0 ): ?>
  64. <a class="button btn-gray btn-inline" href="/editReceipt/<?php echo $v1['rid']; ?>">返回编辑</a><a
  65. class="button btn-inline" href="/approvedReceipt/<?php echo $v1['rid']; ?>">提交审批</a>
  66. <?php elseif( ($v1['status']==4 or $v1['status']==5) and $v1['Rtype']==2 ): ?>
  67. <a class="button btn-gray btn-inline" href="/remitEdit/<?php echo $v1['rid']; ?>">返回编辑</a><a
  68. class="button btn-inline" href="/approvedReceipt/<?php echo $v1['rid']; ?>">提交审批</a>
  69. <?php elseif( ($v1['status']==4 or $v1['status']==7) and $v1['Rtype']==1 and $v1['isBK']==1 ): ?>
  70. <a class="button btn-gray btn-inline" href="/saeaLoanReceiptEdi/<?php echo $v1['rid']; ?>">返回编辑</a><a
  71. class="button btn-inline" href="/approvedReceipt/<?php echo $v1['rid']; ?>">提交审批</a>
  72. <?php endif; ?>
  73. </div>
  74. </td>
  75. </tr>
  76. <?php endforeach; ?>
  77. </tbody>
  78. </table>
  79. </div>
  80. <div class="clearfix">
  81. <legend><div class="fR"></div>最近费用动态</legend>
  82. <table class="table table-bordered table-condensed">
  83. <tbody>
  84. <tr><th class="taC" width="140">费用类型</th><th class="taC">单号</th><th class="taC">金额</th><th class="taC">状态</th></tr>
  85. <?php foreach($data['receiptLogList'] as $k1=>$v1): ?>
  86. <tr>
  87. <?php if( $v1['Rtype']==1 ): ?>
  88. <th>借款</th>
  89. <?php elseif( $v1['Rtype']==2 ): ?>
  90. <th>对公汇款</th>
  91. <?php else: ?>
  92. <th>报销单</th>
  93. <?php endif; ?>
  94. <td><a href="/expensesCollect/<?php echo $v1['rid']; ?>" ><?php echo $v1['receiptOrder']; ?></a></td>
  95. <td class="taR">¥<?php echo $v1['sum']; ?></td>
  96. <td>
  97. <?php if( $v1['status']==1 or $v1['status']==6 ): ?>
  98. <span class="colBlue">执行中</span>
  99. <?php elseif( $v1['status']==2 ): ?>
  100. <span class="">审批中</span>
  101. <?php elseif( $v1['status']==3 ): ?>
  102. <span class="colRed">终止</span>
  103. <?php elseif( $v1['status']==4 ): ?>
  104. <span class="colOrange">撤回</span>
  105. <?php elseif( $v1['status']==5 or $v1['status']==7 ): ?>
  106. <span class="">待提交</span>
  107. <?php elseif( $v1['status']==8 or $v1['status']==9 ): ?>
  108. <span class="colGreen">费用完成</span>
  109. <?php endif; ?>
  110. </td></tr>
  111. <?php endforeach; ?>
  112. </tbody>
  113. </table>
  114. </div>
  115. </div>
  116. </div>
  117. </div>
  118. </div>
  119. <!--弹出邮寄-->
  120. <div class="modal fade" id="welcome">
  121. <div class="modal-dialog">
  122. <div class="modal-content">
  123. <div class="modal-header">
  124. <h3>欢迎使用费用管理(原报销单)</h3>
  125. </div>
  126. <div class="modal-body saeaList">
  127. <p style="font-size:18px">请查阅以下文档,了解新的费用管理</p>
  128. <br>
  129. <table class="table table-bordered table-condensed">
  130. <tbody>
  131. <tr>
  132. <th class="taC colRed" width="100">费用管理简介<br>(必读)</th>
  133. <td class="taC">
  134. <a target="_Blank" href="<?php echo WEB_SITE_GLOBAL ?>handbook/CLD费用管理简介.pdf">在线查阅《CLD费用管理简介》</a>
  135. </td>
  136. <td class="taC"><a href="<?php echo WEB_SITE_GLOBAL ?>handbook/CLD费用管理简介.docx">点击下载《CLD费用管理简介》</a></td>
  137. </tr>
  138. </tbody>
  139. </table>
  140. <table class="table table-bordered table-condensed">
  141. <tbody>
  142. <tr>
  143. <th class="taC" width="100">费用申请人</th>
  144. <td class="taC"><a target="_Blank" href="<?php echo WEB_SITE_GLOBAL ?>handbook/费用申请人使用教程.pdf">在线查阅《费用申请人使用手册》</a></td>
  145. <td class="taC"><a href="<?php echo WEB_SITE_GLOBAL ?>handbook/费用申请人使用教程.docx">点击下载《费用申请人使用手册》</a></td>
  146. </tr>
  147. </tbody>
  148. </table>
  149. <table class="table table-bordered table-condensed">
  150. <tbody>
  151. <tr>
  152. <th class="taC" width="100">费用审批人</th>
  153. <td class="taC"><a target="_Blank" href="<?php echo WEB_SITE_GLOBAL ?>handbook/费用审批人使用教程.pdf">在线查阅《费用审批人使用手册》</a></td>
  154. <td class="taC"><a href="<?php echo WEB_SITE_GLOBAL ?>handbook/费用审批人使用教程.docx">点击下载《费用审批人使用手册》</a></td>
  155. </tr>
  156. </tbody>
  157. </table>
  158. <table class="table table-bordered table-condensed">
  159. <tbody>
  160. <tr>
  161. <th class="taC" width="100">费用执行人</th>
  162. <td class="taC"><a target="_Blank" href="<?php echo WEB_SITE_GLOBAL ?>handbook/费用执行人使用教程.pdf">在线查阅《费用执行人使用手册》</a></td>
  163. <td class="taC"><a href="<?php echo WEB_SITE_GLOBAL ?>handbook/费用执行人使用教程.docx">点击下载《费用执行人使用手册》</a></td>
  164. </tr>
  165. </tbody>
  166. </table>
  167. </div>
  168. <div class="modal-footer">
  169. <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
  170. </div>
  171. </div>
  172. </div>
  173. </div>
  174. <!--邮寄-->
  175. <script type="text/javascript">autoFlashHeight();</script>
  176. <!--<script type="text/javascript">$('#welcome').modal('show')</script>-->
  177. </body>