<template>
  <el-dialog title="导入失败原因" :visible.sync="importInfo.dialogVisible" width="420px">
    <div class="info-content">
      <div v-for="(item, index) in importInfo.list" :key="index" class="list-content">
        <span class="reason-info">{{ item.orderNumber }}</span>
        <span class="sku-info">{{ item.errorMessage }}</span>
      </div>
    </div>
  </el-dialog>
</template>

<script>
export default {
  props: {
    importInfo: {
      type: Object
    }
  },
  data() {
    return {};
  },
  methods: {},
  components: {}
};
</script>
<style scoped>
.sku-info {
  font-size: 13px;
  color: #606266;
  margin: 15px 0 5px 15px;
  display: inline-block;
  word-break: break-all;
}
.reason-info {
  color: #303133;
  font-size: 14px;
  font-weight: 500;
}
.list-content {
  margin-bottom: 15px;
}
</style>
