<template>
  <div class="mcs-name">
    <span v-if="info.prodName">{{ info.prodName }}</span>
    <el-tag v-if="info.mcsType == '0'"> 普通耗材 </el-tag>
    <el-tag v-if="info.mcsType == '1'"> 高值耗材 </el-tag>
    <el-tag v-if="info.mcsType == '2'"> 试剂 </el-tag>
    <el-tag v-if="info.mcsType == '3'"> 总务耗材 </el-tag>
    <br />

    注册证号：
    <span v-if="info.regcertno"> {{ info.regcertno }} </span>

    <br />

    生产企业：
    <span v-if="info.prodEntp">
      {{ info.prodEntp }}
    </span>
    <el-tag v-if="info.prodSouc == '1'" type="success"> 国产 </el-tag>
    <el-tag v-if="info.prodSouc == '2'" type="danger"> 进口 </el-tag>

    <br />

    集采批次：
    <el-tag v-if="info.fasBtch">
      {{ info.fasBtch }}
    </el-tag>
  </div>
</template>

<script>
export default {
  name: "mcsInfo",
  props: {
    info: {
      type: Object,
      default: null
    }
  },
  data() {
    return {};
  },
  mounted() {}
};
</script>

<style></style>
