You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cardrefundcostManage.vue 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. <template>
  2. <div class="app_container">
  3. <div class="menu">
  4. <el-form :inline="true" :model="formInline" class="demo-form-inline">
  5. <el-form-item label="卡号">
  6. <el-input v-model="formInline.user" placeholder="请输入卡号" />
  7. </el-form-item>
  8. <el-form-item>
  9. <el-button type="primary">读卡</el-button>
  10. <el-button :icon="Search" type="primary">查询</el-button>
  11. </el-form-item>
  12. </el-form>
  13. </div>
  14. <el-table :data="tableData" border style="width: 100%" class="table_box" scrollbar-always-on="true" stripe >
  15. <el-table-column prop="date" label="序号" />
  16. <el-table-column prop="name" label="卡号" />
  17. <el-table-column prop="type" label="退款状态" />
  18. <el-table-column prop="regtime" label="注销时间" />
  19. <el-table-column prop="numbers" label="卡账余额(元)" />
  20. <el-table-column prop="number" label="卡内余额(元)" />
  21. <el-table-column prop="numbers" label="交易后余额(元)"/>
  22. <el-table-column prop="numbers" label="退费金额(元)"/>
  23. <el-table-column label="操作" class="table_btn" width="150px" align="center">
  24. <el-tooltip content="详细" placement="top">
  25. <el-button type="warning" @click="dialogFormVisible = true">查看详细</el-button>
  26. </el-tooltip>
  27. </el-table-column>
  28. </el-table>
  29. <div class="page_box">
  30. <el-pagination :page-size="20" :pager-count="11" layout="prev, pager, next" :total="1000" />
  31. </div>
  32. <el-dialog v-model="dialogFormVisible" title="退款详细">
  33. <el-form :model="form">
  34. <el-form-item label="手机号" :label-width="formLabelWidth">
  35. <el-input v-model="form.phone" autocomplete="off" disabled />
  36. </el-form-item>
  37. <el-form-item label="验证码" :label-width="formLabelWidth">
  38. <el-input v-model="form.region" autocomplete="off" />
  39. </el-form-item>
  40. </el-form>
  41. <template #footer>
  42. <span class="dialog-footer">
  43. <el-button @click="dialogFormVisible = false">确定</el-button>
  44. <el-button type="primary" @click="dialogFormVisible = false">关闭</el-button>
  45. </span>
  46. </template>
  47. </el-dialog>
  48. </div>
  49. </template>
  50. <script lang="ts" setup>
  51. import {
  52. Search,
  53. Dwnload
  54. } from '@element-plus/icons-vue'
  55. import {
  56. reactive,
  57. ref
  58. } from 'vue'
  59. const formInline = reactive({
  60. user: '',
  61. region: '',
  62. })
  63. const onSubmit = () => {
  64. console.log('submit!')
  65. }
  66. let title = ref("对公账户信息")
  67. const options = [{
  68. value: '',
  69. label: '全部',
  70. },
  71. {
  72. value: '1',
  73. label: '驳回',
  74. },
  75. {
  76. value: '0',
  77. label: '待审核',
  78. },
  79. {
  80. value: '1',
  81. label: '已启用',
  82. },
  83. {
  84. value: '2',
  85. label: '待修改初始密码',
  86. },
  87. ]
  88. const value1 = ref('')
  89. const value2 = ref('')
  90. const value3 = ref('')
  91. const value4 = ref('')
  92. const dialogTableVisible = ref(false)
  93. const dialogFormVisible = ref(false)
  94. const formLabelWidth = '140px'
  95. const form = reactive({
  96. phone: '13078580843',//手机号
  97. region: '',//验证码
  98. delivery: false,//是否展示详细
  99. number:''//对公账户资金账户编号
  100. })
  101. const optiones = [{
  102. value: '2',
  103. label: '2',
  104. },
  105. {
  106. value: '6',
  107. label: '6',
  108. },
  109. {
  110. value: '10',
  111. label: '10',
  112. },
  113. {
  114. value: '15',
  115. label: '15',
  116. },
  117. {
  118. value: '30',
  119. label: '30',
  120. },
  121. ]
  122. const defaultTime = new Date(2000, 1, 1, 12, 0, 0)
  123. const shortcuts = [{
  124. text: 'Today',
  125. value: new Date(),
  126. },
  127. {
  128. text: 'Yesterday',
  129. value: () => {
  130. const date = new Date()
  131. date.setTime(date.getTime() - 3600 * 1000 * 24)
  132. return date
  133. },
  134. },
  135. {
  136. text: 'A week ago',
  137. value: () => {
  138. const date = new Date()
  139. date.setTime(date.getTime() - 3600 * 1000 * 24 * 7)
  140. return date
  141. },
  142. },
  143. ]
  144. const tableData = [{
  145. date: '01',
  146. name: '52011750220200003674',
  147. address: '安顺市顺安防雷安全检测站平坝分站',
  148. number: "91520421MA6EBM14XC",
  149. time: "2021-06-22T12:52:17",
  150. type: "已退款",
  151. regname: "xn18096012008",
  152. regtime: "2021-06-23T15:08:39",
  153. number:"0.00",
  154. numbers:"0.00"
  155. }
  156. ]
  157. </script>
  158. <style lang="scss">
  159. .app_container {
  160. padding: 20px;
  161. display: flex;
  162. flex-direction: column;
  163. .table_box {
  164. margin-top: 25px;
  165. .table_btn{
  166. display: flex;
  167. flex-direction: column;
  168. align-self: stretch;
  169. align-content: space-around;
  170. align-items: flex-start;
  171. }
  172. }
  173. .page_box {
  174. margin-top: 25px;
  175. }
  176. }
  177. </style>