<template>
  <div>
    <el-form
      inline
      class="dialog-info"
      label-width="100px">
      <el-form-item label="会员类型">
        {{ currentItem.memberTypeName }}
      </el-form-item>
      <el-form-item label="入库时间">
        {{ currentItem.createTime | formatTime }}
      </el-form-item>
      <el-form-item label="渠道">
        {{ currentItem.channel }}
      </el-form-item>
      <el-form-item label="客户类型">
        {{ currentItem.customerType }}
      </el-form-item>
      <el-form-item
        label="会员卡号"
        style="width:100%">
        <el-tag
          style="margin-right: 8px; margin-bottom:5px;"
          v-for="(item, index) in currentItem.iccardList"
          :key="index">
          {{ item }}
        </el-tag>
      </el-form-item>
      <el-form-item
        v-if="currentItem.channel==='线上'"
        label="线上会员票号"
        style="width:100%">
        <el-tag
          style="margin-right: 8px; margin-bottom:5px;"
          v-for="(item, index) in currentItem.ticketNoList"
          :key="index">
          {{ item }}
        </el-tag>
      </el-form-item>
      <el-form-item label="备注">
        {{ currentItem.remark }}
      </el-form-item>
    </el-form>
    <!-- <el-table
      stripe
      :data="currentItem.iccardList.map(no => {
        return {no: no}
      })">
      <el-table-column
        label="IC卡号"
        prop="no"></el-table-column>
    </el-table> -->
  </div>
</template>
<script>
export default {
  props: {
    currentItem: {
      type: Object,
      default: () => {}
    }
  }
}
</script>
