<template> <div class="eibs-tab"> <el-collapse v-model="activeNames"> <el-collapse-item title="开立方式" name="opnp"> <m-opnp :model="model" :codes="codes" /> </el-collapse-item> <el-collapse-item title="概要" name="ovwp1"> <m-ovwp1 :model="model" :codes="codes" /> </el-collapse-item> <el-collapse-item title="当事人描述" name="ptyp"> <m-ptyp :model="model" :codes="codes" /> </el-collapse-item> <el-collapse-item title="详细信息" name="detp"> <m-detp :model="model" :codes="codes" /> </el-collapse-item> <el-collapse-item title="保函文本" name="gidtxtp"> <m-gidtxtp :model="model" :codes="codes"/> </el-collapse-item> <el-collapse-item title="确认详细信息" name="confp" v-if=" model.gitp.swiftflg == 'Y' && (model.gidgrp.rec.legfrm == 'STBY' || model.gidgrp.rec.purpos == 'ACNF')"> <m-confp :model="model" :codes="codes"/> </el-collapse-item> <el-collapse-item title="Seq C : 概要" name="ovwpc" v-if=" model.gidgrp.rec.purpos == 'ISCO' || model.gidgrp.rec.purpos == 'ICCO'"> <m-ovwpc :model="model" :codes="codes"/> </el-collapse-item> <el-collapse-item title="Seq C : 当事人描述" name="ptypc" v-if=" model.gidgrp.rec.purpos == 'ISCO' || model.gidgrp.rec.purpos == 'ICCO'"> <m-ptypc :model="model" :codes="codes"/> </el-collapse-item> <el-collapse-item title="Seq C : 演示/交付" name="preperpc" v-if=" model.gidgrp.rec.purpos == 'ISCO' || model.gidgrp.rec.purpos == 'ICCO'"> <m-preperpc :model="model" :codes="codes"/> </el-collapse-item> <el-collapse-item title="Seq C : 详细信息" name="detpc" v-if="model.gidgrp.rec.purpos == 'ISCO' || model.gidgrp.rec.purpos == 'ICCO'"> <m-detpc :model="model" :codes="codes"/> </el-collapse-item> <el-collapse-item title="Seq C : 保函文本" name="gidtxtpc" v-if="model.gidgrp.rec.purpos == 'ISCO' ||model.gidgrp.rec.purpos == 'ICCO'"> <m-gidtxtpc :model="model" :codes="codes"/> </el-collapse-item> <el-collapse-item title="Seq C : 附加金额" name="aacp" v-if="model.gitp.aacp.aacmod.addamtflg == 'X'"> <m-aacp :model="model" :codes="codes"/> </el-collapse-item> </el-collapse> </div> </template> <script> import Api from "~/service/Api"; import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable"; import Event from "../event"; import Opnp from "./Opnp"; import Ovwp1 from "./Ovwp1"; import Ptyp from "./Ptyp"; import Detp from "./Detp"; import Gidtxtp from "./Gidtxtp"; import Confp from "./Confp"; import Ovwpc from "./Ovwpc"; import Ptypc from "./Ptypc"; import Preperpc from "./Preperpc"; import Detpc from "./Detpc"; import Gidtxtpc from "./Gidtxtpc"; import Aacp from "./Aacp"; export default { components: { "m-opnp": Opnp, "m-ovwp1": Ovwp1, "m-ptyp": Ptyp, "m-detp": Detp, "m-gidtxtp": Gidtxtp, "m-confp": Confp, "m-ovwpc": Ovwpc, "m-ptypc": Ptypc, "m-preperpc": Preperpc, "m-detpc": Detpc, "m-gidtxtpc": Gidtxtpc, "m-aacp": Aacp, }, inject: ["root"], props: ["model", "codes"], mixins: [commonProcess, Event], data() { return { activeNames: ["opnp"], }; }, methods: {}, created: function () {}, computed: { }, }; </script> <style> .marginLable { padding-left: 160px; } </style>