<template>
  <div class="eibs-tab">
    <!--=================顶部=================  -->
    <c-col :span="24">
      <c-col :span="8">
        <el-form-item label="业务编号" prop="cptp.recget.sdamod.dadsnd">
          <c-input
            v-model="model.cptp.recget.sdamod.dadsnd"
            placeholder=""
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="4">
        <el-form-item label="" label-width="15px">
          <c-button
            size="small"
            type="primary"
            @click="onSeainf"
            icon="el-icon-search"
          >
          </c-button>
          <c-button
            style="margin:0 0"
            size="small"
            type="primary"          
            :disabled="this.flag"
            @click="onCptpGetref">
            获取
          </c-button>
        </el-form-item>
      </c-col>
      <c-col :span="11">
        <el-form-item label="Name" prop="cpdgrp.rec.nam">
          <c-input
            v-model="model.cpdgrp.rec.nam"
            maxlength="16"
            placeholder=""
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>
    <!-- <c-col :span="11" :offset="1">
      <el-form-item label="Our Reference">
        <c-input
          v-model="model.cpdgrp.rec.ownref"
          maxlength="16"
          placeholder="请输入Our Reference"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <!-- <c-col :span="9">
      <el-form-item label="">
        <c-input
          v-model="model.cptp.recget.sdamod.seainf"
          placeholder="请输入"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11">
      <el-form-item label="Externally Displayed Name to Identify the Contract">
        <c-input
          v-model="model.cpdgrp.rec.nam"
          maxlength="40"
          placeholder="请输入Externally Displayed Name to Identify the Contract"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <c-col>
      <!-- ===================中部--左==================== -->
      <c-col :span="11" style="margin-top: 10px">
        <c-col :span="24">
          <el-form-item label="清算编号" prop="cpdgrp.rec.sysno">
            <c-input
              v-model="model.cpdgrp.rec.sysno"
              style="width: 80%"
              maxlength="21"
              placeholder="请输入清算编号"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <c-col :span="14">
            <el-form-item label="汇款金额" prop="cpdgrp.cbs.nom1.cur">
              <c-select
                v-model="model.cpdgrp.cbs.nom1.cur"
                style="width: 100%"
                placeholder=""
                @change="onNom1CurChange"
              >
                <el-option
                  v-for="item in codes.cur"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="10">
            <el-form-item
              label=""
              label-width="15px"
              prop="cpdgrp.cbs.nom1.amt"
            >
              <c-input
                v-model="model.cpdgrp.cbs.nom1.amt"
                placeholder="请输入汇款金额"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>

        <c-col :span="24">
          <c-col :span="12">
            <el-form-item label="所属行" prop="cpdgrp.rec.othbch">
              <c-input
                v-model="model.cpdgrp.rec.othbch"
                maxlength="8"
                placeholder=""
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="10">
            <el-form-item label="汇款语种" label-width="100px">
              <c-select
                v-model="model.cptp.payuil"
                style="width: 95%"
                placeholder="请选择汇款语种"
                @change="onPayuilChange"
              >
                <el-option
                  v-for="item in codes.payuil"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
              </c-select>
            </el-form-item>
          </c-col>
        </c-col>

        <c-col :span="24">
          <c-col :span="12">
            <el-form-item label="是否需要核验" prop="cpdgrp.rec.ischktyp">
              <c-select
                v-model="model.cpdgrp.rec.ischktyp"
                style="width: 100%"
                placeholder=""
              >
                <el-option
                  v-for="item in codes.ischktyp"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="11" :offset="1">
            <el-form-item
              label="预计核验日期"
              label-width="120px"
              prop="cpdgrp.rec.paydat"
            >
              <c-date-picker
                type="date"
                v-model="model.cpdgrp.rec.paydat"
                value-format="yyyy-MM-dd"
                style="width: 100%"
                placeholder=""
                disabled
              ></c-date-picker>
            </el-form-item>
          </c-col>
        </c-col>

        <c-col :span="19">
          <el-form-item label="我行费用负担">
            <c-select
              v-model="model.cpdgrp.rec.detchgcod"
              style="width: 100%"
              placeholder=""
            >
              <el-option
                v-for="item in codes.detchgcod"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="货物类型">
            <c-select
              v-model="model.cpdgrp.rec.stagod"
              style="width: 100%"
              placeholder="请选择货物类型"
            >
              <el-option
                v-for="item in codes.godcod"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </c-select>
          </el-form-item>
        </c-col>
      </c-col>

      <!-- ===================中部--右==================== -->
      <c-col :span="11" :offset="1" style="margin-top: 10px">
        <c-col :span="24">
          <c-col :span="13">
            <el-form-item label="汇款性质" prop="cpdgrp.rec.trntyp">
              <c-select
                v-model="model.cpdgrp.rec.trntyp"
                style="width: 100%"
                placeholder="请选择汇款性质"
              >
                <el-option
                  v-for="item in trntyp"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="10">
            <el-form-item
              label="汇款方式"
              label-width="120px"
              prop="cpdgrp.rec.paytype"
            >
              <c-select
                v-model="model.cpdgrp.rec.paytype"
                style="width: 100%"
                placeholder="请选择汇款方式"
              >
                <el-option
                  v-for="item in codes.paytype"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
              </c-select>
            </el-form-item>
          </c-col>
        </c-col>

        <c-col :span="24">
          <c-col :span="13">
            <el-form-item label="收款对象" prop="cpdgrp.rec.gors">
              <c-select
                v-model="model.cpdgrp.rec.gors"
                style="width: 100%"
                placeholder="请选择收款对象"
              >
                <el-option
                  v-for="item in codes.gors"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="10">
            <el-form-item
              label="收支类型"
              label-width="120px"
              prop="cpdgrp.rec.sztyp"
            >
              <c-select
                v-model="model.cpdgrp.rec.sztyp"
                style="width: 100%"
                placeholder="请选择收支类型"
              >
                <el-option
                  v-for="item in codes.sztyp"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
              </c-select>
            </el-form-item>
          </c-col>
        </c-col>

        <c-col :span="24">
          <el-form-item label="" v-if="true"></el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="" v-if="true"></el-form-item>
        </c-col>

        <c-col :span="24">
          <c-col :span="13">
            <el-form-item label="客户类型" prop="cpdgrp.rec.clityp">
              <c-select
                v-model="model.cpdgrp.rec.clityp"
                style="width: 100%"
                placeholder="请选择客户类型"
              >
                <el-option
                  v-for="item in codes.clityp"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="10">
            <el-form-item
              label="报文类型"
              label-width="120px"
              prop="cpdgrp.rec.swftyp"
            >
              <c-select
                style="width: 100%"
                placeholder=""
                v-model="model.cpdgrp.rec.swftyp"
                :disabled="model.cptp.liqtyp != 'C' && model.cptp.liqtyp != 'S' && model.cptp.liqtyp != ''"
              >
                <el-option
                  v-for="item in codes.swftyp"
                  :label="item.label"
                  :value="item.value"
                  :key="item.value"
                ></el-option>
              </c-select>
            </el-form-item>
          </c-col>
        </c-col>

        <c-col :span="24">
          <c-col :span="13">
            <el-form-item
              label="收款人常驻国家/地区代码"
              prop="cptp.payeecountcode"
            >
              <c-input
                v-model="model.cptp.payeecountcode"
                maxlength="3"
                placeholder="请输入收款人常驻国家/地区代码"
                @keyup.enter.native="
                  showGridPromptDialog('cptp.payeecountcode')
                "
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="2" :offset="1">
            <c-button size="small" type="primary" @click="onCptpGetinf">
              ?
            </c-button>
          </c-col>
        </c-col>

        <c-col :span="24">
          <c-col :span="14">
            <el-form-item
              label="清算模式"
              v-if="model.cpdgrp.cbs.nom1.cur === 'CNY'"
            >
              <c-select
                v-model="model.cptp.liqtyp"
                style="width: 100%"
                placeholder="请选择清算模式"
                :disabled="model.cpdgrp.cbs.nom1.amt === '0.000'"
              >
                <el-option
                  v-for="item in liqtypOptions"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
              </c-select>
            </el-form-item>
            <el-form-item
              label=""
              v-if="!(model.cpdgrp.cbs.nom1.cur === 'CNY')"
            ></el-form-item>
          </c-col>

          <c-col :span="4" :offset="4">
            <c-checkbox v-model="model.cpdgrp.rec.tsnflg">同名划转</c-checkbox>
          </c-col>
        </c-col>
      </c-col>
    </c-col>

    <c-col
      :span="24"
      v-if="model.cptp.liqtyp === '' || model.cpdgrp.cbs.nom1.amt === '0.000'"
    >
      <!-- ================底部--左================= -->
      <c-col :span="11" style="margin-top: 10px">
        <c-col :span="24">
          <el-form-item
            label="Ordering institution (52a)"
            prop="cpdgrp.ori.pts.ref"
          >
            <c-input
              v-model="model.cpdgrp.ori.pts.ref"
              style="width: 90%"
              maxlength="16"
              placeholder=""
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <c-col :span="17">
            <el-form-item label="">
              <c-input placeholder="" ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="7">
            <el-form-item label="" label-width="15px">
              <c-button
                size="small"
                type="primary"
                @click="onCptpGetInfpta"
                icon="el-icon-search"
              >
              </c-button>
              <c-button size="small" type="primary" @click="onSndpDet" disabled>
                详情
              </c-button>
            </el-form-item>
          </c-col>
        </c-col>

        <c-col :span="18">
          <el-form-item label="">
            <c-input
              type="textarea"
              :rows="4"
              maxlength="140"
              v-model="model.cpdgrp.ori.pts.adrblk"
              show-word-limit
              placeholder="请输入Address Block"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="汇款人" prop="cpdgrp.orc.pts.ref">
            <c-input
              v-model="model.cpdgrp.orc.pts.ref"
              style="width: 90%"
              maxlength="16"
              placeholder=""
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="账号" prop="cpdgrp.rec.orcact">
            <c-input
              v-model="model.cpdgrp.rec.orcact"
              style="width: 90%"
              maxlength="35"
              placeholder="汇款人账号"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <c-col :span="17">
            <el-form-item label="">
              <c-input 
                v-model="model.cpdgrp.orc.pts.extkey"
                placeholder="请输入汇款人客户号" >
              </c-input>
            </el-form-item>
          </c-col>
          <c-col :span="7">
            <el-form-item label="" label-width="15px">
              <c-button
                size="small"
                type="primary"
                @click="onCptpGetInfpta"
                icon="el-icon-search"
              >
              </c-button>
              <c-button size="small" type="primary" @click="onSndpDet" disabled>
                详情
              </c-button>
            </el-form-item>
          </c-col>
        </c-col>

        <c-col :span="18">
          <el-form-item label="">
            <c-input
              type="textarea"
              :rows="4"
              maxlength="140"              
              v-model="model.cpdgrp.orc.pts.adrblk"
              show-word-limit
              placeholder="请输入Address Block"
            ></c-input>
          </el-form-item>
        </c-col>

      </c-col>

      <!-- ================底部--右================= -->
      <c-col :span="11" :offset="1" style="margin-top: 10px">
        <c-col :span="24">
          <c-col :span="17">
            <el-form-item label="发报行">
              <c-input placeholder="" disabled></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="7">
            <el-form-item label="" label-width="15px">
              <c-button
                size="small"
                type="primary"
                @click="onCptpGetInfpta"
                icon="el-icon-search"
              >
              </c-button>
              <c-button size="small" type="primary" @click="onSndpDet" disabled>
                详情
              </c-button>
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="24">
          <el-form-item label="">
            <c-input placeholder="" disabled style="width: 90%"></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="指令代码" prop="cpdgrp.rec.f23e">
            <c-input
              v-model="model.cpdgrp.rec.f23e"
              style="width: 90%"
              maxlength="35"
              placeholder="请输入指令代码"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <c-col :span="14">
            <el-form-item label="原始金额" prop="cpdgrp.rec.curf33b">
              <c-select
                v-model="model.cpdgrp.rec.curf33b"
                style="width: 100%"
                placeholder=""
              >
                <el-option
                  v-for="item in codes.cur"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="10">
            <el-form-item label="" label-width="15px" prop="cpdgrp.rec.amtf33b">
              <c-input
                v-model="model.cpdgrp.rec.amtf33b"
                placeholder="请输入原始金额"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>

        <c-col :span="24">
          <el-form-item label="汇率" prop="cpdgrp.rec.f36">
            <c-input
              v-model="model.cpdgrp.rec.f36"
              style="width: 30%"
              placeholder=""
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <c-col :span="14">
            <el-form-item label="发报行扣费金额" prop="cpdgrp.rec.cur71f">
              <c-select v-model="model.cpdgrp.rec.cur71f" placeholder="">
                <el-option
                  v-for="item in codes.cur"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="10">
            <el-form-item label="" label-width="15px" prop="cpdgrp.rec.amt71f">
              <c-input
                v-model="model.cpdgrp.rec.amt71f"
                placeholder="请输入发报行扣费金额"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>

        <c-col :span="24">
          <el-form-item label="银行操作码" prop="cpdgrp.rec.f23b">
            <c-input
              v-model="model.cpdgrp.rec.f23b"
              style="width: 20%"
              maxlength="4"
              placeholder=""
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="账号" prop="cpdgrp.rec.pyeact">
            <c-input
              v-model="model.cpdgrp.rec.pyeact"
              style="width: 90%"
              maxlength="35"
              placeholder="请输入账号"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <c-col :span="17">
            <el-form-item label="收款人" prop="cpdgrp.orc.pts.extkey">
              <c-input
                v-model="model.cpdgrp.orc.pts.extkey"
                maxlength="14"
                placeholder="请输入收款人"
                @keyup.enter.native="
                  showGridPromptDialog('cpdgrp.orc.pts.extkey')
                "
              ></c-input>
            </el-form-item>
          </c-col>

          <c-col :span="7">
            <el-form-item label="" label-width="15px">
              <c-button
                size="small"
                type="primary"
                @click="onCptpGetInfpta"
                icon="el-icon-search"
              >
              </c-button>
              <c-button size="small" type="primary" @click="onSndpDet" disabled>
                详情
              </c-button>
            </el-form-item>
          </c-col>
        </c-col>

        <c-col :span="18">
          <el-form-item label="">
            <c-input
              type="textarea"
              :rows="4"
              maxlength="140"              
              v-model="model.cpdgrp.pye.pts.adrblk"
              show-word-limit
              placeholder="请输入Address Block"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>
    </c-col>

    <!-- ====================清算模式-人行支付系统===================== -->
    <c-col :span="24" v-if="model.cptp.liqtyp === 'B'" style="margin-top: 10px">
      <!-- =========左========== -->
      <c-col :span="11">
        <c-col :span="24">
          <el-form-item label="付款人名称">
            <c-input
              type="textarea"
              v-model="model.cptp.orcnam"
              maxlength="40"
              show-word-limit
              placeholder="请输入付款人名称"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="付款人地址">
            <c-input
              type="textarea"
              v-model="model.cptp.orcadr"
              maxlength="40"
              show-word-limit
              placeholder="请输入付款人地址"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="收款人名称">
            <c-input
              type="textarea"
              v-model="model.cptp.pyenam"
              maxlength="40"
              show-word-limit
              placeholder="请输入收款人名称"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="收款人地址">
            <c-input
              type="textarea"
              v-model="model.cptp.pyeadr"
              maxlength="40"
              show-word-limit
              placeholder="请输入收款人地址"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="账号" prop="cpdgrp.rec.orcact">
            <c-input
              v-model="model.cpdgrp.rec.orcact"
              style="width: 90%"
              maxlength="35"
              placeholder=""
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <c-col :span="17">
            <el-form-item label="汇款人">
              <c-input
                v-model="model.cpdgrp.snd.pts.extkey"
                maxlength="16"
                placeholder="请输入汇款人"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="7">
            <el-form-item label="" label-width="15px">
              <c-button
                size="small"
                type="primary"
                @click="onCptpGetInfpta"
                icon="el-icon-search"
              ></c-button>
              <c-button size="small" type="primary" disabled>详情</c-button>
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="24">
          <el-form-item label="">
            <c-input
              type="textarea"
              v-model="model.cpdgrp.orc.namelc"
              maxlength="35"
              show-word-limit
              placeholder="请输入名称"
              style="width: 90%"
              readonly
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>

      <!-- =========右========== -->
      <c-col :span="11" :offset="1">
        <c-col :span="24">
          <el-form-item label="接收行名称">
            <c-input
              maxlength="12"
              placeholder="请输入接收行名称"
              style="width: 90%"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <c-col :span="18">
            <el-form-item label="接收行行号">
              <c-input
                v-model="model.cptp.resbch"
                maxlength="12"
                placeholder="请输入接收行行号"
                readonly
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="2" :offset="1">
            <c-checkbox v-model="model.cptp.flg">电汇凭证</c-checkbox>
          </c-col>
        </c-col>

        <c-col :span="24"
          ><el-form-item label="业务种类">
            <c-select
              v-model="model.cptp.bustyp"
              style="width: 60%"
              placeholder="请选择业务种类"
              disabled
            >
              <el-option
                v-for="item in codes.bustyp"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <c-col :span="12">
            <el-form-item label="收款人开户行名称">
              <c-input
                v-model="model.cptp.pyebchnam"
                maxlength="38"
                placeholder="请输入收款人开户行名称"
                readonly
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="10">
            <el-form-item label="二代模式" label-width="120px">
              <c-select
                v-model="model.cptp.secmod"
                style="width: 90%"
                placeholder="请选择二代模式"
                disabled
              >
                <el-option
                  v-for="item in codes.secmod"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="2"
            ><c-button size="small" type="primary" @click="onCptpGetmod">
              获取
            </c-button></c-col
          >
        </c-col>
        <c-col :span="24">
          <el-form-item label="附言">
            <c-input
              type="textarea"
              v-model="model.cptp.commet"
              maxlength="35"
              show-word-limit
              placeholder="请输入附言"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="账号" prop="cpdgrp.rec.pyeact">
            <c-input
              v-model="model.cpdgrp.rec.act"
              style="width: 90%"
              maxlength="35"
              placeholder=""
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <c-col :span="17">
            <el-form-item label="收款人">
              <c-input
                v-model="model.cpdgrp.snd.pts.extkey"
                maxlength="16"
                placeholder="请输入收款人"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="7">
            <el-form-item label="" label-width="15px">
              <c-button
                size="small"
                type="primary"
                @click="onCptpGetInfpta"
                icon="el-icon-search"
              ></c-button>
              <c-button size="small" type="primary">详情</c-button>
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="24">
          <el-form-item label="">
            <c-input
              type="textarea"
              v-model="model.cpdgrp.orc.namelc"
              maxlength="35"
              show-word-limit
              placeholder="请输入名称"
              style="width: 90%"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>
    </c-col>

    <!-- ====================清算模式-CIPS系统===================== -->
    <c-col :span="24" v-if="model.cptp.liqtyp === 'S'" style="margin-top: 10px">
      <!-- =========左========== -->
      <c-col :span="11">
        <c-col :span="24">
          <el-form-item label="付款人名称">
            <c-input
              type="textarea"
              v-model="model.cptp.orcnam"
              maxlength="40"
              show-word-limit
              placeholder="请输入付款人名称"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="付款人地址">
            <c-input
              type="textarea"
              v-model="model.cptp.orcadr"
              maxlength="40"
              show-word-limit
              placeholder="请输入付款人地址"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="收款人名称">
            <c-input
              type="textarea"
              v-model="model.cptp.pyenam"
              maxlength="40"
              show-word-limit
              placeholder="请输入收款人名称"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="收款人地址">
            <c-input
              type="textarea"
              v-model="model.cptp.pyeadr"
              maxlength="40"
              show-word-limit
              placeholder="请输入收款人地址"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="账号" prop="cpdgrp.rec.orcact">
            <c-input
              v-model="model.cpdgrp.rec.orcact"
              style="width: 90%"
              maxlength="35"
              placeholder=""
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <c-col :span="17">
            <el-form-item label="汇款人">
              <c-input
                v-model="model.cpdgrp.snd.pts.extkey"
                maxlength="16"
                placeholder="请输入汇款人"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="7">
            <el-form-item label="" label-width="15px">
              <c-button
                size="small"
                type="primary"
                @click="onCptpGetInfpta"
                icon="el-icon-search"
              ></c-button>
              <c-button size="small" type="primary" disabled>详情</c-button>
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="24">
          <el-form-item label="">
            <c-input
              type="textarea"
              v-model="model.cpdgrp.orc.namelc"
              maxlength="35"
              show-word-limit
              placeholder="请输入名称"
              style="width: 90%"
              readonly
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>

      <!-- =========右========== -->
      <c-col :span="11" :offset="1">
        <c-col :span="4" :offset="18">
          <c-checkbox v-model="model.cptp.flg">电汇凭证</c-checkbox>
        </c-col>

        <c-col :span="24" style="margin-top: 15px">
          <el-form-item label="收款直参行号">
            <c-input
              v-model="model.cptp.reconebch"
              maxlength="35"
              style="width: 80%"
              placeholder="请输入收款直参行号"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="收款直参名称">
            <c-input
              type="textarea"
              v-model="model.cptp.reconebchnam"
              maxlength="35"
              style="width: 80%"
              show-word-limit
              placeholder="请输入收款直参名称"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24"
          ><el-form-item label="业务种类">
            <c-select
              v-model="model.cptp.bustyp"
              style="width: 60%"
              placeholder="请选择业务种类"
              disabled
            >
              <el-option
                v-for="item in codes.bustyp"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="附言">
            <c-input
              type="textarea"
              v-model="model.cptp.commet"
              maxlength="35"
              show-word-limit
              placeholder="请输入附言"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="账号" prop="cpdgrp.rec.pyeact">
            <c-input
              v-model="model.cpdgrp.rec.act"
              style="width: 90%"
              maxlength="35"
              placeholder=""
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <c-col :span="17">
            <el-form-item label="收款人">
              <c-input
                v-model="model.cpdgrp.snd.pts.extkey"
                maxlength="16"
                placeholder="请输入收款人"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="7">
            <el-form-item label="" label-width="15px">
              <c-button
                size="small"
                type="primary"
                @click="onCptpGetInfpta"
                icon="el-icon-search"
              ></c-button>
              <c-button size="small" type="primary">详情</c-button>
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="24">
          <el-form-item label="">
            <c-input
              type="textarea"
              v-model="model.cpdgrp.orc.namelc"
              maxlength="35"
              show-word-limit
              placeholder="请输入名称"
              style="width: 90%"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>
    </c-col>

    <!-- ======================清算模式-Other================ -->
    <c-col :span="24" v-if="model.cptp.liqtyp === 'O'" style="margin-top: 10px">
      <!-- ================左================= -->
      <c-col :span="11">
        <c-col :span="24">
          <el-form-item
            label="Ordering institution (52a)"
            prop="cpdgrp.ori.pts.ref"
          >
            <c-input
              v-model="model.cpdgrp.ori.pts.ref"
              style="width: 90%"
              maxlength="16"
              placeholder=""
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <c-col :span="17">
            <el-form-item label="">
              <c-input placeholder=""></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="7">
            <el-form-item label="" label-width="15px">
              <c-button
                size="small"
                type="primary"
                @click="onCptpGetInfpta"
                icon="el-icon-search"
              >
              </c-button>
              <c-button size="small" type="primary" @click="onSndpDet">
                详情
              </c-button>
            </el-form-item>
          </c-col>
        </c-col>

        <c-col :span="18">
          <el-form-item label="">
            <c-input
              type="textarea"
              :rows="4"
              maxlength="140"              
              v-model="model.cpdgrp.ori.pts.adrblk"
              show-word-limit
              placeholder="请输入Address Block"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="汇款人" prop="cpdgrp.orc.pts.ref">
            <c-input
              v-model="model.cpdgrp.orc.pts.ref"
              style="width: 90%"
              maxlength="16"
              placeholder=""
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="账号" prop="cpdgrp.rec.orcact">
            <c-input
              v-model="model.cpdgrp.rec.orcact"
              style="width: 90%"
              maxlength="35"
              placeholder=""
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <c-col :span="17">
            <el-form-item label="">
              <c-input placeholder=""></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="7">
            <el-form-item label="" label-width="15px">
              <c-button
                size="small"
                type="primary"
                @click="onCptpGetInfpta"
                icon="el-icon-search"
              >
              </c-button>
              <c-button size="small" type="primary" @click="onSndpDet" disabled>
                详情
              </c-button>
            </el-form-item>
          </c-col>
        </c-col>

        <c-col :span="18">
          <el-form-item label="">
            <c-input
              type="textarea"
              :rows="4"
              maxlength="140"              
              v-model="model.cpdgrp.orc.pts.adrblk"
              show-word-limit
              placeholder="请输入Address Block"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>

      <!-- ==============右================== -->
      <c-col :span="11" :offset="1">
        <c-col :span="24">
          <c-col :span="17">
            <el-form-item label="发报行">
              <c-input placeholder="" readonly></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="7">
            <el-form-item label="" label-width="15px">
              <c-button
                size="small"
                type="primary"
                @click="onCptpGetInfpta"
                icon="el-icon-search"
              >
              </c-button>
              <c-button size="small" type="primary" @click="onSndpDet" disabled>
                详情
              </c-button>
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="18">
          <el-form-item label="">
            <c-input
              type="textarea"
              :rows="4"
              maxlength="140"              
              v-model="model.cpdgrp.snd.pts.adrblk"
              show-word-limit
              placeholder="请输入Address Block"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="付款详情">
            <c-input
              type="textarea"
              placeholder=""
              readonly
              style="width: 90%"
              rows="3"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="收款人Ref." prop="cpdgrp.orc.pts.ref">
            <c-input
              v-model="model.cpdgrp.orc.pts.ref"
              style="width: 90%"
              maxlength="16"
              placeholder=""
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="账号" prop="cpdgrp.rec.pyeact">
            <c-input
              v-model="model.cpdgrp.rec.orcact"
              style="width: 90%"
              maxlength="35"
              placeholder=""
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <c-col :span="17">
            <el-form-item label="">
              <c-input placeholder=""></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="7">
            <el-form-item label="" label-width="15px">
              <c-button
                size="small"
                type="primary"
                @click="onCptpGetInfpta"
                icon="el-icon-search"
              >
              </c-button>
              <c-button size="small" type="primary" @click="onSndpDet" disabled>
                详情
              </c-button>
            </el-form-item>
          </c-col>
        </c-col>

        <c-col :span="18">
          <el-form-item label="">
            <c-input
              type="textarea"
              :rows="4"
              maxlength="140"
              v-model="model.cpdgrp.pye.pts.adrblk"
              show-word-limit
              placeholder="请输入Address Block"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>
    </c-col>

    <!-- ====================清算模式-代理行模式=================== -->
    <c-col :span="24" v-if="model.cptp.liqtyp === 'C'" style="margin-top: 10px">
      <!-- ==============左============== -->
      <c-col :span="11">
        <c-col :span="24">
          <el-form-item
            label="Ordering institution (52a)"
            prop="cpdgrp.ori.pts.ref"
          >
            <c-input
              v-model="model.cpdgrp.ori.pts.ref"
              style="width: 90%"
              maxlength="16"
              placeholder=""
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <c-col :span="17">
            <el-form-item label="">
              <c-input placeholder=""></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="7">
            <el-form-item label="" label-width="15px">
              <c-button
                size="small"
                type="primary"
                @click="onCptpGetInfpta"
                icon="el-icon-search"
              >
              </c-button>
              <c-button size="small" type="primary" @click="onSndpDet">
                详情
              </c-button>
            </el-form-item>
          </c-col>
        </c-col>

        <c-col :span="18">
          <el-form-item label="">
            <c-input
              type="textarea"
              :rows="4"
              maxlength="140"              
              v-model="model.cpdgrp.ori.pts.adrblk"
              show-word-limit
              placeholder="请输入Address Block"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="汇款人" prop="cpdgrp.orc.pts.ref">
            <c-input
              v-model="model.cpdgrp.orc.pts.ref"
              style="width: 90%"
              maxlength="16"
              placeholder=""
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="账号" prop="cpdgrp.rec.orcact">
            <c-input
              v-model="model.cpdgrp.rec.orcact"
              style="width: 90%"
              maxlength="35"
              placeholder=""
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <c-col :span="17">
            <el-form-item label="">
              <c-input placeholder=""></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="7">
            <el-form-item label="" label-width="15px">
              <c-button
                size="small"
                type="primary"
                @click="onCptpGetInfpta"
                icon="el-icon-search"
              >
              </c-button>
              <c-button size="small" type="primary" @click="onSndpDet" disabled>
                详情
              </c-button>
            </el-form-item>
          </c-col>
        </c-col>

        <c-col :span="18">
          <el-form-item label="">
            <c-input
              type="textarea"
              :rows="4"
              maxlength="140"              
              v-model="model.cpdgrp.orc.pts.adrblk"
              show-word-limit
              placeholder="请输入Address Block"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>
      <!-- ==============右============== -->
      <c-col :span="11" :offset="1">
        <c-col :span="24">
          <el-form-item label="清算代理行">
            <c-select
              v-model="model.cptp.cleage"
              style="width: 70%"
              placeholder="请选择清算代理行"
            >
              <el-option
                v-for="item in cleageOptions"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="光大开户行">
            <c-select
              v-model="model.cptp.evebch"
              style="width: 70%"
              placeholder="请选择光大开户行"
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="清算代理行账号">
            <c-input
              v-model="model.cptp.coract"
              maxlength="32"
              style="width: 90%"
              placeholder="请输入清算代理行账号"
              readonly
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="指令代码" prop="cpdgrp.rec.f23e">
            <c-input
              v-model="model.cpdgrp.rec.f23e"
              style="width: 90%"
              maxlength="35"
              placeholder="请输入指令代码"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <c-col :span="14">
            <el-form-item label="原始金额" prop="cpdgrp.rec.curf33b">
              <c-select
                v-model="model.cpdgrp.rec.curf33b"
                style="width: 100%"
                placeholder=""
              >
                <el-option
                  v-for="item in codes.cur"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="10">
            <el-form-item label="" label-width="15px" prop="cpdgrp.rec.amtf33b">
              <c-input
                v-model="model.cpdgrp.rec.amtf33b"
                placeholder="请输入原始金额"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>

        <c-col :span="24">
          <c-col :span="14">
            <el-form-item label="发报行扣费金额" prop="cpdgrp.rec.cur71f">
              <c-select v-model="model.cpdgrp.rec.cur71f" placeholder="">
                <el-option
                  v-for="item in codes.cur"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option>
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="10">
            <el-form-item label="" label-width="15px" prop="cpdgrp.rec.amt71f">
              <c-input
                v-model="model.cpdgrp.rec.amt71f"
                placeholder="请输入发报行扣费金额"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="24">
          <c-col :span="12">
            <el-form-item label="银行操作码" prop="cpdgrp.rec.f23b">
              <c-input
                v-model="model.cpdgrp.rec.f23b"
                style="width: 100%"
                maxlength="4"
                placeholder=""
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="12">
            <el-form-item
              label="汇率"
              prop="cpdgrp.rec.f36"
              label-width="100px"
            >
              <c-input
                v-model="model.cpdgrp.rec.f36"
                style="width: 100%"
                placeholder=""
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="24">
          <el-form-item label="账号" prop="cpdgrp.rec.pyeact">
            <c-input
              v-model="model.cpdgrp.rec.pyeact"
              style="width: 90%"
              maxlength="35"
              placeholder=""
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <c-col :span="17">
            <el-form-item label="收款人" prop="cpdgrp.orc.pts.extkey">
              <c-input
                placeholder=""
                v-model="model.cpdgrp.orc.pts.extkey"
                @keyup.enter.native="
                  showGridPromptDialog('cpdgrp.orc.pts.extkey')
                "
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="7">
            <el-form-item label="" label-width="15px">
              <c-button
                size="small"
                type="primary"
                @click="onCptpGetInfpta"
                icon="el-icon-search"
              >
              </c-button>
              <c-button size="small" type="primary" @click="onSndpDet" disabled>
                详情
              </c-button>
            </el-form-item>
          </c-col>
        </c-col>

        <c-col :span="18">
          <el-form-item label="">
            <c-input
              type="textarea"
              :rows="4"
              maxlength="140"              
              v-model="model.cpdgrp.pye.pts.adrblk"
              show-word-limit
              placeholder="请输入Address Block"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>
    </c-col>

    <!-- <c-col><div style="height: 100px"></div></c-col>

    <c-col :span="12">
      <span v-text="model.cptp.shktyp" data-path=".cptp.shktyp"> </span>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="Currency">
        <c-select
          v-model="model.cpdgrp.cbs.nom1.cur"
          style="width: 100%"
          placeholder="请选择Currency"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="11">
      <el-form-item label="Currency">
        <c-select
          v-model="model.cpdgrp.cbs.max.cur"
          style="width: 100%"
          placeholder="请选择Currency"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="11">
      <el-form-item label="汇款金额">
        <c-input
          v-model="model.cpdgrp.cbs.max.amt"
          placeholder="请输入汇款金额"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="9" :offset="1">
      <el-form-item label="Uetr">
        <c-input
          v-model="model.cptp.uetr"
          maxlength="40"
          placeholder="请输入Uetr"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="2" :offset="1">
      <c-button size="small" type="primary" @click="onCptpGetuetr">
        Get
      </c-button>
    </c-col>

    <c-col :span="12">
      <span v-text="model.cptp.paydatsta" data-path=".cptp.paydatsta"> </span>
    </c-col>

    <c-col :span="12">
      <span v-text="model.cptp.commetlab" data-path=".cptp.commetlab"> </span>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="自�'�区备注">
        <c-select
          v-model="model.cptp.comsystbl"
          style="width: 100%"
          placeholder="请选择自�'�区备注"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <span v-text="model.cptp.valdat" data-path=".cptp.valdat"> </span>
    </c-col>

    <c-col :span="11">
      <el-form-item label="Value Date">
        <c-date-picker
          type="date"
          v-model="model.cpdgrp.rec.valdat"
          style="width: 100%"
          placeholder="请选择Value Date"
        ></c-date-picker>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="Uil Payment">
        <c-select
          v-model="model.cptp.payuil"
          style="width: 100%"
          placeholder="请选择Uil Payment"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="PRECHKDAT">
        <c-date-picker
          type="date"
          v-model="model.cpdgrp.rec.prechkdat"
          style="width: 100%"
          placeholder="请选择PRECHKDAT"
        ></c-date-picker>
      </el-form-item>
    </c-col>

    <c-col :span="11">
      <el-form-item label="付款人常驻国家/地区代码">
        <c-input
          v-model="model.cptp.draweecountcode"
          maxlength="3"
          placeholder="请输入付款人常驻国家/地区代码"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="9">
      <el-form-item label="swift type">
        <c-select
          v-model="model.cpdgrp.rec.swftyp"
          style="width: 100%"
          placeholder="请选择swift type"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="2" :offset="1">
      <c-button
        size="small"
        type="primary"
        icon="el-icon-search"
        @click="onCptpSelbut"
      >
        ?
      </c-button>
    </c-col>

    <c-col :span="9">
      <el-form-item label="Details of Charges">
        <c-select
          v-model="model.cpdgrp.rec.detchgcod"
          style="width: 100%"
          placeholder="请选择Details of Charges"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="2" :offset="1">
      <c-button
        size="small"
        type="primary"
        icon="el-icon-search"
        @click="onCptpSelbut1"
      >
        ?
      </c-button>
    </c-col>

    <c-col :span="11">
      <el-form-item label="清算模式">
        <c-select
          v-model="model.cptp.liqtyp"
          style="width: 100%"
          placeholder="请选择清算模式"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="11">
      <el-form-item label="国外�'�用币种">
        <c-select
          v-model="model.cpdgrp.rec.feecur"
          style="width: 100%"
          placeholder="请选择国外�'�用币种"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="国外�'�用金额">
        <c-input
          v-model="model.cpdgrp.rec.feeamt"
          placeholder="请输入国外�'�用金额"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11">
      <el-form-item label="Good's Code for Statistics">
        <c-select
          v-model="model.cpdgrp.rec.stagod"
          style="width: 100%"
          placeholder="请选择Good's Code for Statistics"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <span v-text="model.cptp.feesta" data-path=".cptp.feesta"> </span>
    </c-col>

    <c-col :span="12">
      <span v-text="model.cptp.clmlab" data-path=".cptp.clmlab"> </span>
    </c-col>

    <c-col :span="11">
      <el-form-item label="付款人名称">
        <c-input
          type="textarea"
          v-model="model.cptp.orcnam"
          maxlength="40"
          show-word-limit
          placeholder="请输入付款人名称"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="Drag  Drop Sender">
        <c-input
          v-model="model.cptp.sndp.ptsget.sdamod.dadsnd"
          placeholder="请输入Drag  Drop Sender"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="清算代理行">
        <c-select
          v-model="model.cptp.cleage"
          style="width: 100%"
          placeholder="请选择清算代理行"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="11">
      <el-form-item label="External Key of Address">
        <c-input
          v-model="model.cpdgrp.snd.pts.extkey"
          maxlength="16"
          placeholder="请输入External Key of Address"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="12">
      <el-form-item label="汇款人名称">
        <c-input
          v-model="model.cptp.resbchnam"
          maxlength="42"
          placeholder="请输入汇款人名称"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="收款�'接参与者行号">
        <c-input
          v-model="model.cptp.reconebch"
          maxlength="35"
          placeholder="请输入收款�'接参与者行号"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11">
      <el-form-item label="名称">
        <c-input
          type="textarea"
          v-model="model.cpdgrp.snd.namelc"
          maxlength="35"
          show-word-limit
          placeholder="请输入名称"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="光大开户分行">
        <c-select
          v-model="model.cptp.evebch"
          style="width: 100%"
          placeholder="请选择光大开户分行"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="Address Block">
        <c-input
          type="textarea"
          v-model="model.cpdgrp.snd.pts.adrblk"
          maxlength="35"
          show-word-limit
          placeholder="请输入Address Block"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11">
      <el-form-item label="Chinese address">
        <c-input
          type="textarea"
          v-model="model.cpdgrp.snd.dbfadrblkcn"
          maxlength="35"
          show-word-limit
          placeholder="请输入Chinese address"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="Name of Party">
        <c-input
          v-model="model.cpdgrp.snd.pts.nam"
          maxlength="40"
          placeholder="请输入Name of Party"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="接收行行号">
        <c-input
          v-model="model.cptp.resbch"
          maxlength="12"
          placeholder="请输入接收行行号"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="8" :offset="3">
      <c-checkbox v-model="model.cptp.flg">电汇凭证</c-checkbox>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="付款人地址">
        <c-input
          type="textarea"
          v-model="model.cptp.orcadr"
          maxlength="40"
          show-word-limit
          placeholder="请输入付款人地址"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11">
      <el-form-item label="Drag  Drop Sender">
        <c-input
          v-model="model.cptp.orip.ptsget.sdamod.dadsnd"
          placeholder="请输入Drag  Drop Sender"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="External Key of Address">
        <c-input
          v-model="model.cpdgrp.ori.pts.extkey"
          maxlength="16"
          placeholder="请输入External Key of Address"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="9">
      <el-form-item label="">
        <c-input
          v-model="model.cptp.orip.ptsget.sdamod.seainf"
          placeholder="请输入"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="2" :offset="1">
      <c-button size="small" type="primary" @click="onOripDet">
        Details
      </c-button>
    </c-col>

    <c-col :span="11">
      <el-form-item label="清算代理行账号">
        <c-input
          v-model="model.cptp.coract"
          maxlength="32"
          placeholder="请输入清算代理行账号"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11">
      <el-form-item label="收款�'接参与者名称">
        <c-input
          type="textarea"
          v-model="model.cptp.reconebchnam"
          maxlength="35"
          show-word-limit
          placeholder="请输入收款�'接参与者名称"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="业务种类">
        <c-select
          v-model="model.cptp.bustyp"
          style="width: 100%"
          placeholder="请选择业务种类"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="11">
      <el-form-item label="地址">
        <c-input
          type="textarea"
          v-model="model.cpdgrp.snd.adrelc"
          maxlength="35"
          show-word-limit
          placeholder="请输入地址"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="名称">
        <c-input
          type="textarea"
          v-model="model.cpdgrp.ori.namelc"
          maxlength="35"
          show-word-limit
          placeholder="请输入名称"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11">
      <el-form-item label="Address Block">
        <c-input
          type="textarea"
          v-model="model.cpdgrp.ori.pts.adrblk"
          maxlength="35"
          show-word-limit
          placeholder="请输入Address Block"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="Chinese address">
        <c-input
          type="textarea"
          v-model="model.cpdgrp.ori.dbfadrblkcn"
          maxlength="35"
          show-word-limit
          placeholder="请输入Chinese address"
        ></c-input>
      </el-form-item>
    </c-col>

    

    <c-col :span="11">
      <el-form-item label="收款人名称">
        <c-input
          type="textarea"
          v-model="model.cptp.pyenam"
          maxlength="40"
          show-word-limit
          placeholder="请输入收款人名称"
        ></c-input>
      </el-form-item>
    </c-col>

    

    <c-col :span="24">
      <span v-text="model.cptp.seclab" data-path=".cptp.seclab"> </span>
    </c-col>

    <c-col :span="11">
      <el-form-item label="Content of TAG 70">
        <c-input
          type="textarea"
          v-model="model.cpdgrp.blk.contag70"
          maxlength="35"
          show-word-limit
          placeholder="请输入Content of TAG 70"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="地址">
        <c-input
          type="textarea"
          v-model="model.cpdgrp.ori.adrelc"
          maxlength="35"
          show-word-limit
          placeholder="请输入地址"
        ></c-input>
      </el-form-item>
    </c-col>

    

    <c-col :span="11" :offset="1">
      <el-form-item label="收款人开户行名称">
        <c-input
          v-model="model.cptp.pyebchnam"
          maxlength="38"
          placeholder="请输入收款人开户行名称"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11">
      <el-form-item label="二代模式">
        <c-select
          v-model="model.cptp.secmod"
          style="width: 100%"
          placeholder="请选择二代模式"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="收款人地址">
        <c-input
          type="textarea"
          v-model="model.cptp.pyeadr"
          maxlength="40"
          show-word-limit
          placeholder="请输入收款人地址"
        ></c-input>
      </el-form-item>
    </c-col>

    

    <c-col :span="11">
      <el-form-item label="附言">
        <c-input
          type="textarea"
          v-model="model.cptp.commet"
          maxlength="35"
          show-word-limit
          placeholder="请输入附言"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="收款人">
        <c-input
          v-model="model.cpdgrp.pye.pts.ref"
          maxlength="16"
          placeholder="请输入收款人"
        ></c-input>
      </el-form-item>
    </c-col>

    

    

    <c-col :span="11" :offset="1">
      <el-form-item label="Drag  Drop Sender">
        <c-input
          v-model="model.cptp.orcp.ptsget.sdamod.dadsnd"
          placeholder="请输入Drag  Drop Sender"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11">
      <el-form-item label="External Key of Address">
        <c-input
          v-model="model.cpdgrp.orc.pts.extkey"
          maxlength="16"
          placeholder="请输入External Key of Address"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="9" :offset="1">
      <el-form-item label="">
        <c-input
          v-model="model.cptp.orcp.ptsget.sdamod.seainf"
          placeholder="请输入"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="2" :offset="1">
      <c-button size="small" type="primary" @click="onOrcpDet">
        Details
      </c-button>
    </c-col>

    <c-col :span="11" :offset="12">
      <el-form-item label="Drag  Drop Sender">
        <c-input
          v-model="model.cptp.pyep.ptsget.sdamod.dadsnd"
          placeholder="请输入Drag  Drop Sender"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11">
      <el-form-item label="External Key of Address">
        <c-input
          v-model="model.cpdgrp.pye.pts.extkey"
          maxlength="16"
          placeholder="请输入External Key of Address"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="8" :offset="1">
      <el-form-item label="">
        <c-input
          v-model="model.cptp.pyep.ptsget.sdamod.seainf"
          placeholder="请输入"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="1" style="margin-left: 10px">
      <c-button size="small" type="primary" @click="onPyepDet">
        Details
      </c-button>
    </c-col>

    <c-col :span="1" style="margin-left: 20px">
      <c-button size="small" type="primary" @click="onCptpSerpty">
        查询客户号
      </c-button>
    </c-col>

    <c-col :span="11">
      <el-form-item label="名称">
        <c-input
          type="textarea"
          v-model="model.cpdgrp.orc.namelc"
          maxlength="35"
          show-word-limit
          placeholder="请输入名称"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="Address Block">
        <c-input
          type="textarea"
          v-model="model.cpdgrp.orc.pts.adrblk"
          maxlength="35"
          show-word-limit
          placeholder="请输入Address Block"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11">
      <el-form-item label="Chinese address">
        <c-input
          type="textarea"
          v-model="model.cpdgrp.orc.dbfadrblkcn"
          maxlength="35"
          show-word-limit
          placeholder="请输入Chinese address"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="名称">
        <c-input
          type="textarea"
          v-model="model.cpdgrp.pye.namelc"
          maxlength="35"
          show-word-limit
          placeholder="请输入名称"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11">
      <el-form-item label="Address Block">
        <c-input
          type="textarea"
          v-model="model.cpdgrp.pye.pts.adrblk"
          maxlength="35"
          show-word-limit
          placeholder="请输入Address Block"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="Chinese address">
        <c-input
          type="textarea"
          v-model="model.cpdgrp.pye.dbfadrblkcn"
          maxlength="35"
          show-word-limit
          placeholder="请输入Chinese address"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11">
      <el-form-item label="地址">
        <c-input
          type="textarea"
          v-model="model.cpdgrp.orc.adrelc"
          maxlength="35"
          show-word-limit
          placeholder="请输入地址"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="地址">
        <c-input
          type="textarea"
          v-model="model.cpdgrp.pye.adrelc"
          maxlength="35"
          show-word-limit
          placeholder="请输入地址"
        ></c-input>
      </el-form-item>
    </c-col> -->

    <el-dialog
      :fullscreen="true"
      :visible.sync="infptaVisible"
      top="10vh"
      width="80%"
      custom-class="infptaDialog"
      :before-close="handleClose"
    >
      <Infpta></Infpta>
    </el-dialog>
  </div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Cptopn/Event";
import Utils from "~/utils";
import Infpta from "~/views/Business/Infpta";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  components: { Infpta },
  mixins: [CommonProcess],
  data() {
    return {
      trntyp: [
        { value: "0", label: "贸易" },
        { value: "1", label: "非贸易" },
        { value: "2", label: "资本" },
        { value: "3", label: "其他" },
      ],
      liqtypOptions: [
        { value: "B", label: "人行支付系统" },
        { value: "C", label: "代理行模式" },
        { value: "O", label: "Other" },
        { value: "S", label: "CIPS系统" },
      ],
      infptaVisible: false,
    };
  },
  methods: {
    ...Event,
    onCptpGetInfpta() {
      this.infptaVisible = true;
    },
    onCptpGetref() {},
    onCptpGetmod() {},
    handleClose(done) {
      done();
    },
  },
  created: function () {},
  computed: {
    flag() {
      return this.model.cpdgrp.orc.pts.extkey == "" || this.model.cpdgrp.rec.ownref != "";
    },
  },
};
</script>
<style>
/* .infptaDialog {
  height: 80%;
} */
</style>
