<template>
    <div class="eibs-tab">
        <!-- ---------------Left--------------- -->
        <c-col :span="12">
            <c-col :span="24">
                <c-col :span="13">
                    <el-form-item
                        label="Document Amount"
                        prop="brdgrp.cbs.opn2.cur"
                    >
                        <c-select
                            v-model="model.brdgrp.cbs.opn2.cur"
                            style="width: 100%"
                            placeholder="请选择附加金额"
                            disabled
                        >
                        </c-select>
                    </el-form-item>
                </c-col>
                <c-col :span="11">
                    <el-form-item
                        label=""
                        label-width="5px"
                        prop="brdgrp.cbs.max.amt"
                    >
                        <c-input
                            v-model="model.brdgrp.cbs.max.amt"
                            placeholder="请输入附加金额"
                            disabled
                        ></c-input>
                    </el-form-item>
                </c-col>
            </c-col>

            <c-col :span="24">
                <c-col :span="13">
                    <el-form-item label="附加金额" prop="brdgrp.cbs.opn2.cur">
                        <c-select
                            v-model="model.brdgrp.cbs.opn2.cur"
                            style="width: 100%"
                            placeholder="请选择附加金额"
                            disabled
                        >
                        </c-select>
                    </el-form-item>
                </c-col>
                <c-col :span="11">
                    <el-form-item
                        label=""
                        label-width="5px"
                        prop="brdgrp.cbs.max2.amt"
                    >
                        <c-input
                            v-model="model.brdgrp.cbs.max2.amt"
                            placeholder="请输入附加金额"
                            disabled
                        ></c-input>
                    </el-form-item>
                </c-col>
            </c-col>

            <c-col :span="24">
                <c-col :span="13">
                    <el-form-item
                        label="Amount to be Paid"
                        prop="brdgrp.rec.totcur"
                    >
                        <c-input
                            v-model="model.brdgrp.rec.totcur"
                            maxlength="3"
                            placeholder="请输入Amount to be Paid"
                            disabled
                        ></c-input>
                    </el-form-item>
                </c-col>
                <c-col :span="11">
                    <el-form-item
                        label=""
                        label-width="5px"
                        prop="brdgrp.rec.totamt"
                    >
                        <c-input
                            v-model="model.brdgrp.rec.totamt"
                            placeholder="请输入Total Amount to be Paid"
                            disabled
                        ></c-input>
                    </el-form-item>
                </c-col>
            </c-col>

            <c-col :span="24">
                <c-ptap1
                    :model="model"
                    :argadr="{
                        title: 'Account with Bank',
                        grp: 'brdgrp',
                        rol: 'acb',
                    }"
                    :disabled="true"
                    :isAdrblk="false"
                >
                </c-ptap1>
            </c-col>

            
        </c-col>

        <!-- ---------------Right--------------- -->
        <c-col :span="12">
            <c-col :span="24">
                <el-form-item label="Charges Deducted" prop="brdgrp.blk.chaded">
                    <c-input
                        type="textarea"
                        v-model="model.brdgrp.blk.chaded"
                        maxlength="35"
                        show-word-limit
                        placeholder="请输入Charges Deducted"
                        disabled
                    ></c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="Charges Added" prop="brdgrp.blk.chaadd">
                    <c-input
                        type="textarea"
                        v-model="model.brdgrp.blk.chaadd"
                        maxlength="35"
                        show-word-limit
                        placeholder="请输入Charges Added"
                        disabled
                    ></c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="不符点" prop="brdgrp.blk.docdis">
                    <c-input
                        type="textarea"
                        v-model="model.brdgrp.blk.docdis"
                        maxlength="50"
                        show-word-limit
                        placeholder="请输入不符点"
                        disabled
                    ></c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="" prop="brdgrp.blk.docdisflg">
                    <c-checkbox v-model="model.brdgrp.blk.docdisflg" disabled
                        >discrepancies modified</c-checkbox
                    >
                </el-form-item>
            </c-col>
        </c-col>

        <!-- <c-col :span="12">
            <el-form-item
                label="Drag  Drop Sender"
                prop="brtp.acbp.ptsget.sdamod.dadsnd"
            >
                <c-input
                    v-model="model.brtp.acbp.ptsget.sdamod.dadsnd"
                    placeholder="请输入Drag  Drop Sender"
                ></c-input>
            </el-form-item>
        </c-col>

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

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

        <c-col :span="12">
            <el-form-item label="Address Block" prop="brdgrp.acb.pts.adrblk">
                <c-input
                    type="textarea"
                    v-model="model.brdgrp.acb.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="brdgrp.acb.dbfadrblkcn">
                <c-input
                    type="textarea"
                    v-model="model.brdgrp.acb.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="brdgrp.acb.adrelc">
                <c-input
                    type="textarea"
                    v-model="model.brdgrp.acb.adrelc"
                    maxlength="35"
                    show-word-limit
                    placeholder="请输入地址"
                ></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/Brtacp/Event";
import Ptap1 from "~/views/Public/Ptap1";

export default {
    inject: ["root"],
    props: ["model", "codes"],
    mixins: [commonProcess],
    components: {
        "c-ptap1": Ptap1,
    },
    data() {
        return {};
    },
    methods: { ...Event },
    created: function () {},
};
</script>
<style>
</style>
