<template> <div class="eibs-tab"> <c-collapse v-model="activeNames"> <el-collapse-item title="2112跨境收入信息" name="ovwp"> <m-ovwp :model="model" :codes="codes" /> </el-collapse-item> <el-collapse-item title="跨境收入明细信息" v-if="model.tcr2112.tcrVoList && model.tcr2112.tcrVoList.length > 0" name="ovwp1" > <m-ovwp1 :model="model" :codes="codes" /> </el-collapse-item> </c-collapse> </div> </template> <script> import Ovwp from "./ovwp" import Ovwp1 from "./tbzp" export default { components: { "m-ovwp":Ovwp, "m-ovwp1":Ovwp1 }, props:["model","codes"], data(){ return { activeNames: ["recode"] } } } </script> <style scoped> </style>