<template>
    <div class="eibs-tab">

        <el-row>
        <c-col :span="8">
            <el-form-item label="Import L/C" prop="lidgrp.rec.ownref">
                <c-input v-model="model.lidgrp.rec.ownref" maxlength="16" placeholder="请输入参考号"
                         ></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="2">
                <c-button >seainf</c-button>
        </c-col>
        <c-col :span="2">
                <c-button >dadsnd</c-button>
        </c-col>
        <c-col :span="5">
            <el-form-item label="Expiry" prop="lidgrp.rec.expdat">
                <c-date-picker type="date" v-model="model.lidgrp.rec.expdat" style="width:100%"
                               placeholder="请选择Date of Expiry" disabled="disabled"></c-date-picker>
            </el-form-item>
        </c-col>
        <c-col :span="3">
            <el-form-item label="Open Amt. L/C" prop="lidgrp.cbs.opn1.cur" label-width="100px">
                <c-select v-model="model.lidgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择币种">
                </c-select>
            </el-form-item>
        </c-col>
        <c-col :span="4">
            <el-form-item prop="lidgrp.cbs.opn1.amt" label-width="1px">
                <c-input v-model="model.lidgrp.cbs.opn1.amt" placeholder="请输入Balance" ></c-input>
            </el-form-item>
        </c-col>
        </el-row>
        <el-row>
        <c-col :span="8">
            <el-form-item label="Bill Set Reference" prop="brdgrp.rec.ownref">
                <c-input v-model="model.brdgrp.rec.ownref" maxlength="16" placeholder="请输入单据参考号"
                         disabled="disabled"></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="2">
                <c-button >seainf</c-button>
        </c-col>
        <c-col :span="2">
                <c-button >dadsnd</c-button>
        </c-col>
        <c-col :span="12">
            <el-form-item prop="brdgrp.rec.nam">
                <c-input v-model="model.brdgrp.rec.nam" maxlength="40" placeholder="请输入Name of Bill Contract"
                         ></c-input>
            </el-form-item>
        </c-col>
        </el-row>
        <el-row>
        <c-col :span="5">
            <el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur">
                <c-select v-model="model.brdgrp.cbs.max.cur" style="width:100%" placeholder="请选择币种">
                </c-select>
            </el-form-item>
        </c-col>

        <c-col :span="7">
            <el-form-item prop="brdgrp.cbs.max.amt" label-width="1px">
                <c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入单据金额"></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="12">
            <el-form-item label="Applicant .ref" prop="brdgrp.apl.pts.ref">
                <c-input v-model="model.brdgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人ref"></c-input>
            </el-form-item>
        </c-col>
        </el-row>
        <el-row>
        <c-col :span="5">
            <el-form-item label="Open Amount" prop="brdgrp.cbs.opn1.cur">
                <c-select v-model="model.brdgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择币种">
                </c-select>
            </el-form-item>
        </c-col>

        <c-col :span="7">
            <el-form-item prop="brdgrp.cbs.opn1.amt" label-width="1px">
                <c-input v-model="model.brdgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item prop="brdgrp.apl.pts.nam" label="名称">
                <c-input v-model="model.brdgrp.apl.pts.nam" maxlength="40" placeholder="申请人"></c-input>
            </el-form-item>
        </c-col>
        </el-row>
        <el-row>
        <c-col :span="6">
            <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="请选择到单日期"></c-date-picker>
            </el-form-item>
        </c-col>

        <c-col :span="6">
            <el-form-item label="Advice on" prop="brdgrp.rec.advdat">
                <c-date-picker type="date" v-model="model.brdgrp.rec.advdat" style="width:100%"
                               placeholder="请选择Date of Advice of Payment"></c-date-picker>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Beneficiary .ref" prop="brdgrp.ben.pts.ref">
                <c-input v-model="model.brdgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人ref"></c-input>
            </el-form-item>
        </c-col>
        </el-row>
        <el-row>

        <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>
        <c-col :span="12">
            <el-form-item prop="brdgrp.ben.pts.nam" label="名称">
                <c-input v-model="model.brdgrp.ben.pts.nam" maxlength="40" placeholder="受益人"></c-input>
            </el-form-item>
        </c-col>
        </el-row>
        <el-row>
        <c-col :span="12">
            <el-form-item label="Document Type" prop="brdgrp.rec.docflg">
                <c-select v-model="model.brdgrp.rec.docflg" style="width:100%" placeholder="请选择单据类型">
                </c-select>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Presenting Bank  .ref" prop="brdgrp.prb.pts.ref">
                <c-input v-model="model.brdgrp.prb.pts.ref" maxlength="16" placeholder="请输入交单行ref"></c-input>
            </el-form-item>
        </c-col>
        </el-row>
        <el-row>
        <c-col :span="12">
            <el-form-item label="Document Set Status" prop="brdgrp.rec.docsta">
                <c-select v-model="model.brdgrp.rec.docsta" style="width:100%" placeholder="请选择单据承付状态">
                </c-select>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="名称" prop="brdgrp.prb.pts.nam">
                <c-input v-model="model.brdgrp.prb.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
            </el-form-item>
        </c-col>
        </el-row>
        <el-row>
        <c-col :span="12">
            <el-form-item label="Narrative" prop="strinf" >
                <c-input type="textarea" v-model="model.strinf" maxlength="50" show-word-limit
                         placeholder="请输入Narrative"></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <c-checkbox v-model="model.sndmsg">Send Message</c-checkbox>
        </c-col>
        </el-row>

        <c-col :span="12">
            <el-form-item label="Booking Procedure" prop="rebkpflg">
                <c-select v-model="model.rebkpflg" style="width:100%" placeholder="请选择Booking Procedure">
                </c-select>
            </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/Brtcan/Event"
    import Brtcan from "~/model/Brtcan"

    export default {
        inject: ['root'],
        props: ["model", "codes"],
        mixins: [CommonProcess],
        data() {
            return {}
        },
        methods: {...Event},
        created: function () {

        }
    }
</script>
<style>

</style>
