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

        <!-- <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="recpan.recget.sdamod.dadsnd">
            <c-input  v-model="model.recpan.recget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col> -->
        <c-col :span="24">
            <c-col :span="12">
                <el-form-item label="Reference" prop="bodgrp.rec.ownref">
                    <c-input v-model="model.bodgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"></c-input>
                </el-form-item>
            </c-col>
            <c-col :span="12">
                <el-form-item label="Name" prop="bodgrp.rec.nam">
                    <c-input v-model="model.bodgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input>
                </el-form-item>
            </c-col>
        </c-col>

        <!-- <c-button
        style="margin:0 10px 0 10px;padding: 0 12px;"
            size="small"
            type="primary"<c-button
                style="margin:0 10px 0 10px;padding: 0 12px;"
                  size="small"
                  type="primary"
                  @click="onSeainf"
                >
                <span style="font-family:'宋体';font-weight:bold">i</span>
                </c-button>
            @click="onSeainf"
        >
        <span style="font-family:'宋体';font-weight:bold">i</span>
        </c-button> -->

        <!-- <c-col :span="12">
        <el-form-item label="" prop="recpan.recget.sdamod.seainf">
            <c-input  v-model="model.recpan.recget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col> -->


        <!-- <c-col :span="12">
        <c-button size="small" type="primary"  @click="onRecpanButgetref">
            Get Ref
        </c-button>
       </c-col> -->
        <c-col :span="24">
            <c-col :span="8">
                <el-form-item label="Responsible User" prop="recpan.usr.extkey">
                    <c-input v-model="model.recpan.usr.extkey" maxlength="8" placeholder="请输入Responsible User">
                    </c-input>
                </el-form-item>
            </c-col>
            <c-col :span="3" :offset="1">
                <c-checkbox v-model="model.bodgrp.rec.dircolflg">Direct Collection</c-checkbox>
            </c-col>
            <c-col :span="12">
                <el-form-item label="Drawer ref" prop="recpan.usrget.sdamod.seainf">
                    <c-input v-model="model.recpan.usrget.sdamod.seainf" placeholder="请输入"></c-input>
                </el-form-item>
            </c-col>
        </c-col>

        <c-col :span="24">
            <c-col :span="12">
                <el-form-item label="Drawer" prop="bodgrp.drr.pts.ref">
                    <c-input v-model="model.bodgrp.drr.pts.ref" maxlength="16" placeholder="请输入Drawer"></c-input>
                </el-form-item>
            </c-col>

            <c-col :span="5">
                <el-form-item label="Document Amount" prop="bodgrp.cbs.max.cur">
                    <c-select v-model="model.bodgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount">
                    </c-select>
                </el-form-item>
            </c-col>

            <c-col :span="7">
                <el-form-item label="Document Amount" prop="bodgrp.cbs.max.amt">
                    <c-input v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount"></c-input>
                </el-form-item>
            </c-col>
        </c-col>

        <c-col :span="24">
            <c-col :span="8">
                <el-form-item label="Drag  Drop Sender" prop="recpan.drrp.ptsget.sdamod.dadsnd">
                    <c-input v-model="model.recpan.drrp.ptsget.sdamod.dadsnd" placeholder="请输入Drag  Drop Sender">
                    </c-input>
                </el-form-item>
            </c-col>
            <c-col :span="3" :offset="1">
                <c-checkbox v-model="model.bodgrp.rec.resflg">Reservated Contract</c-checkbox>
            </c-col>

            <c-col :span="12">
                <el-form-item label="External Key of Address" prop="bodgrp.drr.pts.extkey">
                    <c-input v-model="model.bodgrp.drr.pts.extkey" maxlength="16"
                        placeholder="请输入External Key of Address">
                    </c-input>
                </el-form-item>
            </c-col>
        </c-col>

        <c-col :span="12">
            <el-form-item label="sdamod.seainf" prop="recpan.drrp.ptsget.sdamod.seainf">
                <c-input v-model="model.recpan.drrp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
            </el-form-item>
        </c-col>

        <!-- <c-col :span="12">
            <c-button size="small" type="primary" @click="onDrrpDet">
                Details
            </c-button>
        </c-col> -->

        <c-col :span="12">
            <el-form-item label="名称" prop="bodgrp.drr.namelc">
                <c-input type="textarea" v-model="model.bodgrp.drr.namelc" maxlength="35" show-word-limit
                    placeholder="请输入名称"></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Warehouse/Insurance" prop="bodgrp.cbs.opn1.cur">
                <c-select v-model="model.bodgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择Warehouse/Insurance">
                </c-select>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Open Amount" prop="bodgrp.cbs.opn1.amt">
                <c-input v-model="model.bodgrp.cbs.opn1.amt" placeholder="请输入Open Amount"></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Address Block" prop="bodgrp.drr.pts.adrblk">
                <c-input type="textarea" v-model="model.bodgrp.drr.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="bodgrp.drr.dbfadrblkcn">
                <c-input type="textarea" v-model="model.bodgrp.drr.dbfadrblkcn" maxlength="35" show-word-limit
                    placeholder="请输入Chinese address"></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Order Date" prop="bodgrp.rec.rcvdat">
                <c-date-picker type="date" v-model="model.bodgrp.rec.rcvdat" style="width:100%"
                    placeholder="请选择Order Date"></c-date-picker>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Financial Document" prop="bodgrp.rec.paydoctyp">
                <c-select v-model="model.bodgrp.rec.paydoctyp" style="width:100%" placeholder="请选择Financial Document">
                </c-select>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Shipment date" prop="bodgrp.rec.shpdat">
                <c-date-picker type="date" v-model="model.bodgrp.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="bodgrp.drr.adrelc">
                <c-input type="textarea" v-model="model.bodgrp.drr.adrelc" maxlength="35" show-word-limit
                    placeholder="请输入地址"></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Presentation Date" prop="bodgrp.rec.predat">
                <c-date-picker type="date" v-model="model.bodgrp.rec.predat" style="width:100%"
                    placeholder="请选择Presentation Date"></c-date-picker>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Dispatched on" prop="bodgrp.rec.advdat">
                <c-date-picker type="date" v-model="model.bodgrp.rec.advdat" style="width:100%"
                    placeholder="请选择Dispatched on"></c-date-picker>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Collecting Bank" prop="bodgrp.col.pts.ref">
                <c-input v-model="model.bodgrp.col.pts.ref" maxlength="16" placeholder="请输入Collecting Bank"></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
                <c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition">
                </c-select>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Drag  Drop Sender" prop="recpan.colp.ptsget.sdamod.dadsnd">
                <c-input v-model="model.recpan.colp.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="bodgrp.col.pts.extkey">
                <c-input v-model="model.bodgrp.col.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="recpan.colp.ptsget.sdamod.seainf">
                <c-input v-model="model.recpan.colp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <c-button size="small" type="primary" @click="onColpDet">
                Details
            </c-button>
        </c-col>

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

        <c-col :span="12">
            <el-form-item label="Maturity Date" prop="bodgrp.rec.invtyp">
                <c-select v-model="model.bodgrp.rec.invtyp" style="width:100%" placeholder="请选择Maturity Date">
                </c-select>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="名称" prop="bodgrp.col.namelc">
                <c-input type="textarea" v-model="model.bodgrp.col.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="bodgrp.col.pts.adrblk">
                <c-input type="textarea" v-model="model.bodgrp.col.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="bodgrp.col.dbfadrblkcn">
                <c-input type="textarea" v-model="model.bodgrp.col.dbfadrblkcn" maxlength="35" show-word-limit
                    placeholder="请输入Chinese address"></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt">
                <c-input v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification"></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Document Number" prop="bodgrp.rec.paydocnum">
                <c-input v-model="model.bodgrp.rec.paydocnum" maxlength="16" placeholder="请输入Document Number"></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp"> </span>
        </c-col>

        <c-col :span="12">
            <el-form-item label="地址" prop="bodgrp.col.adrelc">
                <c-input type="textarea" v-model="model.bodgrp.col.adrelc" maxlength="35" show-word-limit
                    placeholder="请输入地址"></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Starting from" prop="bodgrp.rec.matperbeg">
                <c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Starting from">
                </c-select>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Issued on" prop="bodgrp.rec.issdat">
                <c-date-picker type="date" v-model="model.bodgrp.rec.issdat" style="width:100%"
                    placeholder="请选择Issued on"></c-date-picker>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <c-checkbox v-model="model.bodgrp.rec.ccdndrflg">Truncation - Physical Document Kept w OWN</c-checkbox>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Tenor Details Text" prop="bodgrp.blk.bogdet">
                <c-input type="textarea" v-model="model.bodgrp.blk.bogdet" maxlength="43" show-word-limit
                    placeholder="请输入Tenor Details Text"></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Drawee" prop="bodgrp.dre.pts.ref">
                <c-input v-model="model.bodgrp.dre.pts.ref" maxlength="16" placeholder="请输入Drawee"></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <c-checkbox v-model="model.bodgrp.rec.ccdpurflg">Payment Under Reserve</c-checkbox>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Instructions Received" prop="bodgrp.blk.cctinsrcv">
                <c-input type="textarea" v-model="model.bodgrp.blk.cctinsrcv" maxlength="35" show-word-limit
                    placeholder="请输入Instructions Received"></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <span v-text="model.recpan.docgrdm.docdsclab" data-path=".recpan.docgrdm.docdsclab"> </span>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Drag  Drop Sender" prop="recpan.drep.ptsget.sdamod.dadsnd">
                <c-input v-model="model.recpan.drep.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="bodgrp.dre.pts.extkey">
                <c-input v-model="model.bodgrp.dre.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="recpan.drep.ptsget.sdamod.seainf">
                <c-input v-model="model.recpan.drep.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <c-button size="small" type="primary" @click="onDrepDet">
                Details
            </c-button>
        </c-col>

        <c-col :span="12">
            <el-form-item label="名称" prop="bodgrp.dre.namelc">
                <c-input type="textarea" v-model="model.bodgrp.dre.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="bodgrp.dre.pts.adrblk">
                <c-input type="textarea" v-model="model.bodgrp.dre.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="bodgrp.dre.dbfadrblkcn">
                <c-input type="textarea" v-model="model.bodgrp.dre.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="bodgrp.dre.adrelc">
                <c-input type="textarea" v-model="model.bodgrp.dre.adrelc" maxlength="35" show-word-limit
                    placeholder="请输入地址"></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Collection Instruction" prop="bodgrp.blk.cctinscol">
                <c-input type="textarea" v-model="model.bodgrp.blk.cctinscol" maxlength="35" show-word-limit
                    placeholder="请输入Collection Instruction"></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Country Code Risk Country!" prop="bodgrp.rec.stacty">
                <c-select v-model="model.bodgrp.rec.stacty" style="width:100%"
                    placeholder="请选择Country Code Risk Country!">
                </c-select>
            </el-form-item>
        </c-col>

        <c-col :span="12">
            <el-form-item label="Goods Code" prop="bodgrp.rec.stagod">
                <c-select v-model="model.bodgrp.rec.stagod" style="width:100%" placeholder="请选择Goods Code">
                </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/Infbod/Event"

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

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

    }
}
</script>
<style>
</style>
