<template>
  <div class="eibs-tab">
      <!-- 左边 -->
      <c-col :span="12">
        <!-- S0000198 : 信用证编号 -->
        <c-col :span="16">
            <c-form-item label="import L/C Ref" prop="lidgrp.rec.ownref">
                <c-input  v-model="model.lidgrp.rec.ownref" maxlength="16"  placeholder="请输入import L/C Ref"></c-input>
            </c-form-item>
        </c-col>
        <!-- S0000195 : 到期日 -->            
        <c-col :span="8">
            <el-form-item label="Expiry" prop="lidgrp.rec.expdat">
                <c-date-picker type="date"  v-model="model.lidgrp.rec.expdat" style="width:100%"  placeholder="请输入Expiry"></c-date-picker>
            </el-form-item>
        </c-col>
        <!-- S0000196 : 单据参考号 -->         
       <c-col :span="24">
            <c-form-item label="Bill Set reference" prop="brdgrp.rec.ownref">
                <c-input  v-model="model.brdgrp.rec.ownref" maxlength="16"  placeholder="请输入Bill Set reference"></c-input>
            </c-form-item>
       </c-col>
       <!-- S0000197 : 单据金额 -->                  
       <c-col :span="12">
            <el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur">
                <c-select v-model="model.brdgrp.cbs.max.cur" style="width:100%" placeholder="请输入Document Amount">
                </c-select>
            </el-form-item>
       </c-col>
       <c-col :span="12">
            <c-form-item label="" prop="brdgrp.cbs.max.amt">
                <c-input  v-model="model.brdgrp.cbs.max.amt"  placeholder="请输入"></c-input>
            </c-form-item>
       </c-col>
        <!-- S0000199 : 单据余额 -->               
       <c-col :span="12">
            <c-form-item label="Open Amount" prop="brdgrp.cbs.opn1.cur">
                <c-input  v-model="model.brdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Open Amount"></c-input>
            </c-form-item>
       </c-col>
        <c-col :span="12">
            <c-form-item label="" prop="brdgrp.cbs.opn1.amt">
                <c-input  v-model="model.brdgrp.cbs.opn1.amt" placeholder="请输入"></c-input>
            </c-form-item>
       </c-col>
       <!-- S0000200 : 到单日期 -->          
       <c-col :span="12">
            <el-form-item label="Received on" prop="brdgrp.rec.rcvdat">
                <c-date-picker type="date"  v-model="model.brdgrp.rec.rcvdat" style="width:100%"  :placeholder="$t('other.please_enter')+$t('brtp.S0000200')"></c-date-picker>
            </el-form-item>
       </c-col>
       <!-- S0000202 : 通知到单日期 -->            
       <c-col :span="12">
            <el-form-item label="Adviced on" prop="brdgrp.rec.advdat">
                <c-date-picker type="date"  v-model="model.brdgrp.rec.advdat" style="width:100%" placeholder="请输入Adviced on"></c-date-picker>
            </el-form-item>
       </c-col>
        <c-col :span="12">
            <el-form-item label="Maturity Date" prop="brdgrp.rec.matdat">
                <c-date-picker type="date"  v-model="model.brdgrp.rec.matdat" style="width:100%"  placeholder="请输入Maturity Date"></c-date-picker>
            </el-form-item>
       </c-col>
                 <!-- SG000232 : Start Date -->          
       <c-col :span="12">
        <el-form-item label="Start Date" prop="brdgrp.rec.stadat">
            <c-date-picker type="date"  v-model="model.brdgrp.rec.stadat" style="width:100%"  placeholder="请输入Start Date "></c-date-picker>
        </el-form-item>
       </c-col>
         <!-- S0000206 : 单据类型 -->              
       <c-col :span="24">
            <el-form-item label="Document Type" prop="brdgrp.rec.docflg">
                <c-select v-model="model.brdgrp.rec.docflg" style="width:100%" placeholder="请输入Document Type">
                </c-select>
            </el-form-item>
       </c-col>
       <!-- S0000207 : 单据状态 -->              
       <c-col :span="24">
            <el-form-item label="Document Set Status" prop="brdgrp.rec.docsta">
                <c-select v-model="model.brdgrp.rec.docsta" style="width:100%" placeholder="请输入Document Set Status">
                </c-select>
            </el-form-item>
       </c-col>
                 <!-- SF000019 : Documents presented -->              
       <c-col :span="24">
            <c-form-item label="Documents Presented" prop="brdgrp.blk.prsdoc">
                <c-input type="textarea" v-model="model.brdgrp.blk.prsdoc" maxlength="65" show-word-limit placeholder="" ></c-input>
            </c-form-item>
        </c-col>
        <!-- SF000020 : Instructions Received -->              
       <c-col :span="24">
            <c-form-item label="Instructions Received from Applicant" prop="brdgrp.blk.aplins">
                <c-input type="textarea" v-model="model.brdgrp.blk.aplins" maxlength="40" show-word-limit placeholder="" ></c-input>
            </c-form-item>
        </c-col>

                  

      </c-col>

      <!-- 右边 -->
      <c-col :span="12">
         <!-- S0000192 : 信用证余额 -->             
       <c-col :span="12">
            <c-form-item label="Open Amt.L/C" prop="lidgrp.cbs.opn1.cur">
                <c-input  v-model="model.lidgrp.cbs.opn1.cur" maxlength="3"  :placeholder="$t('other.please_enter')+'Currency'"></c-input>
            </c-form-item>
       </c-col>
        <c-col :span="12">
            <c-form-item label="Balance" prop="lidgrp.cbs.opn1.amt">
                <c-input  v-model="model.lidgrp.cbs.opn1.amt"  :placeholder="$t('other.please_enter')+'Balance'"></c-input>
            </c-form-item>
       </c-col>  
        <c-col :span="24">
            <c-form-item label="Name of Bill Contract" prop="brdgrp.rec.nam">
                <c-input  v-model="model.brdgrp.rec.nam" maxlength="40"  placeholder="请输入"></c-input>
            </c-form-item>
       </c-col>
                  <!-- S0000194 : 申请人 -->
                 <!-- S0000203 : 编号 -->          
       <c-col :span="24">
            <c-form-item label="Applicant Ref" prop="brdgrp.apl.pts.ref">
                <c-input  v-model="model.brdgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref"></c-input>
            </c-form-item>
       </c-col>
        <c-col :span="24">
            <c-form-item label="" prop="brdgrp.apl.pts.nam">
                <c-input  v-model="model.brdgrp.apl.pts.nam" maxlength="40"  placeholder="请输入"></c-input>
            </c-form-item>
       </c-col>
        <!-- S0000193 : 受益人 -->
        <!-- S0000205 : 编号 -->              
       <c-col :span="24">
            <c-form-item label="Beneficiary Ref" prop="brdgrp.ben.pts.ref">
                <c-input  v-model="model.brdgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary Ref"></c-input>
            </c-form-item>
       </c-col>
        <c-col :span="24">
            <c-form-item label="" prop="brdgrp.ben.pts.nam">
                <c-input  v-model="model.brdgrp.ben.pts.nam" maxlength="40" placeholder="请输入"></c-input>
            </c-form-item>
       </c-col>
        <!-- S0000204 : 交单行 -->
                 <!-- S0000208 : 编号 -->            
       <c-col :span="24">
            <c-form-item label="Present Bank Ref" prop="brdgrp.prb.pts.ref">
                <c-input  v-model="model.brdgrp.prb.pts.ref" maxlength="16"  placeholder="请输入Present Bank Ref"></c-input>
            </c-form-item>
       </c-col>
       <c-col :span="24">
            <c-form-item label="" prop="brdgrp.prb.pts.nam">
                <c-input  v-model="model.brdgrp.prb.pts.nam" maxlength="40" placeholder="请输入"></c-input>
            </c-form-item>
       </c-col>
       <c-col :span="12">
            <c-form-item label="document amount" prop="setmod.docamt">
                <c-input  v-model="model.setmod.docamt"  :placeholder="$t('other.please_enter')+'document amount'"></c-input>
            </c-form-item>
       </c-col>

      </c-col>
                              
       <c-col :span="12">
        <c-form-item label="Drag  Drop Sender" prop="brtp.lidget.sdamod.dadsnd">
            <c-input  v-model="model.brtp.lidget.sdamod.dadsnd"  :placeholder="$t('other.please_enter')+'Drag  Drop Sender'"></c-input>
        </c-form-item>
       </c-col>
                 
                  
       
                  
       <c-col :span="12">
        <c-form-item label="" prop="brtp.lidget.sdamod.seainf">
            <c-input  v-model="model.brtp.lidget.sdamod.seainf"  :placeholder="$t('other.please_enter')+''"></c-input>
        </c-form-item>
       </c-col>
                
                
                  
   
                  
       <c-col :span="12">
        <c-form-item label="Drag  Drop Sender" prop="brtp.recget.sdamod.dadsnd">
            <c-input  v-model="model.brtp.recget.sdamod.dadsnd"  :placeholder="$t('other.please_enter')+'Drag  Drop Sender'"></c-input>
        </c-form-item>
       </c-col>
        
                  
       <c-col :span="12">
        <c-form-item label="" prop="brtp.recget.sdamod.seainf">
            <c-input  v-model="model.brtp.recget.sdamod.seainf"  :placeholder="$t('other.please_enter')+''"></c-input>
        </c-form-item>
       </c-col>
                  
      
                  
       
      
      
      
                  
      
        
         
                 <!-- S0000201 : 远期单据到期日 -->
                  
<c-col :span="12">
    <span  v-text="model.brtp.matp.mattxtlab"   data-path=".brtp.matp.mattxtlab" > </span>
</c-col>
                  
      
       
                  
     
      
                 <!-- SG000233 : Tenor -->
                  
       <c-col :span="12">
        <c-form-item label="Tenor day" prop="brdgrp.rec.tenmaxday">
            <c-input  v-model="model.brdgrp.rec.tenmaxday"  :placeholder="$t('other.please_enter')+'Tenor day'"></c-input>
        </c-form-item>
       </c-col>
                
                  
       
                 
                 <!-- SF000019 : Documents presented -->
                  
       <c-col :span="12">
        <c-form-item label="Documents Presented" prop="brdgrp.blk.prsdoc">
            <c-input type="textarea" v-model="model.brdgrp.blk.prsdoc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Documents Presented'" ></c-input>
        </c-form-item>
        </c-col>
                 <!-- SF000026 : External Id -->
                 <!-- SF000024 : currency -->
                 <!-- SF000027 : currency -->
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gleflg">{{$t('brtlat.CG000032')}}</c-checkbox>
       </c-col>
                 <!-- SF000022 : Amount to Settle -->
                  
       <c-col :span="12">
        <c-form-item label="document currency" prop="setmod.doccur">
            <c-input  v-model="model.setmod.doccur" maxlength="3"  :placeholder="$t('other.please_enter')+'document currency'"></c-input>
        </c-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/Brtlat/Event"

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

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

    }
}
</script>
<style>

</style>
