<template>
  <div class="eibs-tab">
    <!-- =========左============= -->
        <el-col :span="11">
        <c-col :span="24">
        <el-form-item label="Reference" prop="lidgrp.rec.ownref">
            <c-fullbox>
            <c-input disabled v-model="model.lidgrp.rec.ownref" maxlength="16"  placeholder="请输入Reference"></c-input>
            <template slot="footer">
                <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click=""
              >
                <span style="font-family: '宋体'; font-weight: bold">i</span>
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
                @click=""
                disabled
              >
                获取
              </c-button>
            </template>
            </c-fullbox>
        </el-form-item>
       </c-col>
        <c-col :span="24">
        <el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp">
            <c-select v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C"
            :code="codes.lcrtyp"
            >
              </c-select>
        </el-form-item>
       </c-col>
        <c-col :span="24">
        <el-form-item label="Responsible User" prop="litp.usr.extkey">
            <c-fullbox>
            <c-input disabled v-model="model.litp.usr.extkey" maxlength="8"  placeholder="请输入Responsible User"></c-input>
            <template slot="footer">
                 <c-button
            size="small"
            style="margin-left: 10px; padding: 0 10px"
            type="primary"
            @click="">
              <span style="font-family: '宋体'; font-weight: bold">i</span>
            </c-button>
            </template>
            
            </c-fullbox>
        </el-form-item>
       </c-col>
       <c-col :span="10">
        <el-form-item label="Nominal Amount" prop="lidgrp.cbs.nom1.cur">
            <c-input 
            disabled
            v-model="model.lidgrp.cbs.nom1.cur" style="width:100%" placeholder="请选择Nominal Amount">
              </c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="10">
        <el-form-item label="" label-width="10px" prop="lidgrp.cbs.nom1.amt">
            <c-input  disabled v-model="model.lidgrp.cbs.nom1.amt"  placeholder="请输入Nominal Amount"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="4">
	    <c-checkbox v-model="model.litp.aamp.aammod.addamtflg">Add. Amount</c-checkbox>
       </c-col>

        <c-col :span="12">
        <el-form-item label="Amount Tolerance +" prop="lidgrp.rec.nomtop">
            <c-input disabled v-model="model.lidgrp.rec.nomtop"  placeholder="请输入Amount Tolerance +/-"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Amount Tolerance - " prop="lidgrp.rec.nomton">
            <c-input disabled v-model="model.lidgrp.rec.nomton"  placeholder="请输入Amount Tolerance - Negative"></c-input>
        </el-form-item>
       </c-col>
       <c-col :span="24">
        <el-form-item label="Amount Specification" prop="lidgrp.rec.nomspc">
            <c-input disabled v-model="model.lidgrp.rec.nomspc" style="width:100%" placeholder="请选择Amount Specification">
            </c-input>
        </el-form-item>
       </c-col>
         <c-col :span="12">
        <el-form-item label="Maximum Amount" prop="lidgrp.cbs.max.cur">
            <c-input disabled v-model="model.lidgrp.cbs.max.cur" style="width:100%" placeholder="请选择Maximum Amount">
            </c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Maximum Amount" prop="lidgrp.cbs.max.amt">
            <c-input disabled v-model="model.lidgrp.cbs.max.amt"  placeholder="请输入Maximum Amount"></c-input>
        </el-form-item>
       </c-col>
       <c-col :span="12">
        <el-form-item label="L/C Issued on" prop="lidgrp.rec.opndat">
            <c-date-picker disabled type="date"  v-model="model.lidgrp.rec.opndat" style="width:100%"  placeholder="请选择L/C Issued on"></c-date-picker>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Date Pre-advised" prop="lidgrp.rec.preadvdt">
            <c-date-picker disabled type="date"  v-model="model.lidgrp.rec.preadvdt" style="width:100%"  placeholder="请选择Date Pre-advised"></c-date-picker>
        </el-form-item>
       </c-col>

       <c-col :span="12">
        <el-form-item label="Latest Shipment Date" prop="lidgrp.rec.shpdat">
            <c-date-picker disabled  type="date"  v-model="model.lidgrp.rec.shpdat" style="width:100%"  placeholder="请选择Latest Shipment Date"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox disabled v-model="model.lidgrp.rec.dkflg" style="margin-left:20px;padding: 0 10px;">是否代开信用证</c-checkbox>
       </c-col>

        <c-col :span="24">
        <el-form-item label="L/C Expiring on" prop="lidgrp.rec.expdat">
            <c-date-picker disabled type="date"  v-model="model.lidgrp.rec.expdat" style="width:100%"  placeholder="请选择L/C Expiring on"></c-date-picker>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="in (Place)/ counters of" prop="lidgrp.rec.expplc">
            <c-input  v-model="model.lidgrp.rec.expplc" maxlength="29"  placeholder="请输入in (Place)/ counters of"></c-input>
        </el-form-item>
       </c-col>
        <c-col :span="12">
        <el-form-item label="Partial Shipment" prop="lidgrp.rec.shppar">
            <c-select v-model="model.lidgrp.rec.shppar" style="width:100%" placeholder="请选择Partial Shipment"
            :code="codes.shppar"
            >
              </c-select>
        </el-form-item>
       </c-col>
                  
       <!-- <c-col :span="12">
        <el-form-item label="Partial Shipment" prop="lidgrp.rec.shppars18">
            <c-select v-model="model.lidgrp.rec.shppars18" style="width:100%" placeholder="请选择Partial Shipment">
              </c-select>
        </el-form-item>
       </c-col> -->
        <c-col :span="12">
        <el-form-item label="Transhipment" prop="lidgrp.rec.shptrs">
            <c-select v-model="model.lidgrp.rec.shptrs" style="width:100%" placeholder="请选择Transhipment"
            :code="codes.shppar"
            >
              </c-select>
        </el-form-item>
       </c-col>
       <c-col :span="12">
        <el-form-item label="Applicable Rules" prop="lidgrp.rec.apprul">
            <c-select v-model="model.lidgrp.rec.apprul" style="width:100%" placeholder="请选择Applicable Rules"
            :code="codes.apprul"
            >
              </c-select>
        </el-form-item>
       </c-col>
         <c-col :span="24">
        <el-form-item label="Other Applicable Rules" prop="lidgrp.rec.apprultxt">
            <c-input disabled v-model="model.lidgrp.rec.apprultxt" maxlength="35"  placeholder="请输入Other Applicable Rules"></c-input>
        </el-form-item>
       </c-col>  
        <c-col :span="24">
        <el-form-item label="Confirm. Instructions" prop="lidgrp.rec.cnfdet">
            <c-select v-model="model.lidgrp.rec.cnfdet" style="width:100%" placeholder="请选择Confirm. Instructions"
            :code="codes.cnfins"
            >
              </c-select>
        </el-form-item>
       </c-col> 
       <c-col :span="24">
        <el-form-item label="Mortgage Flag" prop="lidgrp.rec.guaflg">
            <c-select v-model="model.lidgrp.rec.guaflg" style="width:100%" placeholder="请选择Mortgage Flag"
            :code="codes.guaflg"
            >
              </c-select>
        </el-form-item>
       </c-col>
        <c-col :span="24">
        <el-form-item label="Register Ref." prop="lidgrp.rec.regref">
            <c-input disabled v-model="model.lidgrp.rec.regref" maxlength="16"  placeholder="请输入Register Ref."></c-input>
        </el-form-item>
       </c-col>     
        </el-col>    
        <!-- ======================================右========================================= -->
        <el-col :span="11" :offset="1">
        <c-col :span="24">
        <el-form-item label="Name" prop="lidgrp.rec.nam">
            <c-input disabled v-model="model.lidgrp.rec.nam" maxlength="40"  placeholder="请输入Name"></c-input>
        </el-form-item>
       </c-col>
         <c-col :span="24">
        <el-form-item label="Applicant Ref." prop="lidgrp.apl.pts.ref">
            <c-input  v-model="model.lidgrp.apl.pts.ref" maxlength="16"  placeholder="请输入Applicant              Ref."></c-input>
        </el-form-item>
       </c-col>
         <c-col :span="24">
        <el-form-item label="External Key of Address" prop="lidgrp.apl.pts.extkey">
            <c-fullbox>
            <c-input disabled v-model="model.lidgrp.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=""
              >
                <span style="font-family: '宋体'; font-weight: bold">i</span>
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
                @click=""
              >
                获取
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
       </c-col>
         <!-- <c-col :span="24">
        <el-form-item label="名称" prop="lidgrp.apl.namelc">
            <c-input disabled type="textarea" v-model="model.lidgrp.apl.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col> -->
       <c-col :span="24">
        <el-form-item label="Address Block" prop="lidgrp.apl.pts.adrblk">
            <c-input 
            :rows="4"
            disabled type="textarea" v-model="model.lidgrp.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="Advising Bank Ref." prop="lidgrp.adv.pts.ref">
            <c-input  v-model="model.lidgrp.adv.pts.ref" maxlength="16"  placeholder="请输入Advising Bank     Ref."></c-input>
        </el-form-item>
       </c-col>
        <c-col :span="24">
        <el-form-item label="External Key of Address" prop="lidgrp.adv.pts.extkey">
            <c-fullbox>
            <c-input disabled v-model="model.lidgrp.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"
                @click=""
              >
                <span style="font-family: '宋体'; font-weight: bold">i</span>
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
                @click=""
              >
                获取
              </c-button>
            </template>
            </c-fullbox>
        </el-form-item>
       </c-col>
       <!-- <c-col :span="24">
        <el-form-item label="名称" prop="lidgrp.adv.namelc">
            <c-input type="textarea" v-model="model.lidgrp.adv.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col> -->
                  
       <c-col :span="24">
        <el-form-item label="Address Block" prop="lidgrp.adv.pts.adrblk">
            <c-input 
            disabled 
            :rows="3"
            type="textarea" v-model="model.lidgrp.adv.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="Chinese address" prop="lidgrp.apl.dbfadrblkcn">
            <c-input type="textarea" v-model="model.lidgrp.apl.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
        </c-col>
        <c-col :span="24">
        <el-form-item label="地址" prop="lidgrp.apl.adrelc">
            <c-input type="textarea" v-model="model.lidgrp.apl.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col>
       
        
       
                  
       <c-col :span="24">
        <el-form-item label="Chinese address" prop="lidgrp.adv.dbfadrblkcn">
            <c-input type="textarea" v-model="model.lidgrp.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="lidgrp.adv.adrelc">
            <c-input type="textarea" v-model="model.lidgrp.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="lidgrp.ben.pts.ref">
            <c-input  v-model="model.lidgrp.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="lidgrp.ben.pts.extkey">
            <c-fullbox>
            <c-input  v-model="model.lidgrp.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"
                @click=""
              >
                <span style="font-family: '宋体'; font-weight: bold">i</span>
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
                @click=""
              >
                获取
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
       </c-col>
        <!-- <c-col :span="24">
        <el-form-item label="名称" prop="lidgrp.ben.namelc">
            <c-input type="textarea" v-model="model.lidgrp.ben.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col> -->
                  
       <c-col :span="24">
        <el-form-item label="Address Block" prop="lidgrp.ben.pts.adrblk">
            <c-input 
            disabled
            type="textarea" v-model="model.lidgrp.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="lidgrp.ben.dbfadrblkcn">
            <c-input type="textarea" v-model="model.lidgrp.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="lidgrp.ben.adrelc">
            <c-input type="textarea" v-model="model.lidgrp.ben.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col> -->
         <!-- <c-col :span="24">
        <el-form-item label="对手行代码" prop="lidgrp.rec.oppbnk">
            <c-input   v-model="model.lidgrp.rec.oppbnk" maxlength="12"  placeholder="请输入对手行代码"></c-input>
        </el-form-item>
       </c-col> -->
                  
       <c-col :span="12">
	    <c-checkbox disabled v-model="model.lidgrp.rec.rmbflg">Reimbursement Information</c-checkbox>
       </c-col>
       <c-col :span="12">
	    <c-checkbox disabled v-model="model.lidgrp.rec.revflg">Revolving L/C</c-checkbox>
       </c-col>
        <c-col :span="24">
        <el-form-item label="合同号" prop="lidgrp.rec.rptref">
            <c-input  v-model="model.lidgrp.rec.rptref" maxlength="25"  placeholder="请输入合同号"></c-input>
        </el-form-item>
       </c-col>
        </el-col>               

       <!-- <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="litp.recget.sdamod.dadsnd">
            <c-input  v-model="model.litp.recget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col> -->
                                   
       
                  
       <!-- <c-col :span="12">
        <el-form-item label="" prop="litp.recget.sdamod.seainf">
            <c-input  v-model="model.litp.recget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col> -->
                  
       <!-- <c-col :span="12">
        <c-button size="small" type="primary"  @click="onLitpButgetref">
            Get Ref
        </c-button>
       </c-col> -->
                                   
       
                                   
       
                                   
      
                  
       <!-- <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="litp.aplp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.litp.aplp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col> -->
                                   
       
                  
       <!-- <c-col :span="12">
        <el-form-item label="" prop="litp.usrget.sdamod.seainf">
            <c-input  v-model="model.litp.usrget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col> -->
                  
       <!-- <c-col :span="12">
	    <c-checkbox v-model="model.lidgrp.rec.resflg">Reserved Contract</c-checkbox>
       </c-col> -->
                  
      
                  
       <!-- <c-col :span="12">
        <el-form-item label="" prop="litp.aplp.ptsget.sdamod.seainf">
            <c-input  v-model="model.litp.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">
        <el-form-item label="Drag  Drop Sender" prop="litp.advp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.litp.advp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col> -->
                  
      
                  
       <!-- <c-col :span="12">
        <el-form-item label="" prop="litp.advp.ptsget.sdamod.seainf">
            <c-input  v-model="model.litp.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="Drag  Drop Sender" prop="litp.benp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.litp.benp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col> -->
                  
       
                  
       <!-- <c-col :span="12">
        <el-form-item label="" prop="litp.benp.ptsget.sdamod.seainf">
            <c-input  v-model="model.litp.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">
        <el-form-item label="Transhipment" prop="lidgrp.rec.shptrss18">
            <c-select v-model="model.lidgrp.rec.shptrss18" style="width:100%" placeholder="请选择Transhipment">
              </c-select>
        </el-form-item>
       </c-col> -->
                  
      
                                   
         
      
                                   
      
                                   
      
                  
	<!-- <c-col :span="12">
	    <span  v-text="model.litp.oppbnkl"   data-path=".litp.oppbnkl" > </span>
	</c-col> -->  
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litame/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){
        return {

        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>
