<template> <div class="eibs"> <!-- ================= 左 ================== --> <c-col :span="12" style="padding-right: 20px"> <c-col :span="24"> <c-ptap disabled :disabledExtkey="true" :argadr="{ title: '1st Beneficiary', grp: 'btdgrp', rol: 'be1' }" :haveAdrLabel="true" :isAdrblk="true" :model="model" ptytyp="B" :isLabel120="false"></c-ptap> </c-col> <c-col :span="24"> <c-ptap disabled :disabledExtkey="true" :argadr="{ title: '2nd Beneficiary', grp: 'btdgrp', rol: 'be2' }" :haveAdrLabel="true" :isAdrblk="true" :model="model" ptytyp="B" :isLabel120="false"></c-ptap> </c-col> </c-col> <!-- ================右 ==================== --> <c-col :span="12" style="padding-left: 20px"> <c-col :span="24"> <el-form-item label="Presented By" prop="btdgrp.rec.docprbrol"> <c-select v-model="model.btdgrp.rec.docprbrol" style="width: 100%" placeholder="请选择" dbCode="rolall" :filterKey = "docprbrolList" @change="docprbrolDefault" > <!-- @change="a" --> </c-select> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="Presented By Ref." prop="btdgrp.prb.pts.ref" style="width: 100%" > <c-input v-model="model.btdgrp.prb.pts.ref" maxlength="16" placeholder="" > </c-input> </el-form-item> </c-col> <c-col :span="24" > <c-ptap :disabledExtkey="this.model.btdgrp.rec.docprbrol !='PRB' && this.model.btdgrp.prb.pts.extkey.trim() != ''" :argadr="{ title: 'Presented By', grp: 'btdgrp', rol: 'prb' }" :noEditNameAndAddress="model.btdgrp.rec.docprbrol != 'PRB'" :haveAdrLabel="true" :isAdrblk="true" :model="model" ptytyp="B" :isLabel120="false"></c-ptap> </c-col> </c-col> </div> </template> <script> import Api from "~/service/Api"; import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable"; import Event from "../event"; export default { inject: ["root"], props: ["model", "codes"], mixins: [commonProcess, Event], data() { return { ptsaddg: { columns: [ { title: "角色", width: "120px", dataIndex: "rol", show: "select", }, { title: "当事人", width: "180px", dataIndex: "ptyextkey", show: "input", }, { title: "名称", width: "250px", dataIndex: "nam", }, { title: "参考号", width: "250px", dataIndex: "ref", }, ], urls: "litp.ptsaddp.ptsaddg", }, }; }, computed: { docprbrolList() { let arr = [] if (this.model.ltdgrp.be2.ptytyp ) { arr.push('BE2') } if (this.model.ltdgrp.a2t.ptytyp ) { arr.push('A2T') } if (this.model.ltdgrp.adt.ptytyp ) { arr.push('ADT') } arr.push('PRB') return arr }, }, methods: { handleEdit() { console.log("1111测试"); }, addRow() {}, removeRow() {}, }, created: function () {}, }; </script> <style></style>