<template >
  <div class="eibs-tab">
    <c-row>
      <c-col :span="24">
          <c-col :span="11">
              <c-col :span="24">
                     <c-col :span="14">
                    <el-form-item label="Reference" prop="gidgrp.rec.ownref">
                        <c-input
                            v-model="model.gidgrp.rec.ownref"
                            maxlength="16"
                            placeholder="请输入Reference"
                        ></c-input>
                    </el-form-item>
                </c-col>
                
                    <!-- <el-form-item label="" label-width="5px"> -->
                <c-col :span="6 ">
                        <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-button
                    style="margin: 0 0"
                    :disabled="this.flag"
                    size="small"
                    type="primary"
                    @click="onGitpButgetref"
                    >
                    获取
                    </c-button>
                </c-col>

                <c-col :span="4" class="centerLable">
                    <c-checkbox v-model="model.gidgrp.rec.resflg"
                    >Reserved Contract</c-checkbox
                  >
                </c-col>
              </c-col>

              <c-col :span="24">
                    <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"
                        >
                        <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"
                      ></c-input>
                    </c-col>
                    <!-- <c-col :span="4" class="centerLable">
                      <c-checkbox v-model="model.gidgrp.rec.rejflg">Direct rejection</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">
                      <!-- <el-form-item label="" prop="gidgrp.cbs.opn1.amt"> -->
                      <c-input disabled
                        v-model="model.gidgrp.cbs.opn1.amt"
                        style="margin: 0 0 0 10px; width: 80%"
                        placeholder="请输入Balance"
                      ></c-input>
                      <!-- </el-form-item> -->
                    </c-col>
                    <!-- <c-col :span="4" class="centerLable">
                      <c-checkbox v-model="model.gitp.aamp.aammod.addamtflg"
                        >Add. Amount</c-checkbox
                      >
                    </c-col> -->
              </c-col>

              <c-col :span="24">
                      <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"
                            >
                            <el-option
                            v-for="item in codes.drpreflg"
                            :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="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">
                      <c-col :span="20">
                          <el-form-item label="Outgoing Purpose" prop="gidgrp.rec.purpos">
                              <c-select v-model="model.gidgrp.rec.purpos" style="width:90%" placeholder="请选择Outgoing Purpose">
                                  <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="4" class="centerLable">
                          <c-checkbox v-model="model.gidgrp.rec.revflg">Declaration of Indemnity</c-checkbox>
                      </c-col> -->
              </c-col>

              <c-col :span="24">
                    <c-col :span="20">
                        <el-form-item label="Handling Type" prop="gidgrp.rec.hndtyp">
                        <c-select
                            v-model="model.gidgrp.rec.hndtyp"
                            style="width: 90%"
                            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="4" class="centerLable">
                        <c-checkbox v-model="model.gidgrp.rec.autrnwflg">Auto-Renewal</c-checkbox>
                    </c-col> -->
              </c-col>

              <c-col :span="24">
                  <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"
                    >
                    <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="20">
                              <el-form-item label="Form of Undertaking" prop="gidgrp.rec.legfrm">
                                  <c-select v-model="model.gidgrp.rec.legfrm" style="width:90%" placeholder="请选择Form of Undertaking">
                                      <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="4" class="centerLable">
                          <c-checkbox v-model="model.gidgrp.rec.rmbflg">Reimbursement Information</c-checkbox>
                      </c-col> -->
              </c-col>

              <c-col :span="24">
                    <el-form-item label="Demand Indicator" prop="gidgrp.rec.demand">
                        <c-select v-model="model.gidgrp.rec.demand" style="width:100%" placeholder="请选择Demand Indicator">
                            <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="20">
                    <el-form-item
                      label="Language of Undertak."
                      prop="gidgrp.rec.giduil"
                    >
                      <c-select
                        v-model="model.gidgrp.rec.giduil"
                        style="width: 90%"
                        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="4" class="centerLable">
                      <c-checkbox v-model="model.gidgrp.rec.secuilflg">Bilingual Guarantee</c-checkbox>
                  </c-col> -->
              </c-col>

              <c-col :span="24">
                      <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"
                        >
                        <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">
                      <c-col :span="12">
                              <el-form-item label="Applicable Rules" prop="gidgrp.blk.apprul">
                                  <c-select
                                  v-model="model.gidgrp.blk.apprul"
                                  width="100%"
                                  placeholder="请选择Applicable Rules"
                                  >
                                  <el-option
                                      v-for="item in codes.apprulc"
                                      :key="item.value"
                                      :label="item.label"
                                      :value="item.value"
                                      >
                                  </el-option>
                                  </c-select>
                              </el-form-item>
                      </c-col>
                      <c-col :span="8">
                          <c-input
                              style="margin: 0 0 0 10px; width: 80%"
                              v-model="model.gidgrp.blk.apprultxt"
                              placeholder="请输入Applicable Rules"
                            ></c-input>
                      </c-col>           
                      <c-col :span="4" class="centerLable">
                          <c-checkbox v-model="model.gidgrp.rec.expflg"
                          >Unlimited Guarantee</c-checkbox
                        >
                      </c-col>
                </c-col> 
            </c-col>

          <c-col :span="11" :offset="1">
                <c-col :span="24">
                    <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="24">
                      <c-col :span="16">
                          <el-form-item label="Responsible User" prop="gitp.usr.extkey">
                              <c-input
                              v-model="model.gitp.usr.extkey"
                              maxlength="8"
                              placeholder="请输入Responsible User"
                              ></c-input>
                              </el-form-item>
                      </c-col>       
                      <c-col :span="4">
                                <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-col>
                      <c-col :span="4" class="centerLable">
                          <c-checkbox v-model="model.gitp.inc760">incoming lose</c-checkbox>
                      </c-col>  
                </c-col>

                <c-col :span="24">
                        <c-col :span="18">
                            <el-form-item label="Order Date" prop="gidgrp.rec.orddat">
                                <c-date-picker
                                    type="date"
                                    v-model="model.gidgrp.rec.orddat"
                                    style="width: 80%"
                                    placeholder="请选择Order Date"
                                ></c-date-picker>
                            </el-form-item>
                        </c-col>
                        <!-- <c-col :span="6" class="centerLable">
                          <c-checkbox v-model="model.gitp.inccormsgflg">Incoming corporate order</c-checkbox>
                        </c-col> -->
                </c-col>

                <c-col :span="24">
                    <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="24">
                          <el-form-item label="Expiry Type" prop="gidgrp.rec.exptyp">
                              <c-select v-model="model.gidgrp.rec.exptyp" style="width:100%" placeholder="请选择Expiry Type">
                              <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  label="Validity until" prop="gidgrp.rec.expdat">
                      <c-date-picker :disabled="model.gidgrp.rec.exptyp=='OPEN'"
                        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="24">
                    <c-col :span="20">
                        <el-form-item label="Expiry Condition/ Evt." prop="gidgrp.blk.exptxt">
                            <c-input type="textarea" rows="4" :disabled="model.gitp.exptxtmodflg==''"   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="4">
                        <c-checkbox v-model="model.gitp.exptxtmodflg" :disabled="model.gidgrp.rec.exptyp=='FIXD'||model.gidgrp.rec.exptyp=='OPEN'||model.gidgrp.rec.exptyp==''"  style="margin:0 0 0 10px">Modify Text</c-checkbox>
                        <c-button disabled size="small" type="primary" style="margin:5px 0 0 10px"  @click="onGitpButdifexptxt">
                            vs. &System
                        </c-button>
                        <c-button 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 label="Liability Type " prop="gidgrp.rec.liatypc">
                          <c-select :disabled="model.gidgrp.rec.purpos=='ISSU'" 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
                          label="Our Liability until"
                          prop="gidgrp.rec.liadat"
                        >
                          <c-date-picker :disabled="model.gidgrp.rec.liatypc=='OPEN'"
                            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="4" class="centerLable">
                              <c-checkbox v-model="model.gidgrp.rec.liaflg"
                                  >Unlimited Liability</c-checkbox
                              >
                      </c-col>
              </c-col>

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

      <!-- <c-col :span="12">
        <el-form-item label="Name" prop="gidgrp.rec.nam">
                <c-input  v-model="model.gidgrp.rec.nam" maxlength="40"  placeholder="请输入Name"></c-input>
        </el-form-item>
       </c-col> -->

      <!-- <c-col :span="24">
        <c-col :span="11">
          <c-col :span="24">
            <el-form-item label="面函标题" prop="gitp.lettername">
              <c-input
                v-model="model.gitp.lettername"
                maxlength="60"
                placeholder="请输入面函标题"
              ></c-input>
            </el-form-item> -->

            <!-- <c-col :span="4">
                    <span style="font-size: 15px; font-family: '宋体'; font-weight: bold" v-text="model.gitp.oppbnkl"   data-path=".gitp.oppbnkl" ></span>
                </c-col> -->
          <!-- </c-col>
          <c-col :span="24">
            <el-form-item label="Applicable Rules" prop="gidgrp.blk.apprul">
              <c-fullbox>
                <c-select
                  v-model="model.gidgrp.blk.apprul"
                  style="width: 100%"
                  placeholder="请选择Applicable Rules"
                >
                 <el-option
                    v-for="item in codes.apprul"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                    >
                  </el-option>
                </c-select>

                <template slot="footer">
                  <c-input
                    v-model="model.gidgrp.blk.apprultxt"
                    maxlength="35"
                    placeholder="请输入Applicable Rules"
                  ></c-input>
                </template>
              </c-fullbox>
            </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
                  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 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>
          <c-col :span="24">
            <el-form-item label="特殊保函类型" prop="gidgrp.ghd.segtyp">
              <c-select
                v-model="model.gidgrp.ghd.segtyp"
                style="width: 100%"
                placeholder="请选择特殊保函类型"
              >
              <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="24">
            <el-form-item label="是否分离式保函" prop="gidgrp.rec.fenlishi">
              <c-select
                v-model="model.gidgrp.rec.fenlishi"
                style="width: 100%"
                placeholder="请选择是否分离式保函"
              >
              <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 :span="24">
            <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"
              >
               <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 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="24">
            <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="24">
                    <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="24">
            <c-col :span="14">
              <el-form-item label="Validity until" prop="gidgrp.rec.expdat">
                <c-date-picker
                  type="date"
                  v-model="model.gidgrp.rec.expdat"
                  style="width: 90%"
                  placeholder="请选择Validity until"
                ></c-date-picker>
              </el-form-item>
            </c-col>
            <c-col :span="7" class="centerLable">
                 <c-checkbox v-model="model.gidgrp.rec.expflg"
                >Unlimited Guarantee</c-checkbox
              >
            </c-col>
            <c-col :span="3" class="centerLable">
                <c-button 
                    size="small" 
                    type="primary"  
                    @click="onGitpWbxs"
                    disabled
                    style="color:white">
                    显示文本
                </c-button> -->
                <!-- <c-button
                    style="margin: 0 10px 0 10px; padding: 0 12px; color:white"
                    size="small"
                    disabled
                  >
                    <span
                      style="
                        font-size: 10px;
                        font-family: '宋体';
                        color:black;
                      "
                      >显示文本</span
                    >
                  </c-button> -->
            <!-- </c-col>
          </c-col>
          <c-col :span="24">
            <c-col :span="14">
              <el-form-item
                label="Our Liability until"
                prop="gidgrp.rec.liadat"
              >
                <c-date-picker
                  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" class="centerLable">
              <c-checkbox v-model="model.gidgrp.rec.liaflg"
                >Unlimited Liability</c-checkbox
              >
            </c-col>
             <c-col :span="3" class="centerLable">
              <c-button 
                  size="small" 
                  type="primary"  
                  @click="onGitpYptxy"
                  disabled>
                  协议签署
              </c-button>
            </c-col>
          </c-col>
          <c-col :span="24">
            <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="24">
            <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="24">
            <c-col :span="20">
              <el-form-item label="Mortgage Flag" prop="gidgrp.rec.guaflg">
                <c-select
                  v-model="model.gidgrp.rec.guaflg"
                  style="width: 90%"
                  placeholder="请选择Mortgage Flag"
                >
                <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="4" class="centerLable">
              <c-checkbox v-model="model.gidgrp.rec.teskeyunc"
                >Test Key Unconfirmity</c-checkbox
              >
            </c-col>
          </c-col>
        </c-col> -->
        <!-- ============右边================= -->
        <!-- <c-col :span="11" :offset="1"> -->
          <!-- <c-col :span="24">
            <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="24">
                <c-ptap
                :model="model"
                :argadr="{
                  title: '申请人',
                  grp: 'gidgrp',
                  rol: 'apl',
                }"
                :disabled="true"
                @onAplpDet="onAplpDet"
              >
              </c-ptap>
          </c-col>

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

          <c-col :span="24">
            <c-ptap :model="model" :argadr="{
              title: '受益人',
              grp: 'gidgrp',
              rol: 'ben',
            }" 
            :disabled="true" 
            @onAplpDet="onBenpDet">
            </c-ptap>
          </c-col> -->
          <!-- <c-col :span="24">
            <el-form-item label="Address Block" prop="gidgrp.apl.pts.adrblk">
              <c-input
                type="textarea"
                :rows="1"
                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="24">
            <el-form-item label="名称" prop="gidgrp.apl.namelc">
                <c-input type="textarea" :rows="1" v-model="model.gidgrp.apl.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="地址" prop="gidgrp.apl.adrelc">
                <c-input type="textarea" :rows="1" v-model="model.gidgrp.apl.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
            </el-form-item>
          </c-col> -->
          <!-- <c-col :span="24">
            <el-form-item label="Adv\Rcv bank   Ref" 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="24">
              <el-form-item label="External Key of Address" prop="gidgrp.adv.pts.extkey">
                <c-fullbox>
                    <c-input  v-model="model.gidgrp.adv.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"
                        >
                          <span
                            style="
                              font-size: 15px;
                              font-family: '宋体';
                              font-weight: bold;
                            "
                            >i</span
                          >
                        </c-button>
                      <c-button size="small" type="primary"  @click="onAdvpDet">
                          Details
                      </c-button>
                    </template>
                </c-fullbox>
              </el-form-item> -->
          <!-- </c-col> -->

          <!-- <c-col :span="24">
            <el-form-item label="名称" prop="gidgrp.adv.namelc">
                <c-input type="textarea" :rows="1" v-model="model.gidgrp.adv.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
            </el-form-item>
          </c-col>

          <c-col :span="24">
              <el-form-item label="地址" prop="gidgrp.adv.adrelc">
                  <c-input type="textarea" :rows="1" v-model="model.gidgrp.adv.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
              </el-form-item>
          </c-col> -->

          <!-- <c-col :span="24">
            <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="24">

            <el-form-item label="External Key of Address" prop="gidgrp.ben.pts.extkey">
              <c-fullbox>
                   <c-input  v-model="model.gidgrp.ben.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"
                      >
                        <span
                          style="
                            font-size: 15px;
                            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 label="名称" prop="gidgrp.ben.namelc">
                <c-input type="textarea" :rows="1" v-model="model.gidgrp.ben.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="地址" prop="gidgrp.ben.adrelc">
                <c-input type="textarea" :rows="1" v-model="model.gidgrp.ben.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
            </el-form-item>
          </c-col> -->
          <!-- <c-col :span="24">
            <el-form-item label="Address Block" prop="gidgrp.apl.pts.adrblk">
              <c-input
                type="textarea"
                :rows="1"
                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="24">
            <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="24">
            <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="24">
            <el-form-item label="是否对外担保" prop="gidgrp.rec.fingua">
              <c-select
                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="20">
              <el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
                <c-select
                  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="4" class="centerLable">
              <c-checkbox v-model="model.gidgrp.rec.cmtflg"
                >跨境人民币保函</c-checkbox
              >
            </c-col>
          </c-col>
          <c-col :span="24">
            <el-form-item label="是否显示查询码" prop="gidgrp.gidcxm.cxmflg">
              <c-select
                v-model="model.gidgrp.gidcxm.cxmflg"
                style="width: 100%"
                placeholder="请选择是否显示查询码"
              >
              <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="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/Gitpop/Event";
import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";

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