Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

report-details.vue 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. <template>
  2. <view class="content">
  3. <view class="uni-container">
  4. <uni-table ref="table" border stripe type="selection">
  5. <uni-tr>
  6. <uni-th align="center" width="40">序号</uni-th>
  7. <uni-th align="center" width="60">渠道名称</uni-th>
  8. <uni-th align="center" width="50">填写人</uni-th>
  9. <uni-th align="center" width="70">推送日期</uni-th>
  10. <uni-th align="center" width="100">通行费推送总额</uni-th>
  11. <uni-th align="center" width="90">小额推送总额</uni-th>
  12. <uni-th align="center" width="100">通行费回盘总额</uni-th>
  13. <uni-th align="center" width="90">小额回盘总额</uni-th>
  14. <uni-th align="center" width="100">通行费回款总额</uni-th>
  15. <uni-th align="center" width="90">小额回款总额</uni-th>
  16. <uni-th align="center" width="120">通行费推送回盘剩余</uni-th>
  17. <uni-th align="center" width="110">小额推送回盘剩余</uni-th>
  18. <uni-th align="center" width="120">通行费推送回教剩余</uni-th>
  19. <uni-th align="center" width="100">小额送回款剩余</uni-th>
  20. <uni-th align="center" width="130">剩余说明(结算组填写)</uni-th>
  21. <uni-th align="center" width="130">应付金额</uni-th>
  22. <uni-th align="center" width="120">操作</uni-th>
  23. </uni-tr>
  24. <uni-tr>
  25. <uni-td align="center">1</uni-td>
  26. <uni-td align="center">1</uni-td>
  27. <uni-td align="center">1</uni-td>
  28. <uni-td align="center">1</uni-td>
  29. <uni-td align="center">1</uni-td>
  30. <uni-td align="center">1</uni-td>
  31. <uni-td align="center">1</uni-td>
  32. <uni-td align="center">1</uni-td>
  33. <uni-td align="center">1</uni-td>
  34. <uni-td align="center">1</uni-td>
  35. <uni-td align="center">1</uni-td>
  36. <uni-td align="center">1</uni-td>
  37. <uni-td align="center">1</uni-td>
  38. <uni-td align="center">1</uni-td>
  39. <uni-td align="center">1</uni-td>
  40. <uni-td align="center">1</uni-td>
  41. <uni-td>
  42. <!-- <view class="uni-group">
  43. <button class="uni-button" size="mini" type="primary">修改</button>
  44. <button class="uni-button" size="mini" type="warn">删除</button>
  45. </view> -->
  46. </uni-td>
  47. </uni-tr>
  48. </uni-table>
  49. <view class="uni-pagination-box"><uni-pagination show-icon :page-size="state.pageSize"
  50. :current="state.pageCurrent" :total="state.total" @change="change" /></view>
  51. </view>
  52. </view>
  53. </template>
  54. <script setup lang="ts">
  55. import { reactive } from "vue";
  56. const state = reactive({
  57. dateTime: Date.now(), //日期
  58. list: [
  59. { "name": "总条数", "value": 0 },
  60. { "name": "通行费推送总额", "value": 0 },
  61. { "name": "小额推送总额", "value": 0 },
  62. { "name": "通行费回盘总额", "value": 0 },
  63. { "name": "小额回盘总额", "value": 0 },
  64. { "name": "通行费回款总额", "value": 0 },
  65. { "name": "小额回款总额", "value": 0 },
  66. { "name": "通行费推送回盘剩余", "value": 0 },
  67. { "name": "小额推送回盘剩余", "value": 0 },
  68. { "name": "通行费推送回教剩余", "value": 0 },
  69. { "name": "小额送回款剩余", "value": 0 },
  70. { "name": "清分通知书", "value": 0 },
  71. { "name": "应付金额", "value": 0 },
  72. ],
  73. // list: {
  74. // "总条数": "0",
  75. // "通行费推送总额:": "0元",
  76. // "小额推送总额": "0元",
  77. // "通行费回盘总额": "0元",
  78. // "小额回盘总额": "0元",
  79. // "通行费回款总额": "0元",
  80. // "小额回款总额": "0元",
  81. // "通行费推送回盘剩余": "0元",
  82. // "小额推送回盘剩余": "0元",
  83. // "通行费推送回教剩余": "0元",
  84. // "小额送回款剩余": "0元",
  85. // },
  86. // 每页数据量
  87. pageSize: 10,
  88. // 当前页
  89. pageCurrent: 1,
  90. // 数据总量
  91. total: 0,
  92. })
  93. const change = (e) => {
  94. console.log("e")
  95. }
  96. </script>
  97. <style scoped>
  98. .content {
  99. font-size: 32rpx;
  100. width: 100%;
  101. height: 100vh;
  102. overflow: hidden;
  103. }
  104. .time_wrap {
  105. display: flex;
  106. align-items: center;
  107. margin: 20rpx 30rpx;
  108. }
  109. .time {
  110. width: 40%;
  111. margin-left: 30rpx;
  112. }
  113. /deep/.uni-date__x-input {
  114. font-size: 13px !important;
  115. height: 30px !important;
  116. line-height: 30px !important;
  117. }
  118. .table_wrap {
  119. font-size: 14rpx;
  120. margin: 40rpx auto;
  121. width: 700rpx;
  122. height: auto
  123. }
  124. .uni-container {
  125. /* margin: 50rpx 30rpx; */
  126. transform: rotate(90deg);
  127. }
  128. /deep/.uni-table-scroll {
  129. width: 186%;
  130. overflow-x: auto;
  131. margin-top: 270rpx;
  132. }
  133. /deep/.uni-table-th,
  134. /deep/.uni-table-td {
  135. padding: 0 !important;
  136. font-size: 12px !important;
  137. }
  138. /deep/.uni-pagination-box {
  139. font-size: 30rpx;
  140. display: flex;
  141. justify-content: flex-end;
  142. width: 153%;
  143. }
  144. /deep/.uni-pagination__num-current-text.data-v-88b7506d {
  145. font-size: 30rpx;
  146. }
  147. </style>