<template>
  <div class="pick-up-con">
    <Card>
<!--      <div class="type-con">-->
<!--        <span>配送类型：</span>-->
<!--        <RadioGroup v-model="type" type="button" size="large">-->
<!--          <Radio-->
<!--            v-for="(item, index) of DeliveryType"-->
<!--            :label="item"-->
<!--            :key="'delivery-radio-'+index"-->
<!--          >{{DeliveryTypeName[item]}}</Radio>-->
<!--        </RadioGroup>-->
<!--      </div>-->
<!--      <self-draw-table v-show="type == DeliveryType.SELF"/>-->
      <express-draw-table/>
    </Card>
  </div>
</template>

<script>
import { DeliveryType, DeliveryTypeName } from '@/enums'
import SelfDrawTable from './self-draw-table'
import ExpressDrawTable from './express-draw-table'
export default {
  components: {
    SelfDrawTable,
    ExpressDrawTable
  },
  data () {
    return {
      DeliveryType,
      DeliveryTypeName,
      type: DeliveryType.EXPRESS
    }
  }
}
</script>

<style lang="less">
  .pick-up-con {
    .type-con {
      display: flex;
      align-items: center;
      > span {
        font-size: 16px;
        font-weight: bold;
        margin-right: 10px;
      }
    }
  }
</style>
