<template>
  <div class="eibs-tab">
    <!-- ==================左边================ -->
    <c-col :span="11">
      <c-col :span="24">
        <el-form-item label="Reference" prop="gidgrp.rec.ownref">
          <c-fullbox>
            <c-input
              v-model="model.gidgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入Reference"
              disabled
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf"
              >
                <span
                  style="
                    font-size: 15px;
                    font-family: '宋体';
                    font-weight: bold;
                  "
                  >i</span
                >
              </c-button>
              <c-button
                style="margin: 0 0"
                disabled
                size="small"
                type="primary"
                @click="onGitpButgetref"
              >
                Get Ref.
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item
          v-if="model.gitp.swiftflg == 'N'"
          label="Responsible User"
          prop="gitp.usr.extkey"
        >
          <c-fullbox>
            <c-input
              v-model="model.gitp.usr.extkey"
              maxlength="8"
              placeholder="请输入Responsible User"
              disabled
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
              >
                <span
                  style="
                    font-size: 15px;
                    font-family: '宋体';
                    font-weight: bold;
                  "
                  >i</span
                >
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <c-col :span="12">
          <el-form-item label="Guarantee Amount" prop="gidgrp.cbs.max.cur">
            <c-select
              disabled
              v-model="model.gidgrp.cbs.max.cur"
              style="width: 100%"
              placeholder="请选择Guarantee Amount"
            >
              <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="8">
          <c-input
            v-model="model.gidgrp.cbs.max.amt"
            style="margin: 0 0 0 10px; width: 80%"
            placeholder="请输入Guarantee Amount"
            disabled
          ></c-input>
        </c-col>
        <c-col :span="4" v-if="model.gitp.swiftflg == 'N'" class="centerLable">
          <c-checkbox disabled v-model="model.gitp.dzbhflg"
            >电子保函标志</c-checkbox
          >
        </c-col>
      </c-col>

      <c-col :span="24">
        <c-col :span="12">
          <el-form-item label="Open Amount" prop="gidgrp.cbs.opn1.cur">
            <c-input
              disabled
              v-model="model.gidgrp.cbs.opn1.cur"
              style="width: 100%"
              placeholder="请输入Open Amount"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="8">
          <c-input
            disabled
            v-model="model.gidgrp.cbs.opn1.amt"
            style="margin: 0 0 0 10px; width: 80%"
          ></c-input>
        </c-col>
      </c-col>

      <c-col :span="24">
        <el-form-item
          v-if="model.gitp.swiftflg == 'Y'"
          label="Incoming Purpose "
          prop="gidgrp.rec.purposin"
        >
          <c-select
            disabled
            v-model="model.gidgrp.rec.purposin"
            style="width: 100%"
            placeholder="请选择Incoming Purpose "
          >
            <el-option
              v-for="item in codes.purposin"
              :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
          v-if="model.gitp.swiftflg == 'Y'"
          label="Outgoing Purpose"
          prop="gidgrp.rec.purpos"
        >
          <c-select
            v-model="model.gidgrp.rec.purpos"
            style="width: 100%"
            placeholder="请选择Outgoing Purpose"
            disabled
          >
            <el-option
              v-for="item in codes.purpos"
              :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="Handling Type" prop="gidgrp.rec.hndtyp">
          <c-select
            disabled
            v-model="model.gidgrp.rec.hndtyp"
            style="width: 100%"
            placeholder="请选择Handling Type"
          >
            <el-option
              v-for="item in codes.hndtyp"
              :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="Type of Undertaking" prop="gidgrp.rec.gartyp">
          <c-select
            disabled
            v-model="model.gidgrp.rec.gartyp"
            style="width: 100%"
            placeholder="请选择Type of Undertaking"
          >
            <el-option
              v-for="item in codes.typgar"
              :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
            v-if="model.gitp.swiftflg == 'N'"
            label="Applicable Rules"
            prop="gidgrp.blk.apprul"
          >
            <c-select
              disabled
              v-model="model.gidgrp.blk.apprul"
              style="width: 100%"
              placeholder="请选择Applicable Rules"
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <c-input
            v-if="model.gitp.swiftflg == 'N'"
            v-model="model.gidgrp.blk.apprultxt"
            style="margin: 0 0 0 10px; width: 80%"
            placeholder="请输入Applicable Rules"
            disabled
          ></c-input>
        </c-col>
      </c-col>

      <c-col :span="24">
        <el-form-item
          v-if="model.gitp.swiftflg == 'Y'"
          label="Form of Undertaking"
          prop="gidgrp.rec.legfrm"
        >
          <c-select
            v-model="model.gidgrp.rec.legfrm"
            style="width: 100%"
            placeholder="请选择Form of Undertaking"
            disabled
          >
            <el-option
              v-for="item in codes.legfrm"
              :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
          v-if="model.gitp.swiftflg == 'Y'"
          label="Demand Indicator"
          prop="gidgrp.rec.demand"
        >
          <c-select
            v-model="model.gidgrp.rec.demand"
            style="width: 100%"
            placeholder="请选择Demand Indicator"
            disabled
          >
            <el-option
              v-for="item in codes.demand"
              :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="Language of Undertak." prop="gidgrp.rec.giduil">
            <c-select
              disabled
              v-model="model.gidgrp.rec.giduil"
              style="width: 100%"
              placeholder="请选择Language of Undertak."
            >
              <el-option
                v-for="item in codes.uiltxt"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item
            v-if="model.gitp.swiftflg == 'N'"
            label="核销日期"
            prop="gidgrp.rec.vrfdat"
          >
            <c-date-picker
              type="date"
              v-model="model.gidgrp.rec.vrfdat"
              style="width: 100%"
              placeholder="请选择核销日期"
              disabled
            ></c-date-picker>
          </el-form-item>
        </c-col>
      </c-col>

      <c-col :span="24">
        <el-form-item
          v-if="model.gitp.swiftflg == 'N'"
          label="Choice of Text"
          prop="gidgrp.rec.gtxinr"
        >
          <c-select
            v-model="model.gidgrp.rec.gtxinr"
            style="width: 100%"
            placeholder="请选择Choice of Text"
            disabled
          >
            <el-option
              v-for="item in codes.gtxinr"
              :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
          v-if="model.gitp.swiftflg == 'Y'"
          label="Choice of Text"
          prop="gidgrp.rec.atxinr"
        >
          <c-select
            v-model="model.gidgrp.rec.atxinr"
            style="width: 100%"
            placeholder="请选择Choice of Text"
            disabled
          >
            <el-option
              v-for="item in codes.atxinr"
              :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
            v-if="model.gitp.swiftflg == 'N'"
            label="特殊保函类型"
            prop="gidgrp.ghd.segtyp"
          >
            <c-select
              v-model="model.gidgrp.ghd.segtyp"
              style="width: 100%"
              placeholder="请选择特殊保函类型"
              disabled
            >
              <el-option
                v-for="item in codes.segtyp"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item
            v-if="model.gitp.swiftflg == 'N'"
            label="分离式保函"
            prop="gidgrp.rec.fenlishi"
          >
            <c-select
              v-model="model.gidgrp.rec.fenlishi"
              style="width: 100%"
              placeholder="请选择是否分离式保函"
              disabled
            >
              <el-option
                v-for="item in codes.fenlishi"
                :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
            v-if="model.gitp.swiftflg == 'Y'"
            label="Applicable Rules"
            prop="gidgrp.blk.apprul"
          >
            <c-select
              disabled
              v-model="model.gidgrp.blk.apprul"
              style="width: 100%"
              placeholder="请选择Applicable Rules"
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="8">
          <c-input
            v-if="model.gitp.swiftflg == 'Y'"
            v-model="model.gidgrp.blk.apprultxt"
            style="margin: 0 0 0 10px; width: 80%"
            placeholder="请输入Applicable Rules"
            disabled
          ></c-input>
        </c-col>
        <c-col :span="4" v-if="model.gitp.swiftflg == 'Y'" class="centerLable">
          <c-checkbox disabled v-model="model.gidgrp.rec.expflg"
            >Unlimited Validity</c-checkbox
          >
        </c-col>
      </c-col>

      <c-col :span="24">
        <c-col :span="12">
          <el-form-item
            v-if="model.gitp.swiftflg == 'N'"
            label="Order Date"
            prop="gidgrp.rec.orddat"
          >
            <c-date-picker
              type="date"
              v-model="model.gidgrp.rec.orddat"
              style="width: 100%"
              placeholder="请选择Order Date"
              
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item
            v-if="model.gitp.swiftflg == 'N'"
            label="Issuance Date"
            prop="gidgrp.rec.opndat"
          >
            <c-date-picker
              type="date"
              v-model="model.gidgrp.rec.opndat"
              style="width: 100%"
              placeholder="请选择Issuance Date"
              disabled
            ></c-date-picker>
          </el-form-item>
        </c-col>
      </c-col>

      <c-col :span="24">
        <c-col :span="14">
          <el-form-item
            v-if="model.gitp.swiftflg == 'N'"
            label="Validity until"
            prop="gidgrp.rec.expdat"
          >
            <c-date-picker
              type="date"
              v-model="model.gidgrp.rec.expdat"
              style="width: 90%"
              placeholder="请选择Validity until"
              disabled
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <c-col :span="7" v-if="model.gitp.swiftflg == 'N'" class="centerLable">
          <c-checkbox disabled v-model="model.gidgrp.rec.expflg"
            >Unlimited Validity</c-checkbox
          >
        </c-col>
        <c-col :span="3" v-if="model.gitp.swiftflg == 'N'" class="centerLable">
          <c-button
            size="small"
            type="primary"
            @click="onGitpWbxs"
            disabled
            style="color: white"
          >
            显示文本
          </c-button>
        </c-col>
      </c-col>

      <c-col :span="24">
        <c-col :span="14">
          <el-form-item
            v-if="model.gitp.swiftflg == 'N'"
            label="Our Liability until"
            prop="gidgrp.rec.liadat"
          >
            <c-date-picker
              disabled
              type="date"
              v-model="model.gidgrp.rec.liadat"
              style="width: 90%"
              placeholder="请选择Our Liability until"
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <c-col :span="7" v-if="model.gitp.swiftflg == 'N'" class="centerLable">
          <c-checkbox v-model="model.gidgrp.rec.liaflg" disabled
            >Unlimited Liability</c-checkbox
          >
        </c-col>
        <c-col :span="3" v-if="model.gitp.swiftflg == 'N'" class="centerLable">
          <c-button size="small" type="primary" @click="onGitpYptxy" disabled>
            协议签署
          </c-button>
        </c-col>
      </c-col>

      <c-col :span="24">
        <c-col :span="12">
          <el-form-item
            v-if="model.gitp.swiftflg == 'N'"
            label="Old Reference"
            prop="gidgrp.rec.oldref"
          >
            <c-input
              v-model="model.gidgrp.rec.oldref"
              maxlength="16"
              placeholder="请输入Old Reference"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item
            v-if="model.gitp.swiftflg == 'N'"
            label="保函生效日"
            prop="gidgrp.rec.inudat"
          >
            <c-date-picker
              type="date"
              v-model="model.gidgrp.rec.inudat"
              style="width: 100%"
              placeholder="请选择保函生效日"
              disabled
            ></c-date-picker>
          </el-form-item>
        </c-col>
      </c-col>

      <c-col :span="24">
        <c-col :span="18">
          <el-form-item
            v-if="model.gitp.swiftflg == 'N'"
            label="Mortgage Flag"
            prop="gidgrp.rec.guaflg"
          >
            <c-select
              v-model="model.gidgrp.rec.guaflg"
              style="width: 90%"
              placeholder="请选择Mortgage Flag"
              disabled
            >
              <el-option
                v-for="item in codes.guaflg"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="6" v-if="model.gitp.swiftflg == 'N'" class="centerLable">
          <c-checkbox disabled v-model="model.gidgrp.rec.teskeyunc"
            >Test Key Unconfirmity</c-checkbox
          >
        </c-col>
      </c-col>

      <c-col :span="24">
        <el-form-item
          v-if="model.gitp.swiftflg == 'N'"
          label="是否对外担保"
          prop="gidgrp.rec.fingua"
        >
          <c-select
            disabled
            v-model="model.gidgrp.rec.fingua"
            style="width: 100%"
            placeholder="请选择是否对外担保"
          >
            <el-option
              v-for="item in codes.fingua"
              :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="18">
          <el-form-item
            v-if="model.gitp.swiftflg == 'N'"
            label="担保类型"
            prop="gidgrp.rec.cfaguatyp"
          >
            <c-select
              disabled
              v-model="model.gidgrp.rec.cfaguatyp"
              style="width: 90%"
              placeholder="请选择对外担保类型"
            >
              <el-option
                v-for="item in codes.cfaguatyp"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="6" v-if="model.gitp.swiftflg == 'N'" class="centerLable">
          <c-checkbox disabled v-model="model.gidgrp.rec.cmtflg"
            >跨境人民币保函</c-checkbox
          >
        </c-col>
      </c-col>

      <c-col :span="24">
        <c-col :span="12">
          <el-form-item
            v-if="model.gitp.swiftflg == 'N'"
            label="被保证人"
            prop="gidgrp.gidcxm.warran"
          >
            <c-input
              v-model="model.gidgrp.gidcxm.warran"
              maxlength="40"
              placeholder="请输入被保证人"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item
            v-if="model.gitp.swiftflg == 'N'"
            label="是否生成查询码"
            prop="gidgrp.gidcxm.cxmflg"
          >
            <c-select
              v-model="model.gidgrp.gidcxm.cxmflg"
              style="width: 100%"
              placeholder="请选择生成显示查询码"
              disabled
            >
              <el-option
                v-for="item in codes.cxmflg"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>
      </c-col>
    </c-col>

    <!-- ============右边================= -->
    <c-col :span="11" :offset="1">
      <c-col :span="24">
        <el-form-item
          v-if="model.gitp.swiftflg == 'N'"
          label="Name"
          prop="gidgrp.rec.nam"
        >
          <c-input
            v-model="model.gidgrp.rec.nam"
            maxlength="40"
            placeholder="请输入Name"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item
          v-if="model.gitp.swiftflg == 'N'"
          label="Applicant Ref."
          prop="gidgrp.apl.pts.ref"
        >
          <c-input
            disabled
            v-model="model.gidgrp.apl.pts.ref"
            maxlength="16"
            placeholder="请输入Applicant Ref."
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item
          v-if="model.gitp.swiftflg == 'N'"
          label="申请人"
          prop="gidgrp.apl.pts.extkey"
        >
          <c-fullbox>
            <c-input
              disabled
              v-model="model.gidgrp.apl.pts.extkey"
              maxlength="16"
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
              >
                <span style="font-family: '宋体'; font-weight: bold">i</span>
              </c-button>
              <c-button size="small" type="primary" @click="onAplpDet">
                Temp.
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item
          v-if="model.gitp.swiftflg == 'N'"
          label="名称地址"
          prop="gidgrp.apl.pts.adrblk"
        >
          <c-input
            disabled
            type="textarea"
            :rows="4"
            v-model="model.gidgrp.apl.pts.adrblk"
            maxlength="35"
            show-word-limit
            placeholder="请输入名称地址"
          ></c-input>
        </el-form-item>
      </c-col>

      <!-- <c-col :span="24">
        <c-ptap
          :model="model"
          :argadr="{
            title: '开证行',
            grp: 'gidgrp',
            rol: 'iss',
          }"
          :disabled="true"
          @onAplpDet="onIsspDet"
        >
        </c-ptap>
      </c-col> -->

      <c-col :span="24">
        <el-form-item
          v-if="model.gitp.swiftflg == 'N'"
          label="issuing bank Ref"
          prop="gidgrp.iss.pts.ref"
        >
          <c-input
            disabled
            v-model="model.gidgrp.iss.pts.ref"
            maxlength="16"
            placeholder="请输入issuing bank Ref"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item
          v-if="model.gitp.swiftflg == 'N'"
          label="开证行"
          prop="gidgrp.iss.pts.extkey"
        >
          <c-fullbox>
            <c-input
              disabled
              v-model="model.gidgrp.iss.pts.extkey"
              maxlength="16"
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
              >
                <span style="font-family: '宋体'; font-weight: bold">i</span>
              </c-button>
              <c-button size="small" type="primary" @click="onIsspDet">
                Details
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item
          v-if="model.gitp.swiftflg == 'N'"
          label="名称地址"
          prop="gidgrp.iss.pts.adrblk"
        >
          <c-input
            disabled
            type="textarea"
            :rows="4"
            v-model="model.gidgrp.iss.pts.adrblk"
            maxlength="35"
            show-word-limit
            placeholder="请输入名称地址"
          ></c-input>
        </el-form-item>
      </c-col>

      <!-- <c-col :span="24">
        <c-ptap
          v-if="model.gitp.swiftflg == 'N'"
          :model="model"
          :argadr="{
            title: '受益人',
            grp: 'gidgrp',
            rol: 'ben',
          }"
          disabled
          @onAplpDet="onBenpDet"
        >
        </c-ptap>
      </c-col> -->

      <c-col :span="24">
        <el-form-item
          v-if="model.gitp.swiftflg == 'N'"
          label="Beneficiary Ref."
          prop="gidgrp.ben.pts.ref"
        >
          <c-input
            disabled
            v-model="model.gidgrp.ben.pts.ref"
            maxlength="16"
            placeholder="请输入Beneficiary Ref."
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item
          v-if="model.gitp.swiftflg == 'N'"
          label="受益人"
          prop="gidgrp.ben.pts.extkey"
        >
          <c-fullbox>
            <c-input
              disabled
              v-model="model.gidgrp.ben.pts.extkey"
              maxlength="16"
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
              >
                <span style="font-family: '宋体'; font-weight: bold">i</span>
              </c-button>
              <c-button size="small" type="primary" @click="onBenpDet">
                Details
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item
          v-if="model.gitp.swiftflg == 'N'"
          label="名称地址"
          prop="gidgrp.ben.pts.adrblk"
        >
          <c-input
            disabled
            type="textarea"
            :rows="4"
            v-model="model.gidgrp.ben.pts.adrblk"
            maxlength="35"
            show-word-limit
            placeholder="请输入名称地址"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item
          v-if="model.gitp.swiftflg == 'Y'"
          label="Responsible User"
          prop="gitp.usr.extkey"
        >
          <c-fullbox>
            <c-input
              v-model="model.gitp.usr.extkey"
              maxlength="8"
              placeholder="请输入Responsible User"
              disabled
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
              >
                <span
                  style="
                    font-size: 15px;
                    font-family: '宋体';
                    font-weight: bold;
                  "
                  >i</span
                >
              </c-button>
              <c-checkbox v-model="model.gitp.inc760" disabled
                >incoming lose</c-checkbox
              >
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item
          v-if="model.gitp.swiftflg == 'Y'"
          label="Order Date"
          prop="gidgrp.rec.orddat"
        >
          <c-date-picker
            type="date"
            v-model="model.gidgrp.rec.orddat"
            style="width: 100%"
            placeholder="请选择Order Date"
            
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item
          v-if="model.gitp.swiftflg == 'Y'"
          label="Issuance Date"
          prop="gidgrp.rec.opndat"
        >
          <c-date-picker
            type="date"
            v-model="model.gidgrp.rec.opndat"
            style="width: 100%"
            placeholder="请选择Issuance Date"
            disabled
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item
          v-if="model.gitp.swiftflg == 'Y'"
          label="Expiry Type"
          prop="gidgrp.rec.exptyp"
        >
          <c-select
            v-model="model.gidgrp.rec.exptyp"
            style="width: 100%"
            placeholder="请选择Expiry Type"
            disabled
          >
            <el-option
              v-for="item in codes.exptyp"
              :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
          v-if="model.gitp.swiftflg == 'Y'"
          label="Expiry Date"
          prop="gidgrp.rec.expdat"
        >
          <c-date-picker
            type="date"
            v-model="model.gidgrp.rec.expdat"
            style="width: 100%"
            placeholder="请选择Expiry Date"
            disabled
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <c-col :span="20">
          <el-form-item
            v-if="model.gitp.swiftflg == 'Y'"
            label="Expiry Condition/ Evt."
            prop="gidgrp.blk.exptxt"
          >
            <c-input
              type="textarea"
              rows="4"
              v-model="model.gidgrp.blk.exptxt"
              maxlength="65"
              show-word-limit
              placeholder="请输入Expiry Condition/ Evt."
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="4">
          <c-checkbox
            v-if="model.gitp.swiftflg == 'Y'"
            v-model="model.gitp.exptxtmodflg"
            style="margin: 0 0 0 10px"
            disabled
            >Modify Text</c-checkbox
          >
          <c-button
            v-if="model.gitp.swiftflg == 'Y'"
            disabled
            size="small"
            type="primary"
            style="margin: 5px 0 0 10px"
            @click="onGitpButdifexptxt"
          >
            vs. &System
          </c-button>
          <c-button
            v-if="model.gitp.swiftflg == 'Y'"
            disabled
            size="small"
            type="primary"
            style="margin: 5px 0 0 10px"
            @click="onGitpButdifhisexptxt"
          >
            vs. &History
          </c-button>
        </c-col>
      </c-col>

      <c-col :span="24">
        <el-form-item
          v-if="model.gitp.swiftflg == 'Y'"
          label="Liability Type "
          prop="gidgrp.rec.liatypc"
        >
          <c-select
            disabled
            v-model="model.gidgrp.rec.liatypc"
            style="width: 100%"
            placeholder="请选择Liability Type "
          >
            <el-option
              v-for="item in codes.liatypc"
              :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="20">
          <el-form-item
            v-if="model.gitp.swiftflg == 'Y'"
            label="Liability until"
            prop="gidgrp.rec.liadat"
          >
            <c-date-picker
              disabled
              type="date"
              v-model="model.gidgrp.rec.liadat"
              style="width: 90%"
              placeholder="请选择Liability until"
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <c-col :span="4" v-if="model.gitp.swiftflg == 'Y'" class="centerLable">
          <c-checkbox v-model="model.gidgrp.rec.liaflg" disabled
            >Unlimited Liability</c-checkbox
          >
        </c-col>
      </c-col>

      <c-col :span="24">
        <c-col :span="20">
          <el-form-item
            v-if="model.gitp.swiftflg == 'Y'"
            label="Liability Condition"
            prop="gidgrp.blk.liatxtc"
          >
            <c-input
              type="textarea"
              rows="4"
              v-model="model.gidgrp.blk.liatxtc"
              maxlength="65"
              show-word-limit
              placeholder="请输入Liability Condition"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="4">
          <c-checkbox
            v-if="model.gitp.swiftflg == 'Y'"
            v-model="model.gitp.liatxtcmodflg"
            disabled
            style="margin: 0 0 0 10px"
            >Modify Text</c-checkbox
          >
          <c-button
            v-if="model.gitp.swiftflg == 'Y'"
            disabled
            size="small"
            type="primary"
            style="margin: 5px 0 0 10px"
            @click="onGitpButdifliatxtc"
          >
            vs. &System
          </c-button>
          <c-button
            v-if="model.gitp.swiftflg == 'Y'"
            disabled
            size="small"
            type="primary"
            style="margin: 5px 0 0 10px"
            @click="onGitpButdifhisliatxtc"
          >
            vs. &History
          </c-button>
        </c-col>
      </c-col>
    </c-col>

    <!-- <c-col :span="24">
            <c-col :span="6">
                <el-form-item label="Guarantee Amount" prop="gidgrp.cbs.max.cur">
                    <c-select v-model="model.gidgrp.cbs.max.cur" style="width:100%" placeholder="请选择Guarantee Amount">
                    </c-select>
                </el-form-item>
            </c-col>
            <c-col :span="6">
                <c-fullbox>
                    <c-input  v-model="model.gidgrp.cbs.max.amt" style="margin: 0 0 0 10px;"  placeholder="请输入Guarantee Amount"></c-input>
                    <template slot="footer">     
                        <c-checkbox v-model="model.gitp.dzbhflg">电子保函标志</c-checkbox>
                    </template>
                </c-fullbox>
            </c-col> -->
    <!-- <c-col :span="3" style="margin:0 10px 10px 10px">
                <c-checkbox v-model="model.gitp.dzbhflg">电子保函标志</c-checkbox>
            </c-col> -->
    <!-- <c-col :span="6">
                <c-fullbox>
                    <c-input  v-model="model.gidgrp.apl.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
                    <template slot="footer">
                        <c-button
                                style="margin: 0 10px 0 10px; padding: 0 12px"
                                size="small"
                                type="primary"
                                @click="onSeainf">
                                <span
                                style="font-size: 15px; font-family: '宋体'; font-weight: bold"
                                >i</span>
                        </c-button>
                        <c-button size="small" type="primary"  @click="onAplpDet">
                            Details
                        </c-button>
                    </template>
                </c-fullbox>   
            </c-col>
        </c-col>
   -->
    <!-- <c-col :span="12">
	    <c-checkbox v-model="model.gidgrp.rec.resflg">Reserved Contract</c-checkbox>
       </c-col> -->

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

    <!-- <c-col :span="12">
	    <c-checkbox v-model="model.gidgrp.rec.resflg">Reserved Contract</c-checkbox>
       </c-col>
                                   
        -->
    <!--                   
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpButgetref">
            Get &Ref.
        </c-button>
       </c-col> -->

    <!-- <c-col :span="12">
        <el-form-item label="Guarantee Amount" prop="gidgrp.cbs.max.cur">
            <c-select v-model="model.gidgrp.cbs.max.cur" style="width:100%" placeholder="请选择Guarantee Amount">
              </c-select>
        </el-form-item>
       </c-col> -->

    <!-- <c-col :span="12">
        <el-form-item label="Guarantee Amount" prop="gidgrp.cbs.max.amt">
            <c-input  v-model="model.gidgrp.cbs.max.amt"  placeholder="请输入Guarantee Amount"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gidgrp.rec.rejflg">Direct rejection</c-checkbox>
       </c-col> -->

    <!-- <c-col :span="12">
        <el-form-item label="Applicant.Ref." prop="gidgrp.apl.pts.ref">
            <c-input  v-model="model.gidgrp.apl.pts.ref" maxlength="16"  placeholder="请输入Applicant.Ref."></c-input>
        </el-form-item>
       </c-col> -->

    <!-- <c-col :span="12">
	    <span  v-text="model.gitp.morapllab"   data-path=".gitp.morapllab" > </span>
	</c-col> -->
    <!--                                    
       <c-col :span="12">
        <el-form-item label="Open Amount" prop="gidgrp.cbs.opn1.cur">
            <c-input  v-model="model.gidgrp.cbs.opn1.cur" maxlength="3"  placeholder="请输入Open Amount"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Balance" prop="gidgrp.cbs.opn1.amt">
            <c-input  v-model="model.gidgrp.cbs.opn1.amt"  placeholder="请输入Balance"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gitp.aamp.aammod.addamtflg">Add. Amount</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Old Reference" prop="gidgrp.rec.oldref">
            <c-input  v-model="model.gidgrp.rec.oldref" maxlength="16"  placeholder="请输入Old Reference"></c-input>
        </el-form-item>
       </c-col>
                                   
        <c-col :span="12">
	    <c-checkbox v-model="model.gitp.dzbhflg">电子保函标志</c-checkbox>
       </c-col> -->

    <!-- <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="gitp.aplp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.gitp.aplp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="External Key of Address" prop="gidgrp.apl.pts.extkey">
            <c-input  v-model="model.gidgrp.apl.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="gitp.aplp.ptsget.sdamod.seainf">
            <c-input  v-model="model.gitp.aplp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onAplpDet">
            Details
        </c-button>
       </c-col>
                  
	<c-col :span="12">
	    <span  v-text="model.gitp.drpreflglab1"   data-path=".gitp.drpreflglab1" > </span>
	</c-col>
                  
       <c-col :span="12">
        <el-form-item label="Type of Request" prop="gidgrp.rec.drpreflg">
            <c-select v-model="model.gidgrp.rec.drpreflg" style="width:100%" placeholder="请选择Type of Request">
              </c-select>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="名称" prop="gidgrp.apl.namelc">
            <c-input type="textarea" v-model="model.gidgrp.apl.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Address Block" prop="gidgrp.apl.pts.adrblk">
            <c-input type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Chinese address" prop="gidgrp.apl.dbfadrblkcn">
            <c-input type="textarea" v-model="model.gidgrp.apl.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Incoming Purpose " prop="gidgrp.rec.purposin">
            <c-select v-model="model.gidgrp.rec.purposin" style="width:100%" placeholder="请选择Incoming Purpose ">
              </c-select>
        </el-form-item>
       </c-col>
                  
       
                  
       <c-col :span="12">
        <el-form-item label="" prop="gitp.usrget.sdamod.seainf">
            <c-input  v-model="model.gitp.usrget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gitp.inc760">incoming lose</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Type of Request" prop="gitp.drpreflg">
            <c-select v-model="model.gitp.drpreflg" style="width:100%" placeholder="请选择Type of Request">
              </c-select>
        </el-form-item>
       </c-col>
                  
	<c-col :span="12">
	    <span  v-text="model.gitp.drpreflglab"   data-path=".gitp.drpreflglab" > </span>
	</c-col>
                  
       <c-col :span="12">
        <el-form-item label="地址" prop="gidgrp.apl.adrelc">
            <c-input type="textarea" v-model="model.gidgrp.apl.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Outgoing Purpose" prop="gidgrp.rec.purpos">
            <c-select v-model="model.gidgrp.rec.purpos" style="width:100%" placeholder="请选择Outgoing Purpose">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gidgrp.rec.revflg">Declaration of Indemnity</c-checkbox>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Handling Type" prop="gidgrp.rec.hndtyp">
            <c-select v-model="model.gidgrp.rec.hndtyp" style="width:100%" placeholder="请选择Handling Type">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gidgrp.rec.autrnwflg">Auto-Renewal</c-checkbox>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Type of Undertaking" prop="gidgrp.rec.gartyp">
            <c-select v-model="model.gidgrp.rec.gartyp" style="width:100%" placeholder="请选择Type of Undertaking">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Undertaking Type from Local Undertaking Seq. C" prop="gidgrp.rec.gartypin">
            <c-input  v-model="model.gidgrp.rec.gartypin" maxlength="4"  placeholder="请输入Undertaking Type from Local Undertaking Seq. C"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="面函标题" prop="gitp.lettername">
            <c-input  v-model="model.gitp.lettername" maxlength="60"  placeholder="请输入面函标题"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Specification of Type of Undertaking - Counter Undertaking" prop="gidgrp.blk.gartyptxtin">
            <c-input  v-model="model.gidgrp.blk.gartyptxtin" maxlength="35"  placeholder="请输入Specification of Type of Undertaking - Counter Undertaking"></c-input>
        </el-form-item>
       </c-col>
                  
	<c-col :span="12">
	    <span  v-text="model.gitp.letterlabel"   data-path=".gitp.letterlabel" > </span>
	</c-col>
                  
	<c-col :span="12">
	    <span  v-text="model.gitp.oppbnkl"   data-path=".gitp.oppbnkl" > </span>
	</c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Form of Undertaking" prop="gidgrp.rec.legfrm">
            <c-select v-model="model.gidgrp.rec.legfrm" style="width:100%" placeholder="请选择Form of Undertaking">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gidgrp.rec.rmbflg">Reimbursement Information</c-checkbox>
       </c-col>
                  
	<c-col :span="12">
	    <span  v-text="model.gitp.bantyp"   data-path=".gitp.bantyp" > </span>
	</c-col>
                  
       <c-col :span="12">
        <el-form-item label="Reference for Address Optional" prop="gidgrp.adv.pts.ref">
            <c-input  v-model="model.gidgrp.adv.pts.ref" maxlength="16"  placeholder="请输入Reference for Address Optional"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Reference for Address Optional" prop="gidgrp.iss.pts.ref">
            <c-input  v-model="model.gidgrp.iss.pts.ref" maxlength="16"  placeholder="请输入Reference for Address Optional"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="核销日期" prop="gidgrp.rec.vrfdat">
            <c-date-picker type="date"  v-model="model.gidgrp.rec.vrfdat" style="width:100%"  placeholder="请选择核销日期"></c-date-picker>
        </el-form-item>
       </c-col>
                                                                     
       <c-col :span="12">
        <el-form-item label="Demand Indicator" prop="gidgrp.rec.demand">
            <c-select v-model="model.gidgrp.rec.demand" style="width:100%" placeholder="请选择Demand Indicator">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Order Date" prop="gidgrp.rec.orddat">
            <c-date-picker type="date"  v-model="model.gidgrp.rec.orddat" style="width:100%"  placeholder="请选择Order Date"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gitp.inccormsgflg">Incoming Corporate Message Flag</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="gitp.issp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.gitp.issp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="gitp.advp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.gitp.advp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="External Key of Address" prop="gidgrp.iss.pts.extkey">
            <c-input  v-model="model.gidgrp.iss.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="gitp.issp.ptsget.sdamod.seainf">
            <c-input  v-model="model.gitp.issp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onIsspDet">
            Details
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="External Key of Address" prop="gidgrp.adv.pts.extkey">
            <c-input  v-model="model.gidgrp.adv.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="gitp.advp.ptsget.sdamod.seainf">
            <c-input  v-model="model.gitp.advp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onAdvpDet">
            Details
        </c-button>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Language of Undertak." prop="gidgrp.rec.giduil">
            <c-select v-model="model.gidgrp.rec.giduil" style="width:100%" placeholder="请选择Language of Undertak.">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gidgrp.rec.secuilflg">Bilingual Guarantee</c-checkbox>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="名称" prop="gidgrp.iss.namelc">
            <c-input type="textarea" v-model="model.gidgrp.iss.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="名称" prop="gidgrp.adv.namelc">
            <c-input type="textarea" v-model="model.gidgrp.adv.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Address Block" prop="gidgrp.iss.pts.adrblk">
            <c-input type="textarea" v-model="model.gidgrp.iss.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Chinese address" prop="gidgrp.iss.dbfadrblkcn">
            <c-input type="textarea" v-model="model.gidgrp.iss.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Address Block" prop="gidgrp.adv.pts.adrblk">
            <c-input type="textarea" v-model="model.gidgrp.adv.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Chinese address" prop="gidgrp.adv.dbfadrblkcn">
            <c-input type="textarea" v-model="model.gidgrp.adv.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="特殊保函类型" prop="gidgrp.ghd.segtyp">
            <c-select v-model="model.gidgrp.ghd.segtyp" style="width:100%" placeholder="请选择特殊保函类型">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="是否分离式保函" prop="gidgrp.rec.fenlishi">
            <c-select v-model="model.gidgrp.rec.fenlishi" style="width:100%" placeholder="请选择是否分离式保函">
              </c-select>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Choice of Text" prop="gidgrp.rec.gtxinr">
            <c-select v-model="model.gidgrp.rec.gtxinr" style="width:100%" placeholder="请选择Choice of Text">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Choice of Text" prop="gidgrp.rec.atxinr">
            <c-select v-model="model.gidgrp.rec.atxinr" style="width:100%" placeholder="请选择Choice of Text">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Valid from" prop="gidgrp.rec.opndat">
            <c-date-picker type="date"  v-model="model.gidgrp.rec.opndat" style="width:100%"  placeholder="请选择Valid from"></c-date-picker>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="地址" prop="gidgrp.iss.adrelc">
            <c-input type="textarea" v-model="model.gidgrp.iss.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="地址" prop="gidgrp.adv.adrelc">
            <c-input type="textarea" v-model="model.gidgrp.adv.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Applicable Rules" prop="gidgrp.blk.apprul">
            <c-select v-model="model.gidgrp.blk.apprul" style="width:100%" placeholder="请选择Applicable Rules">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Applicable Rules" prop="gidgrp.blk.apprultxt">
            <c-input  v-model="model.gidgrp.blk.apprultxt" maxlength="35"  placeholder="请输入Applicable Rules"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gidgrp.rec.expflg">Unlimited Guarantee</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpWbxs">
            显示文本
        </c-button>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Expiry Type" prop="gidgrp.rec.exptyp">
            <c-select v-model="model.gidgrp.rec.exptyp" style="width:100%" placeholder="请选择Expiry Type">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Validity until" prop="gidgrp.rec.expdat">
            <c-date-picker type="date"  v-model="model.gidgrp.rec.expdat" style="width:100%"  placeholder="请选择Validity until"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpYptxy">
            协议签署
        </c-button>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Beneficiary         Ref." prop="gidgrp.ben.pts.ref">
            <c-input  v-model="model.gidgrp.ben.pts.ref" maxlength="16"  placeholder="请输入Beneficiary         Ref."></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Expiry Condition/ Evt." prop="gidgrp.blk.exptxt">
            <c-input type="textarea" v-model="model.gidgrp.blk.exptxt" maxlength="65" show-word-limit placeholder="请输入Expiry Condition/ Evt." ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Expiry Condition/ Evt." prop="gidgrp.blk.atxexptxt">
            <c-input type="textarea" v-model="model.gidgrp.blk.atxexptxt" maxlength="65" show-word-limit placeholder="请输入Expiry Condition/ Evt." ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gitp.exptxtmodflg">Modify Expiry Condition/Event</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpButdifexptxt">
            vs. S&ystem
        </c-button>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Inure Date" prop="gidgrp.rec.inudat">
            <c-date-picker type="date"  v-model="model.gidgrp.rec.inudat" style="width:100%"  placeholder="请选择Inure Date"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="gitp.benp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.gitp.benp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="External Key of Address" prop="gidgrp.ben.pts.extkey">
            <c-input  v-model="model.gidgrp.ben.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="gitp.benp.ptsget.sdamod.seainf">
            <c-input  v-model="model.gitp.benp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onBenpDet">
            Details
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpButdifhisexptxt">
            vs. &History
        </c-button>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gidgrp.rec.teskeyunc">Test Key Unconfirmity</c-checkbox>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Liability Type " prop="gidgrp.rec.liatypc">
            <c-select v-model="model.gidgrp.rec.liatypc" style="width:100%" placeholder="请选择Liability Type ">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Mortgage Flag" prop="gidgrp.rec.guaflg">
            <c-select v-model="model.gidgrp.rec.guaflg" style="width:100%" placeholder="请选择Mortgage Flag">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Our Liability until" prop="gidgrp.rec.liadat">
            <c-date-picker type="date"  v-model="model.gidgrp.rec.liadat" style="width:100%"  placeholder="请选择Our Liability until"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gidgrp.rec.liaflg">Unlimited Liability</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="名称" prop="gidgrp.ben.namelc">
            <c-input type="textarea" v-model="model.gidgrp.ben.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Address Block" prop="gidgrp.ben.pts.adrblk">
            <c-input type="textarea" v-model="model.gidgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Chinese address" prop="gidgrp.ben.dbfadrblkcn">
            <c-input type="textarea" v-model="model.gidgrp.ben.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="是否对外担保" prop="gidgrp.rec.fingua">
            <c-select v-model="model.gidgrp.rec.fingua" style="width:100%" placeholder="请选择是否对外担保">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
            <c-select v-model="model.gidgrp.rec.cfaguatyp" style="width:100%" placeholder="请选择对外担保类型">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Liability Condition" prop="gidgrp.blk.liatxtc">
            <c-input type="textarea" v-model="model.gidgrp.blk.liatxtc" maxlength="65" show-word-limit placeholder="请输入Liability Condition" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Liability Condition" prop="gidgrp.blk.atxliatxtc">
            <c-input type="textarea" v-model="model.gidgrp.blk.atxliatxtc" maxlength="65" show-word-limit placeholder="请输入Liability Condition" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
	    <c-checkbox v-model="model.gitp.liatxtcmodflg">Modify Liability Condition/Event - Counter Undertaking</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpButdifliatxtc">
            vs. S&ystem
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="地址" prop="gidgrp.ben.adrelc">
            <c-input type="textarea" v-model="model.gidgrp.ben.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="被保证人" prop="gidgrp.gidcxm.warran">
            <c-input  v-model="model.gidgrp.gidcxm.warran" maxlength="40"  placeholder="请输入被保证人"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpButdifhisliatxtc">
            vs. &History
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="是否显示查询码" prop="gidgrp.gidcxm.cxmflg">
            <c-select v-model="model.gidgrp.gidcxm.cxmflg" style="width:100%" placeholder="请选择是否显示查询码">
              </c-select>
        </el-form-item>
       </c-col>  -->
  </div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Getamc/Event";
import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";

export default {
  components: { "c-ptap": Ptap },
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return { ...CodeTable };
  },
  computed: {
    flag() {
      return this.model.gidgrp.apl.pts.extkey == "";
    },
  },
  methods: {
    ...Event,
    onSeainf(data) {
      this.$emit("onSeainf", data);
    },
  },
  created: function () {},
  watch: {
    declareParams() {},
  },
};
</script>
<style>
</style>
