<template> <div class="eibs-tab"> <el-collapse v-model="activeNames"> <el-collapse-item name="adsovw" title="主信息"> <m-adsovw :codes="codes" :model="model"/> </el-collapse-item> <el-collapse-item name="tbkp" title="明细信息"> <m-tbkp :codes="codes" :model="model"/> </el-collapse-item> </el-collapse> </div> </template> <script> import Adsovw from "./adsovw" import Tbkp from "../../tdb/views/tbkp" export default { components: { "m-adsovw": Adsovw, "m-tbkp": Tbkp, }, props: ["model", "codes"], data() { return { activeNames: ["adsovw", "tbkp"] } } } </script> <style scoped> </style>