<template>
  <a-card style="width: 100%; height: 100%">
    <a-tabs default-active-key="1">
      <a-tab-pane key="1">
        <span slot="tab"> 桌台设置 </span>
        <pos-table></pos-table>
      </a-tab-pane>
      <a-tab-pane key="2">
        <span slot="tab"> 口味设置 </span>
        <posTaste></posTaste>
      </a-tab-pane>
      <a-tab-pane key="3">
        <span slot="tab"> 加料设置 </span>
        <posFeedingSet></posFeedingSet>
      </a-tab-pane>
      <a-tab-pane key="4">
        <span slot="tab"> 桌台区域设置 </span>
        <pos-region></pos-region>
      </a-tab-pane>
      <a-tab-pane key="5">
        <span slot="tab"> 桌台桌型设置 </span>
        <pos-table-type></pos-table-type>
      </a-tab-pane>
      <a-tab-pane key="6">
        <span slot="tab"> 沽清设置 </span>
        <pos-sell-clear-goods></pos-sell-clear-goods>
      </a-tab-pane>
      <a-tab-pane key="7">
        <span slot="tab"> 套餐管理 </span>
        <pos-thali></pos-thali>
      </a-tab-pane>
      <a-tab-pane key="8">
        <span slot="tab"> 餐段设置 </span>
        <pos-meal-section></pos-meal-section>
      </a-tab-pane>
      <a-tab-pane key="9">
        <span slot="tab"> 平板点餐设置 </span>
        <tabletOrdering></tabletOrdering>
      </a-tab-pane>
    </a-tabs>
  </a-card>
</template>

<script>
import posTable from "./components/pos/posTable.vue";
import posRegion from "./components/pos/posRegion.vue";
import posTableType from "./components/pos/posTableType.vue";
import posSellClearGoods from "./components/pos/posSellClearGoods.vue";
import posThali from "./components/pos/posThali.vue";
import posMealSection from "./components/pos/posMealSection.vue";
import posTaste from "./components/pos/taste.vue";
import posFeedingSet from "./components/pos/feedingSet.vue";
import tabletOrdering from './components/pos/tabletOrdering.vue';

export default {
  components: {
    posTable,
    posRegion,
    posTableType,
    posSellClearGoods,
    posThali,
    posMealSection,
    posTaste,
    posFeedingSet,
    tabletOrdering
  },
  data() {
    return {};
  },
};
</script>

<style scoped>
.main {
  height: 70% !important;
}
</style>
