<template>
  <div class="eibs-tab">
    <c-col :span="24" v-if="!isIss">
      <el-form-item
        :label="`${argadr.title}联行行号`"
        :prop="`didgrp.${argadr.rol}.pts.bankno`"
      >
        <c-input
          v-model="model.didgrp[argadr.rol].pts.bankno"
          maxlength="20"
          :disabled="disabledBankno"
          :placeholder="'请输入' + argadr.title + '联行行号'"
          @keyup.enter.native="showGridPromptDialog(`didigrp.${argadr.rol}.pts.bankno`)"
        ></c-input>
      </el-form-item>
    </c-col>
    <c-col :span="24" v-else>
      <el-form-item
        :label="`${argadr.title}联行行号`"
        :prop="`didgrp.${argadr.rol}.pts.bankno`"
      >
        <c-input
          v-model="model.didgrp[argadr.rol].pts.bankno"
          maxlength="20"
          :disabled="disabledBankno"
          :placeholder="'请输入' + argadr.title + '联行行号'"
        ></c-input>
      </el-form-item>
    </c-col>

    
      <c-col :span="24">
        <el-form-item
          :label="`${argadr.title}联行名称`"
          :prop="`didgrp.${argadr.rol}.pts.jigomc`"
        >
          <c-input
            type="textarea"
            :rows="2"
            v-model="model.didgrp[argadr.rol].pts.jigomc"
            maxlength="35"
            show-word-limit
            :placeholder="'请输入' + argadr.title + '联行名称'"
            :disabled="disabledJigomc"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item
          :label="`${argadr.title}地址`"
          :prop="`didgrp.${argadr.rol}.pts.dizhii`"
        >
          <c-input
            type="textarea"
            :rows="2"
            v-model="model.didgrp[argadr.rol].pts.dizhii"
            maxlength="35"
            show-word-limit
            :placeholder="'请输入' + argadr.title + '地址'"
            :disabled="disabledDizhii"
          ></c-input>
        </el-form-item>
      </c-col>

        
  </div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
// 机构信息模块
export default {
  inject: ["root"],
  mixins: [CommonProcess],

  props: {
    model: {
      type: Object,
      default: undefined,
    },
    argadr: {
      type: Object,
      default: function () {
        return {
          title: "", //角色名称
          rol: "", //角色
        };
      },
    },
    disabledBankno: {
      type: Boolean,
      default: false,
    },
    disabledJigomc: {
      type: Boolean,
      default: false,
    },
    disabledDizhii: {
      type: Boolean,
      default: false,
    },
    isIss: {
      //是否为开证行
      type: Boolean,
      default: false,
    },
  },
  data() {
    return {
      data: [],
    };
  },
  watch: {},
  methods: {
  },

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

</style>
