<template>
  <div class="eibs-tab">
                                                                
       <c-col :span="12">
        <el-form-item label="Externally Displayed Name to Identify the Contract" prop="dedgrp.rec.nam">
            <c-input  v-model="model.dedgrp.rec.nam" maxlength="40"  placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="信用证金额" prop="dedgrp.cbs.nom1.cur">
            <c-input  v-model="model.dedgrp.cbs.nom1.cur" maxlength="3"  placeholder="请输入信用证金额"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Balance" prop="dedgrp.cbs.nom1.amt">
            <c-input  v-model="model.dedgrp.cbs.nom1.amt"  placeholder="请输入Balance"></c-input>
        </el-form-item>
       </c-col>
                                                                                      
       <c-col :span="12">
        <el-form-item label="指定银行" prop="dedgrp.avbnam">
            <c-input  v-model="model.dedgrp.avbnam" maxlength="40"  placeholder="请输入指定银行"></c-input>
        </el-form-item>
       </c-col>
                                                                     
       <c-col :span="12">
        <el-form-item label="兑付方式" prop="dedgrp.rec.avbby">
            <c-select v-model="model.dedgrp.rec.avbby" style="width:100%" placeholder="请选择兑付方式">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Shipment Date" prop="dedgrp.rec.shpdat">
            <c-date-picker type="date"  v-model="model.dedgrp.rec.shpdat" style="width:100%"  placeholder="请选择Shipment Date"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="开证日期" prop="dedgrp.rec.opndat">
            <c-date-picker type="date"  v-model="model.dedgrp.rec.opndat" style="width:100%"  placeholder="请选择开证日期"></c-date-picker>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="交单人" prop="bfdgrp.prb.pts.ref">
            <c-input  v-model="model.bfdgrp.prb.pts.ref" maxlength="16"  placeholder="请输入交单人"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="最迟交单日期/交单地" prop="dedgrp.rec.expdat">
            <c-date-picker type="date"  v-model="model.dedgrp.rec.expdat" style="width:100%"  placeholder="请选择最迟交单日期/交单地"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="最迟交单日期/交单地" prop="dedgrp.rec.expplc">
            <c-input type="textarea" v-model="model.dedgrp.rec.expplc" maxlength="35" show-word-limit placeholder="请输入最迟交单日期/交单地" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Name of Party" prop="bfdgrp.prb.pts.nam">
            <c-input  v-model="model.bfdgrp.prb.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="信用证类型" prop="dedgrp.rec.lcrtyp">
            <c-select v-model="model.dedgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="单据编号" prop="bfdgrp.rec.ownref">
            <c-input  v-model="model.bfdgrp.rec.ownref" maxlength="16"  placeholder="请输入单据编号"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onBftmodButgetref">
            获取
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Externally Displayed Name to Identify the Contract" prop="bfdgrp.rec.nam">
            <c-input  v-model="model.bfdgrp.rec.nam" maxlength="40"  placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="单据类型" prop="bfdgrp.rec.doctypcod">
            <c-select v-model="model.bfdgrp.rec.doctypcod" style="width:100%" placeholder="请选择单据类型">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Presented by" prop="bfdgrp.rec.docprbrol">
            <c-select v-model="model.bfdgrp.rec.docprbrol" style="width:100%" placeholder="请选择Presented by">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="单据金额" prop="bfdgrp.cbs.max.cur">
            <c-input  v-model="model.bfdgrp.cbs.max.cur" maxlength="3"  placeholder="请输入单据金额"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Balance" prop="bfdgrp.cbs.max.amt">
            <c-input  v-model="model.bfdgrp.cbs.max.amt"  placeholder="请输入Balance"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="交单人" prop="bfdgrp.prb.pts.ref">
            <c-input  v-model="model.bfdgrp.prb.pts.ref" maxlength="16"  placeholder="请输入交单人"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="External Key of Address" prop="bfdgrp.prb.pts.extkey">
            <c-input  v-model="model.bfdgrp.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="Number of bank" prop="bfdgrp.prb.pts.bankno">
            <c-input  v-model="model.bfdgrp.prb.pts.bankno" maxlength="20"  placeholder="请输入Number of bank"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="收单日期" prop="bfdgrp.rec.rcvdat">
            <c-date-picker type="date"  v-model="model.bfdgrp.rec.rcvdat" style="width:100%"  placeholder="请选择收单日期"></c-date-picker>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Order Date" prop="bfdgrp.rec.orddat">
            <c-date-picker type="date"  v-model="model.bfdgrp.rec.orddat" style="width:100%"  placeholder="请选择Order Date"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="联行名称  电证用" prop="bfdgrp.prb.pts.jigomc">
            <c-input type="textarea" v-model="model.bfdgrp.prb.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称  电证用" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="到期日" prop="bfdgrp.rec.matdat">
            <c-date-picker type="date"  v-model="model.bfdgrp.rec.matdat" style="width:100%"  placeholder="请选择到期日"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Date of Shipment" prop="bfdgrp.rec.shpdat">
            <c-date-picker type="date"  v-model="model.bfdgrp.rec.shpdat" style="width:100%"  placeholder="请选择Date of Shipment"></c-date-picker>
        </el-form-item>
       </c-col>
                  
	<c-col :span="12">
	    <span  v-text="model.zcdat"   data-path=".zcdat" > </span>
	</c-col>
                                   
       <c-col :span="12">
        <el-form-item label="地址  电证用" prop="bfdgrp.prb.pts.dizhii">
            <c-input type="textarea" v-model="model.bfdgrp.prb.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址  电证用" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Maturity Period" prop="bfdgrp.blk.matper">
            <c-input type="textarea" v-model="model.bfdgrp.blk.matper" maxlength="65" show-word-limit placeholder="请输入Maturity Period" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="发票类型" prop="bfdgrp.rec.invtyp">
            <c-select v-model="model.bfdgrp.rec.invtyp" style="width:100%" placeholder="请选择发票类型">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.bfdgrp.rec.dscinsflg">Enter Docs, Discrep. and Instructions</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="No. of Existing and not Completely Processed  Document Sets" prop="dedgrp.rec.utlnbr">
            <c-input  v-model="model.dedgrp.rec.utlnbr"  placeholder="请输入No. of Existing and not Completely Processed  Document Sets"></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/Detdrv/Event"

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

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

    }
}
</script>
<style>

</style>
