tb-fee-item-record-info.html 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>收费记录-详情</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  6. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  7. <!-- 所有的 css js 资源 -->
  8. <link rel="stylesheet" href="../../static/kj/element-ui/theme-chalk/index.css">
  9. <link rel="stylesheet" href="../../static/sa.css">
  10. <script src="../../static/kj/vue.min.js"></script>
  11. <script src="../../static/kj/element-ui/index.js"></script>
  12. <script src="../../static/kj/httpVueLoader.js"></script>
  13. <script src="../../static/kj/jquery.min.js"></script>
  14. <script src="../../static/kj/layer/layer.js"></script>
  15. <script src="../../static/sa.js"></script>
  16. <style type="text/css">
  17. .c-panel .c-label{width: 22em;}
  18. table {
  19. font-family: arial, sans-serif;
  20. border-collapse: collapse;
  21. width: 90%;
  22. margin-top: 20px ;
  23. margin-left: auto;
  24. margin-right: auto;
  25. }
  26. th {
  27. border: 1px solid darkgray;
  28. text-align: left;
  29. height: 24px;
  30. padding: 8px;
  31. background-color: #dddddd;
  32. }
  33. td {
  34. border: 1px solid darkgray;
  35. text-align: left;
  36. padding: 8px;
  37. }
  38. </style>
  39. </head>
  40. <body>
  41. <div class="vue-box sbot" style="display: none;" :style="'display: block;'">
  42. <!-- ------- 内容部分 ------- -->
  43. <div class="s-body">
  44. <div class="c-panel">
  45. <el-form v-if="m">
  46. <table>
  47. <tr>
  48. <th>订单号</th>
  49. <td>{{m.orderNo}}</td>
  50. <th>二级订单单号</th>
  51. <td>{{m.levelTwoOrderNo}}</td>
  52. </tr>
  53. <tr>
  54. <th>收费类型</th>
  55. <td>
  56. <b v-if="m.feeType == 1">按交易额收取</b>
  57. <b v-if="m.feeType == 2">按次收取</b>
  58. <b v-if="m.feeType == 3">按吨收取</b>
  59. </td>
  60. <th>类型对应的数值</th>
  61. <td>{{m.feeNum}}</td>
  62. </tr>
  63. <tr>
  64. <th>收费项目</th>
  65. <td>{{m.itemName}}</td>
  66. <th>收费金额</th>
  67. <td>{{m.itemPrice}}</td>
  68. </tr>
  69. <tr>
  70. <th>收费企业</th>
  71. <td>{{m.companyName}}</td>
  72. <th>支付备注</th>
  73. <td>{{m.payRemark}}</td>
  74. </tr>
  75. <tr>
  76. <th>支付/划拨时间</th>
  77. <td>{{sa.forDate(m.payTime, 2)}}</td>
  78. <th>支付/划拨状态</th>
  79. <td>
  80. <b v-if="m.payStatus == 0">未划拨</b>
  81. <b v-if="m.payStatus == 1">划拨成功</b>
  82. <b v-if="m.payStatus == 2">划拨失败</b>
  83. </td>
  84. </tr>
  85. <!-- <tr>
  86. <th>创建时间</th>
  87. <td>{{sa.forDate(m.createTime, 2)}}</td>
  88. </tr> -->
  89. </table>
  90. </el-form>
  91. </div>
  92. </div>
  93. <!-- ------- 底部按钮 ------- -->
  94. <div class="s-foot">
  95. <el-button type="success" @click="sa.closeCurrIframe()">确定</el-button>
  96. <el-button @click="sa.closeCurrIframe()">取消</el-button>
  97. </div>
  98. </div>
  99. <script>
  100. var app = new Vue({
  101. components: {
  102. "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
  103. },
  104. el: '.vue-box',
  105. data: {
  106. id: sa.p('id', 0), // 获取数据ID
  107. m: null
  108. },
  109. methods: {
  110. },
  111. mounted: function() {
  112. sa.ajax('/level-two-server/TbFeeItemRecord/getById?id=' + this.id, function(res) {
  113. this.m = res.data;
  114. if(res.data == null) {
  115. sa.alert('未能查找到 id=' + this.id + " 详细数据");
  116. }
  117. }.bind(this))
  118. }
  119. })
  120. </script>
  121. </body>
  122. </html>