<template>
  <div class="eibs-tab">
  <!-- =================顶部====================== -->
        <c-col :span="24">
            <c-col :span="8">
                <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="4">
                <el-form-item label="" label-width="15px">
                    <c-button
                        size="small"
                        type="primary;width:10%"
                    
                        >i</c-button
                    >
                    <c-button
                        size="small"
                        type="primary"
                        
                    >
                        获取
                    </c-button>
                </el-form-item>
            </c-col>
            <c-col :span="8">
                <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="4">
                <el-form-item label="" label-width="15px">
                    <c-button
                        size="small"
                        type="primary;width:10%"
                       
                        >i</c-button
                    >
                    <c-button
                        size="small"
                        type="primary"
                        
                    >
                        获取
                    </c-button>
                </el-form-item>
            </c-col>
        </c-col>                   
<c-col :span="24">
            <c-col :span="8">
                <el-form-item label="Doc. Set Reference" prop="btdgrp.rec.ownref">
            <c-input  v-model="model.btdgrp.rec.ownref" maxlength="16"  placeholder="请输入Doc. Set Reference"></c-input>
        </el-form-item>
            </c-col>
            <c-col :span="4">
                <el-form-item label="" label-width="15px">
                    <c-button
                        size="small"
                        type="primary;width:10%"
                        
                        >i</c-button
                    >
                    <c-button
                        size="small"
                        type="primary"
                        
                    >
                        获取
                    </c-button>
                </el-form-item>
            </c-col>
            <c-col :span="11">
                <el-form-item label="Name of Bill Contract" prop="btdgrp.rec.nam">
                    <c-input  v-model="model.btdgrp.rec.nam" maxlength="40"  placeholder="请输入Name of Bill Contract"></c-input>
                </el-form-item>
            </c-col>
        </c-col>                               
        <!-- ====================左边======================= -->
         <c-col :span="11">
            <c-col :span="15">
                <el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
                    <c-select
                        v-model="model.btdgrp.cbs.max.cur"
                        style="width: 100%"
                        placeholder="请选择Currency">
                        <el-option
                            v-for="item in codes.cur"
                            :key="item.value"
                            :label="item.label"
                            :value="item.value" >
                        </el-option>
                    </c-select>
                </el-form-item>
            </c-col>
            <c-col :span="8">
                <el-form-item
                    style="text-align: left"
                    label-width="20px"
                    prop="btdgrp.cbs.max.amt">
                    <c-input-currency
                        v-model="model.btdgrp.cbs.max.amt"
                        style="text-align: left; width: 100%"
                        placeholder="请输入Document Amount"
                    ></c-input-currency>
                </el-form-item>
            </c-col>

            <c-col :span="1">
              <el-form-item label="Add. Amount" prop="bttp0.aammod.addamtflg">
                <c-checkbox v-model="model.bttp0.aammod.addamtflg"></c-checkbox>
              </el-form-item>  
            </c-col>

            <c-col :span="15">
                <el-form-item label="Open Amount" prop="btdgrp.cbs.opn1.cur">
                    <c-select
                        v-model="model.btdgrp.cbs.opn1.cur"
                        style="width: 100%"
                        maxlength="3"
                        placeholder="请选择Currency">
                        <el-option
                            v-for="item in codes.cur"
                            :key="item.value"
                            :label="item.label"
                            :value="item.value">
                        </el-option>
                    </c-select>
                </el-form-item>
            </c-col>

            <c-col :span="8">
                <el-form-item
                    style="text-align: left"
                    label-width="20px"
                    prop="btdgrp.cbs.opn1.amt">
                    <c-input-currency
                        v-model="model.btdgrp.cbs.opn1.amt"
                        style="text-align: left; width: 100%"
                        placeholder="请输入Open Amount"
                    ></c-input-currency>
                </el-form-item>
            </c-col>


            <c-col :span="24">
                <el-form-item label="Document Type" prop="btdgrp.rec.doctypcod">
                    <c-select
                        v-model="model.btdgrp.rec.doctypcod"
                        style="width: 100%"
                        maxlength="1"
                        placeholder="请选择Document Type">
                        <el-option
                            v-for="item in codes.doctypcod"
                            :key="item.value"
                            :label="item.label"
                            :value="item.value">
                        </el-option>
                    </c-select>
                 </el-form-item>
            </c-col>

        <c-col :span="24">
                <el-form-item label="Maturity Date" prop="btdgrp.rec.matdat">
                    <c-date-picker type="date"  v-model="model.btdgrp.rec.matdat" style="width:100%"  placeholder="请选择Maturity Date"></c-date-picker>
                 </el-form-item>
        </c-col>

        <c-col :span="24">
                <el-form-item label="Received on 2nd Ben." prop="btdgrp.rec.rcvdatbe2">
                    <c-date-picker type="date"  v-model="model.btdgrp.rec.rcvdatbe2" style="width:100%"  placeholder="请选择Received on 2nd Ben."></c-date-picker>
                </el-form-item>
        </c-col>

        <c-col :span="24">
                <el-form-item label="Received on 1st Ben." prop="btdgrp.rec.rcvdatbe1">
                    <c-date-picker type="date"  v-model="model.btdgrp.rec.rcvdatbe1" style="width:100%"  placeholder="请选择Received on 1st Ben."></c-date-picker>
                </el-form-item>
        </c-col>

        <c-col :span="24">
                <el-form-item label="Document Set Status" prop="btdgrp.rec.docsta">
                   
                    <c-select
                        v-model="model.btdgrp.rec.docsta"
                        style="width: 100%"
                        maxlength="40"
                        placeholder="请选择Document Set Status">
                        <el-option
                            v-for="item in codes.docsta"
                            :key="item.value"
                            :label="item.label"
                            :value="item.value">
                        </el-option>
                    </c-select>
                 </el-form-item>
        </c-col>


         <c-col :span="15">
            <el-form-item label="Change Amount" prop="setmod.doccur">
                    <c-select
                        v-model="model.setmod.doccur"
                        style="width: 100%"
                        maxlength="3"
                        placeholder="请选择Currency">
                        <el-option
                            v-for="item in codes.cur"
                            :key="item.value"
                            :label="item.label"
                            :value="item.value">
                        </el-option>
                    </c-select>
                </el-form-item>
            </c-col>

            <c-col :span="8">
                <el-form-item
                    style="text-align: left"
                    label-width="20px"
                    prop="setmod.docamt">
                    <c-input
                        v-model="model.setmod.docamt"
                        style="text-align: left; width: 100%"
                        placeholder="请输入 Change Amount"
                    ></c-input>
                </el-form-item>
        </c-col>
        

        </c-col>
      <!-- ========================右边======================= -->
       <c-col :span="11" :offset="1">
       <c-col :span="24">&nbsp;</c-col>
        <c-col :span="24">
                <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="24">
                <el-form-item label="" 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="24">&nbsp;</c-col>
          
        <c-col :span="24">
            <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="24">
            <el-form-item label="" 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="24">&nbsp;</c-col>
        <c-col :span="24">&nbsp;</c-col>
        <c-col :span="24">&nbsp;</c-col>
        <c-col :span="24">&nbsp;</c-col>

        <c-col :span="24">
            <el-form-item label="Narrative" prop="trnmod.swiadd.strinf">
                <c-input type="textarea" v-model="model.trnmod.swiadd.strinf" maxlength="35" show-word-limit placeholder="请输入Narrative" ></c-input>
            </el-form-item>
        </c-col>

       </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttacc/Event"

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

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

    }
}
</script>
<style>

</style>
