1
lzhe
2024-06-05 dcf9c9e0410fe1186239e3f8d6f7bdc789c08010
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!--
 * @Date: 2024-05-08 21:17:07
 * @LastEditors: Sneed
 * @LastEditTime: 2024-05-10 21:54:04
 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/console/basic-data/material-warehousing-data/material-info.vue
-->
<template>
    <el-main style="height: 100%;">
        <el-card shadow="never" style="height: 100%;" body-style="height: 100%">
            <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
                <el-tab-pane label="物料信息" name="1">
                    <materialInfoComp1 v-if="activeName === '1'" />
                </el-tab-pane>
                <el-tab-pane label="物料类型" name="2">
                    <materialInfoComp2 v-if="activeName === '2'" />
                </el-tab-pane>
            </el-tabs>
        </el-card>
    </el-main>
</template>
 
<script>
import materialInfoComp1 from './material-infoComp1.vue';
import materialInfoComp2 from './material-infoComp2.vue';
export default {
    components: {
        materialInfoComp1,
        materialInfoComp2
    },
    data() {
        return {
            activeName: '1'
        }
    },
}
</script>
 
<style lang="scss" scoped></style>