<template>
    <basic-container>
        <el-tabs v-model="activeName" @tab-click="handleClick">
            <el-tab-pane label="模具需求" name="1"></el-tab-pane>
            <el-tab-pane label="申报记录" name="2"></el-tab-pane>
        </el-tabs>
        <moldRequire v-if="activeName == '1'"></moldRequire>
        <moldRecord v-if="activeName == '2'"></moldRecord>
    </basic-container>
</template>

<script>
import moldRequire from './components/mold/moldRequire.vue'
import moldRecord from './components/mold/moldRecord.vue'
export default {
    components: {
        moldRequire,
        moldRecord
    },
    data() {
        return {
            activeName: '1',



        };
    },


    methods: {
        handleClick() {
            console.log(9999999,this.activeName)
        },
    },
    mounted() {
    }
};
</script>
