index.vue 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <a-card style="width: 100%; height: 100%">
  3. <a-tabs v-model="activeKey">
  4. <a-tab-pane key="1">
  5. <span slot="tab"> 收款汇总报表 </span>
  6. <depository></depository>
  7. </a-tab-pane>
  8. <a-tab-pane key="2">
  9. <span slot="tab"> 收退款明细报表 </span>
  10. <goods v-if="activeKey == '2'"></goods>
  11. </a-tab-pane>
  12. <a-tab-pane key="3">
  13. <span slot="tab"> 客人余额报表 </span>
  14. <supplier v-if="activeKey == '3'"></supplier>
  15. </a-tab-pane>
  16. </a-tabs>
  17. </a-card>
  18. </template>
  19. <script>
  20. import depository from "./financeModules/depository.vue";
  21. import goods from "./financeModules/detailedReport.vue";
  22. // import supplier from "./supplier.vue";
  23. // import stock from "./stock.vue";
  24. // import depositoryingoods from './depositoryingoods'
  25. export default {
  26. components: {
  27. depository,
  28. goods,
  29. // supplier,
  30. // stock,
  31. // depositoryingoods
  32. },
  33. data() {
  34. return { activeKey: "1" };
  35. },
  36. };
  37. </script>
  38. <style scoped>
  39. .main {
  40. height: 70% !important;
  41. }
  42. </style>