RechargeSummary.vue 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <template>
  2. <div class="main-contain">
  3. <div class="app-container">
  4. <div
  5. style="
  6. justify-content: flex-start;
  7. margin: 0px 0 12px 0;
  8. display: flex;
  9. align-items: center;
  10. "
  11. >
  12. <div style="display: flex">
  13. <div style="width: 250px">
  14. <el-input
  15. size="small"
  16. style="width: 200px; margin-left: 10px"
  17. class="filter-item"
  18. placeholder="请输入编号/患者名称"
  19. v-model.trim="keywords"
  20. />
  21. </div>
  22. <div style="width: 465px">
  23. <span>日期查询:</span>
  24. <el-date-picker
  25. v-model="value1"
  26. type="daterange"
  27. range-separator="至"
  28. start-placeholder="开始日期"
  29. end-placeholder="结束日期"
  30. >
  31. </el-date-picker>
  32. </div>
  33. <el-button
  34. size="small"
  35. class="filter-item"
  36. type="primary"
  37. icon="el-icon-search"
  38. @click="search"
  39. >查询</el-button
  40. >
  41. </div>
  42. </div>
  43. <el-table
  44. :header-cell-style="{
  45. backgroundColor: 'rgb(245, 247, 250)',
  46. color: '#606266',
  47. }"
  48. :data="tableData"
  49. border
  50. >
  51. <el-table-column type="index" label="序号" align="center" width="200">
  52. </el-table-column>
  53. <el-table-column label="患者名称" align="center">
  54. <template slot-scope="scope">
  55. <span></span>
  56. </template>
  57. </el-table-column>
  58. <el-table-column label="充值金额" align="center">
  59. <template slot-scope="scope">
  60. <span></span>
  61. </template>
  62. </el-table-column>
  63. <el-table-column label="押金余额" align="center">
  64. <template slot-scope="scope">
  65. <span></span>
  66. </template>
  67. </el-table-column>
  68. </el-table>
  69. <div>
  70. 充值金额合计:<span></span>
  71. </div>
  72. </div>
  73. </div>
  74. </template>
  75. <script>
  76. import BreadCrumb from "@/xt_pages/components/bread-crumb";
  77. export default {
  78. components: {
  79. BreadCrumb,
  80. },
  81. data() {
  82. return {
  83. crumbs: [
  84. { path: false, name: "押金管理" },
  85. { path: "/DepositManagement/DepositSearch", name: "押金查询" },
  86. ],
  87. tableData: [{}, {}],
  88. total: 0,
  89. page: 1,
  90. limit: 10,
  91. keywords: "",
  92. value1:""
  93. };
  94. },
  95. methods: {
  96. // 初始化数据
  97. init() {},
  98. // 查询操作
  99. search() {},
  100. // 删除
  101. toDelete() {},
  102. // 审核
  103. examine() {},
  104. // 打印凭证
  105. print(){}
  106. },
  107. };
  108. </script>
  109. <style>
  110. </style>