<template>
  <div class="eibs-tab">
                                               
       <c-col :span="12">
        <el-form-item label="L/C Reference" prop="ledgrp.rec.ownref">
            <c-input  v-model="model.ledgrp.rec.ownref" maxlength="16"  placeholder="请输入L/C Reference"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="bttp.ledget.sdamod.seainf">
            <c-input  v-model="model.bttp.ledget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Name" prop="ledgrp.rec.nam">
            <c-input  v-model="model.ledgrp.rec.nam" maxlength="40"  placeholder="请输入Name"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="bttp.ltdget.sdamod.dadsnd">
            <c-input  v-model="model.bttp.ltdget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref">
            <c-input  v-model="model.ltdgrp.rec.ownref" maxlength="16"  placeholder="请输入Transfer Reference"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="bttp.ltdget.sdamod.seainf">
            <c-input  v-model="model.bttp.ltdget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Name" prop="ltdgrp.rec.nam">
            <c-input  v-model="model.ltdgrp.rec.nam" maxlength="40"  placeholder="请输入Name"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="L/C Amount" prop="ltdgrp.cbs.nom1.cur">
            <c-input  v-model="model.ltdgrp.cbs.nom1.cur" maxlength="3"  placeholder="请输入L/C Amount"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Balance" prop="ltdgrp.cbs.nom1.amt">
            <c-input  v-model="model.ltdgrp.cbs.nom1.amt"  placeholder="请输入Balance"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.bttp.aammod.addamtflg">Add. Amount</c-checkbox>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="1st Beneficiary" prop="btdgrp.be1.pts.ref">
            <c-input  v-model="model.btdgrp.be1.pts.ref" maxlength="16"  placeholder="请输入1st Beneficiary"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Open Amount" prop="ltdgrp.cbs.opn1.cur">
            <c-input  v-model="model.ltdgrp.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="ltdgrp.cbs.opn1.amt">
            <c-input  v-model="model.ltdgrp.cbs.opn1.amt"  placeholder="请输入Balance"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Name of Party" prop="btdgrp.be1.pts.nam">
            <c-input  v-model="model.btdgrp.be1.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Available with" prop="ltdgrp.avbnam">
            <c-input  v-model="model.ltdgrp.avbnam" maxlength="40"  placeholder="请输入Available with"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="2nd Beneficiary" prop="btdgrp.be2.pts.ref">
            <c-input  v-model="model.btdgrp.be2.pts.ref" maxlength="16"  placeholder="请输入2nd Beneficiary"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Available by" prop="ltdgrp.rec.avbby">
            <c-select v-model="model.ltdgrp.rec.avbby" style="width:100%" placeholder="请选择Available by">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Shipment Date" prop="ltdgrp.rec.shpdat">
            <c-date-picker type="date"  v-model="model.ltdgrp.rec.shpdat" style="width:100%"  placeholder="请选择Shipment Date"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Name of Party" prop="btdgrp.be2.pts.nam">
            <c-input  v-model="model.btdgrp.be2.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Date Issued/Form" prop="ltdgrp.rec.opndat">
            <c-date-picker type="date"  v-model="model.ltdgrp.rec.opndat" style="width:100%"  placeholder="请选择Date Issued/Form"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Date Issued/Form" prop="ltdgrp.rec.lcrtyp">
            <c-select v-model="model.ltdgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Date Issued/Form">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Presenting Bank" prop="btdgrp.prb.pts.ref">
            <c-input  v-model="model.btdgrp.prb.pts.ref" maxlength="16"  placeholder="请输入Presenting Bank"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Date / Place of Expiry" prop="ltdgrp.rec.expdat">
            <c-date-picker type="date"  v-model="model.ltdgrp.rec.expdat" style="width:100%"  placeholder="请选择Date / Place of Expiry"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Date / Place of Expiry" prop="ltdgrp.rec.expplc">
            <c-input  v-model="model.ltdgrp.rec.expplc" maxlength="29"  placeholder="请输入Date / Place of Expiry"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Name of Party" prop="btdgrp.prb.pts.nam">
            <c-input  v-model="model.btdgrp.prb.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="bttp.recget.sdamod.dadsnd">
            <c-input  v-model="model.bttp.recget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Document Reference" prop="btdgrp.rec.ownref">
            <c-input  v-model="model.btdgrp.rec.ownref" maxlength="16"  placeholder="请输入Document Reference"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="bttp.recget.sdamod.seainf">
            <c-input  v-model="model.bttp.recget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Name" prop="btdgrp.rec.nam">
            <c-input  v-model="model.btdgrp.rec.nam" maxlength="40"  placeholder="请输入Name"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Type of Advice" prop="btdgrp.rec.advtyp">
            <c-select v-model="model.btdgrp.rec.advtyp" style="width:100%" placeholder="请选择Type of Advice">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Presented by" prop="btdgrp.rec.docprbrol">
            <c-select v-model="model.btdgrp.rec.docprbrol" style="width:100%" placeholder="请选择Presented by">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="bttp.prbp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.bttp.prbp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Payment advised on" prop="btdgrp.rec.advdat">
            <c-date-picker type="date"  v-model="model.btdgrp.rec.advdat" style="width:100%"  placeholder="请选择Payment advised on"></c-date-picker>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Discrep. advised on" prop="btdgrp.rec.disdat">
            <c-date-picker type="date"  v-model="model.btdgrp.rec.disdat" style="width:100%"  placeholder="请选择Discrep. advised on"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="External Key of Address" prop="btdgrp.prb.pts.extkey">
            <c-input  v-model="model.btdgrp.prb.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="bttp.prbp.ptsget.sdamod.seainf">
            <c-input  v-model="model.bttp.prbp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onPrbpDet">
            Details
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="名称" prop="btdgrp.prb.namelc">
            <c-input type="textarea" v-model="model.btdgrp.prb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.bttp.setnowflg">setttle now</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Address Block" prop="btdgrp.prb.pts.adrblk">
            <c-input type="textarea" v-model="model.btdgrp.prb.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="btdgrp.prb.dbfadrblkcn">
            <c-input type="textarea" v-model="model.btdgrp.prb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.btdgrp.rec.dscinsflg">Enter Docs, Discrep. and Instructions</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="地址" prop="btdgrp.prb.adrelc">
            <c-input type="textarea" v-model="model.btdgrp.prb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </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/Lttdav/Event"

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

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

    }
}
</script>
<style>

</style>
