<template>
  <div class="eibs-tab">
                              
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="betp.ledget.sdamod.dadsnd">
            <c-input  v-model="model.betp.ledget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Reference" prop="ledgrp.rec.ownref">
            <c-input  v-model="model.ledgrp.rec.ownref" maxlength="16"  placeholder="请输入Reference"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="betp.ledget.sdamod.seainf">
            <c-input  v-model="model.betp.ledget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="摘要" prop="ledgrp.rec.nam">
            <c-input  v-model="model.ledgrp.rec.nam" maxlength="40"  placeholder="请输入摘要"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="L/C Amount" prop="ledgrp.cbs.nom1.cur">
            <c-input  v-model="model.ledgrp.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="ledgrp.cbs.nom1.amt">
            <c-input  v-model="model.ledgrp.cbs.nom1.amt"  placeholder="请输入Balance"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.betp.aammod.addamtflg">Add. Amount</c-checkbox>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="申请人" prop="bedgrp.apl.pts.ref">
            <c-input  v-model="model.bedgrp.apl.pts.ref" maxlength="16"  placeholder="请输入申请人"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="信用证余额" prop="ledgrp.cbs.opn1.cur">
            <c-input  v-model="model.ledgrp.cbs.opn1.cur" maxlength="3"  placeholder="请输入信用证余额"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Balance" prop="ledgrp.cbs.opn1.amt">
            <c-input  v-model="model.ledgrp.cbs.opn1.amt"  placeholder="请输入Balance"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.ledgrp.rec.revflg">Revolving Flag</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Name of Party" prop="bedgrp.apl.pts.nam">
            <c-input  v-model="model.bedgrp.apl.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="指定银行" prop="ledgrp.avbnam">
            <c-input  v-model="model.ledgrp.avbnam" maxlength="40"  placeholder="请输入指定银行"></c-input>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Iss. Bank" prop="bedgrp.iss.pts.ref">
            <c-input  v-model="model.bedgrp.iss.pts.ref" maxlength="16"  placeholder="请输入Iss. Bank"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Available by [AVBBY0]" prop="ledgrp.rec.avbby">
            <c-select v-model="model.ledgrp.rec.avbby" style="width:100%" placeholder="请选择Available by [AVBBY0]">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.ledgrp.rec.redclsflg">Red/Green Clause</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Name of Party" prop="bedgrp.iss.pts.nam">
            <c-input  v-model="model.bedgrp.iss.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" prop="ledgrp.rec.opndat">
            <c-date-picker type="date"  v-model="model.ledgrp.rec.opndat" style="width:100%"  placeholder="请选择Date Issued"></c-date-picker>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Shipment Date" prop="ledgrp.rec.shpdat">
            <c-date-picker type="date"  v-model="model.ledgrp.rec.shpdat" style="width:100%"  placeholder="请选择Shipment Date"></c-date-picker>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Reference" prop="bedgrp.prb.pts.ref">
            <c-input  v-model="model.bedgrp.prb.pts.ref" maxlength="16"  placeholder="请输入Reference"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Date/Place of Expiry" prop="ledgrp.rec.expdat">
            <c-date-picker type="date"  v-model="model.ledgrp.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="ledgrp.rec.expplc">
            <c-input  v-model="model.ledgrp.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="bedgrp.prb.pts.nam">
            <c-input  v-model="model.bedgrp.prb.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Form of L/C" prop="ledgrp.rec.lcrtyp">
            <c-select v-model="model.ledgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="betp.recget.sdamod.dadsnd">
            <c-input  v-model="model.betp.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="bedgrp.rec.ownref">
            <c-input  v-model="model.bedgrp.rec.ownref" maxlength="16"  placeholder="请输入Document Reference"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="betp.recget.sdamod.seainf">
            <c-input  v-model="model.betp.recget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onBetmodButgetref">
            Get Ref
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Name" prop="bedgrp.rec.nam">
            <c-input  v-model="model.bedgrp.rec.nam" maxlength="40"  placeholder="请输入Name"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.betp.setnowflg">Register to Send and Settle Documents</c-checkbox>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Document Type" prop="bedgrp.rec.doctypcod">
            <c-select v-model="model.bedgrp.rec.doctypcod" style="width:100%" placeholder="请选择Document Type">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.betp.dcrflg">Register to Handle Discrepancies</c-checkbox>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Received on" prop="bedgrp.rec.rcvdat">
            <c-date-picker type="date"  v-model="model.bedgrp.rec.rcvdat" style="width:100%"  placeholder="请选择Received on"></c-date-picker>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Type of Advice" prop="bedgrp.rec.advtyp">
            <c-select v-model="model.bedgrp.rec.advtyp" style="width:100%" placeholder="请选择Type of Advice">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Payment advised on" prop="bedgrp.rec.advdat">
            <c-date-picker type="date"  v-model="model.bedgrp.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="bedgrp.rec.disdat">
            <c-date-picker type="date"  v-model="model.bedgrp.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="Presented by" prop="bedgrp.rec.docprbrol">
            <c-select v-model="model.bedgrp.rec.docprbrol" style="width:100%" placeholder="请选择Presented by">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Payer" prop="bedgrp.rec.payrol">
            <c-select v-model="model.bedgrp.rec.payrol" style="width:100%" placeholder="请选择Payer">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Reference" prop="bedgrp.prb.pts.ref">
            <c-input  v-model="model.bedgrp.prb.pts.ref" maxlength="16"  placeholder="请输入Reference"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Reference" prop="betp.oth.pts.ref">
            <c-input  v-model="model.betp.oth.pts.ref" maxlength="16"  placeholder="请输入Reference"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="betp.prbp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.betp.prbp.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="betp.othp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.betp.othp.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="bedgrp.prb.pts.extkey">
            <c-input  v-model="model.bedgrp.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="betp.prbp.ptsget.sdamod.seainf">
            <c-input  v-model="model.betp.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="External Key of Address" prop="bedgrp.oth.pts.extkey">
            <c-input  v-model="model.bedgrp.oth.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="betp.othp.ptsget.sdamod.seainf">
            <c-input  v-model="model.betp.othp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onOthpDet">
            Details
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="名称" prop="bedgrp.prb.namelc">
            <c-input type="textarea" v-model="model.bedgrp.prb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="名称" prop="bedgrp.oth.namelc">
            <c-input type="textarea" v-model="model.bedgrp.oth.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="bedgrp.prb.pts.adrblk">
            <c-input type="textarea" v-model="model.bedgrp.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="bedgrp.prb.dbfadrblkcn">
            <c-input type="textarea" v-model="model.bedgrp.prb.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="bedgrp.oth.pts.adrblk">
            <c-input type="textarea" v-model="model.bedgrp.oth.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="bedgrp.oth.dbfadrblkcn">
            <c-input type="textarea" v-model="model.bedgrp.oth.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="bedgrp.prb.adrelc">
            <c-input type="textarea" v-model="model.bedgrp.prb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="地址" prop="bedgrp.oth.adrelc">
            <c-input type="textarea" v-model="model.bedgrp.oth.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/Letdav/Event"

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

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

    }
}
</script>
<style>

</style>
