<!--
 * @Author: zhp
 * @Date: 2023-01-31 14:12:10
 * @LastEditTime: 2023-01-31 16:47:32
 * @LastEditors: zhp
 * @Description: 
-->
<template>
  <span>
    <el-radio v-model="injectData.incomingInspection" :label="1"
      >进货检验</el-radio
    >
    <el-radio v-model="injectData.processInspection" :label="1"
      >过程检验</el-radio
    >
    <el-radio v-model="injectData.finishInspection" :label="1"
      >成品检验</el-radio
    >
    <el-radio v-model="injectData.outInspection" :label="1">出货检验</el-radio>
  </span>
</template>

<script>
// import { addDynamicRoute } from '@/router'
export default {
  props: {
    injectData: {
      type: Object,
      default: () => ({}),
    },
  },
  methods: {
    // 子级
    // emitClick () {
    //   // 路由参数
    //   const routeParams = {
    //     routeName: `${this.$route.name}__${this.injectData.id}`,
    //     title: `${this.$route.meta.title} - ${this.injectData.dictType}`,
    //     path: 'sys/dict-data',
    //     params: {
    //       dictTypeId: this.injectData.id
    //     }
    //   }
    //   // 动态路由
    //   addDynamicRoute(routeParams, this.$router)
    // }
  },
};
</script>
