credit_list-detail.vue 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <template>
  2. <div>
  3. <div class="sty">
  4. <el-page-header @back="goBack" content="信用额度变更记录">
  5. </el-page-header>
  6. </div>
  7. <el-divider></el-divider>
  8. <!-- 表头 -->
  9. <div>
  10. <el-form
  11. ref="searchForm"
  12. :model="searchForm"
  13. label-width="100px"
  14. size="small"
  15. label-position="left"
  16. >
  17. <el-row :gutter="20">
  18. <el-col :xs="24" :sm="12" :lg="6">
  19. <el-form-item label="日期" prop="">
  20. <el-date-picker
  21. v-model="value1"
  22. type="daterange"
  23. range-separator="至"
  24. start-placeholder="开始日期"
  25. end-placeholder="结束日期"
  26. >
  27. </el-date-picker>
  28. </el-form-item>
  29. </el-col>
  30. <el-col :xs="24" :sm="24" :lg="18">
  31. <el-form-item label="" class="fr">
  32. <el-button size="small">清空</el-button>
  33. <el-button size="small" type="primary">搜索</el-button>
  34. </el-form-item>
  35. </el-col>
  36. </el-row>
  37. </el-form>
  38. </div>
  39. <!-- 按钮 -->
  40. <div class="btn-group clearfix">
  41. <div class="fr">
  42. <el-button type="primary" size="small">导出</el-button>
  43. <el-button type="primary" size="small">打印</el-button>
  44. </div>
  45. </div>
  46. <!-- 列表 -->
  47. <div class="mymain-container">
  48. <div class="table">
  49. <el-table
  50. v-loading="listLoading"
  51. :data="dataList"
  52. element-loading-text="Loading"
  53. border
  54. fit
  55. highlight-current-row
  56. stripe
  57. >
  58. <el-table-column
  59. label="序号"
  60. align="center"
  61. min-width="100"
  62. show-overflow-tooltip
  63. ></el-table-column>
  64. <el-table-column
  65. align="center"
  66. label="经销商编码"
  67. prop=""
  68. min-width="160"
  69. show-overflow-tooltip
  70. ></el-table-column>
  71. <el-table-column
  72. align="center"
  73. label="经销商名称"
  74. prop=""
  75. min-width="160"
  76. show-overflow-tooltip
  77. ></el-table-column>
  78. <el-table-column
  79. align="center"
  80. label="关联钱包"
  81. prop=""
  82. min-width="160"
  83. show-overflow-tooltip
  84. ></el-table-column>
  85. <el-table-column
  86. align="center"
  87. label="变更额度"
  88. prop=""
  89. min-width="160"
  90. show-overflow-tooltip
  91. ></el-table-column>
  92. <el-table-column
  93. align="center"
  94. label="总信用额度"
  95. prop=""
  96. min-width="160"
  97. show-overflow-tooltip
  98. ></el-table-column>
  99. <el-table-column
  100. align="center"
  101. label="变更时间"
  102. prop=""
  103. min-width="160"
  104. show-overflow-tooltip
  105. ></el-table-column>
  106. <el-table-column
  107. align="center"
  108. label="变更人"
  109. prop=""
  110. min-width="160"
  111. show-overflow-tooltip
  112. ></el-table-column>
  113. </el-table>
  114. </div>
  115. <!-- 分页 -->
  116. <div class="fr">
  117. <el-pagination
  118. :current-page="currentPage"
  119. :page-sizes="[10, 20, 30, 50]"
  120. :page-size="10"
  121. layout="total, sizes, prev, pager, next, jumper"
  122. :total="listTotal"
  123. >
  124. </el-pagination>
  125. </div>
  126. </div>
  127. </div>
  128. </template>
  129. <script>
  130. export default {
  131. data() {
  132. return {
  133. currentPage: 1, // 当前页码
  134. pageSize: 10, // 每页数量
  135. listTotal: 0, // 列表总数
  136. dataList: [], // 列表数据
  137. searchForm: {}, //搜索表单
  138. listLoading: false, // 列表加载loading
  139. };
  140. },
  141. methods: {
  142. goBack() {
  143. this.$parent.showRecord = true;
  144. },
  145. },
  146. };
  147. </script>
  148. <style>
  149. </style>