<template>
  <div class="eibs">
    <!-- ==================左边================ -->
    <c-col :span="12" style="padding-right: 20px;">
      <c-col :span="24">
        <c-ptap :disabled="true" :disabledExtkey="true"
          :model="model" :isAdrblk="true" :haveAdrLabel="false" 
          :requiredExtkey="true" 
          :disabledRef="true"
          :charmod="0"
          :argadr="{ title: $t('Drawer'), grp: 'bodgrp', rol: 'drr'}" :ptytyp="'C'" :isLabel120="false"></c-ptap>
      </c-col>

      <c-col :span="24">
        <c-ptap :disabled="true" :disabledExtkey="true"
        :charmod="0"
        :model="model" :isAdrblk="true" :disabledRef="true" :haveAdrLabel="false" :requiredExtkey="true" :argadr="{ title: $t('Collecting Bank'), grp: 'bodgrp', rol: 'col'}" :ptytyp="'B'" :isLabel120="false"></c-ptap>
      </c-col>
    </c-col>

    <!-- ============右边================= -->
    <c-col :span="12" style="padding-left: 20px;">
      <c-col :span="24">
        <c-ptap :disabled="true" :disabledExtkey="true"
        :charmod="0"
        :model="model" :isAdrblk="true" :disabledRef="true" :haveAdrLabel="false" :requiredExtkey="true" :argadr="{ title: $t('Drawee'), grp: 'bodgrp', rol: 'dre'}" :ptytyp="'C'" :isLabel120="false"></c-ptap>
      </c-col>
    </c-col>
  </div>
</template>
<script>
import event from "../event";

export default {
  components: {},
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [event],
  data() {
    return {
      ptsaddg: {
        columns: [
          {
            title: "角色",
            width: "120px",
            dataIndex: "rol",
            show: "select"
          },
          {
            title: "机构实体",
            width: "180px",
            dataIndex: "ptyextkey",
            show: "input"
          },
          {
            title: "名称",
            width: "300px",
            dataIndex: "nam"
          },
          {
            title: "参考地址",
            width: "300px",
            dataIndex: "ref"
          }
        ],
        urls: "botp.ptsaddp.ptsaddg"
      }
    };
  },
  methods: {},
  created: function() {}
};
</script>
<style>
</style>