<template>
  <div class="eibs">
    <!-- ================= 左 ================== -->
    <c-col :span="12" style="padding-right: 20px">
      <c-col :span="24" class="fieldName">
        <c-ptap
          disabled
          :disabledExtkey="true"
          :disabledDetailTrn="true"
          :argadr="{
            title: this.model.lidgrp.rec.dkflg == 'X' ? 'Applicant Bank' : 'Applicant',
            grp: 'lidgrp',
            rol: 'apl',
          }"
          :haveAdrLabel="true"
          :isAdrblk="true"
          :model="model"
          :ptytyp="this.model.lidgrp.rec.dkflg == 'X' ? 'B,C' : 'C'" :isLabel120="false"></c-ptap>
      </c-col>
      <c-col :span="24" class="fieldName">
        <c-ptap
          disabled
          :disabledExtkey="true"
          :disabledDetailTrn="true"
          :argadr="{ title: 'Beneficiary', grp: 'lidgrp', rol: 'ben' }"
          :haveAdrLabel="true"
          :isAdrblk="true"
          :model="model"
          ptytyp="C" :isLabel120="false"></c-ptap>
      </c-col>
    </c-col>

    <!-- ================右  ==================== -->
    <c-col :span="12" style="padding-left: 20px">
      <c-col :span="24" class="fieldName">
        <c-ptap
          disabled
          :disabledExtkey="true"
          :disabledDetailTrn="true"
          :argadr="{ title: 'Advising Bank', grp: 'lidgrp', rol: 'adv' }"
          :haveAdrLabel="true"
          :isAdrblk="true"
          :model="model"
          ptytyp="B" :isLabel120="false"></c-ptap>
      </c-col>
      <c-col :span="24" class="fieldName" v-if="model.lidgrp.rec.dkflg == 'X'">
        <c-ptap
          disabled
          :disabledExtkey="true"
          :disabledRef="true"
          :argadr="{ title: 'Applicant', grp: 'lidgrp', rol: 'apo' }"
          :haveAdrLabel="true"
          :isFieldLabelVisible="true"
          :isAdrblk="true"
          :model="model"
          :requiredExtkey="true"
          ptytyp="C" :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 {};
  },
  methods: {
    handleEdit() {
      console.log("1111测试");
    },

    addRow() {},
    removeRow() {},
  },
  created: function () {},
  watch: {},
};
</script>
<style></style>