<template>
    <div>
        <!-- ------------------Left------------------>
        <c-col :span="11">
            <c-col :span="24">
                <el-form-item label="业务主键">
                    <c-input placeholder="" readonly> </c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="银行机构名称">
                    <c-input placeholder="" readonly> </c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="付款人账号">
                    <c-input placeholder=""> </c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="收款人常驻国家/地区编号">
                    <c-col :span="20">
                        <c-input placeholder=""></c-input>
                    </c-col>
                    <c-col :span="4" style="text-align: right">
                        <c-button
                            size="small"
                            type="primary"
                            icon="el-icon-search"
                        ></c-button>
                    </c-col>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="结算方式">
                    <c-select placeholder="请选择结算方式" style="width: 100%">
                        <el-option
                            v-for="item in codes.sbalancemode"
                            :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="清算（结算）账户类型">
                    <c-select placeholder="请选择" style="width: 100%">
                        <el-option
                            v-for="item in codes.cpayeraccttyp"
                            :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="清算（结算）账户账号">
                    <c-input placeholder="" readonly> </c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="付款日期">
                    <c-date-picker
                        type="date"
                        placeholder=""
                        style="width: 100%"
                    ></c-date-picker>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="付款币种">
                    <c-select placeholder="请选择" style="width: 100%">
                        <el-option
                            v-for="item in options"
                            :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="原币金额">
                    <c-input placeholder=""> </c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="货物贸易付款金额">
                    <c-input placeholder=""> </c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="已报关付款金额">
                    <c-input placeholder=""> </c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="已备案付款金额">
                    <c-input placeholder=""> </c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="交易附言">
                    <c-input placeholder=""> </c-input>
                </el-form-item>
            </c-col>
        </c-col>

        <!-- ------------------Right------------------>
        <c-col :span="11" :offset="1">
            <c-col :span="24">
                <el-form-item label="银行业务编号" label-width="30%">
                    <c-input style="width: 100%" placeholder="" readonly>
                    </c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="银行机构代码" label-width="30%">
                    <c-input placeholder="" readonly> </c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item
                    label="付款人机构代码或身份证件号码"
                    label-width="30%"
                >
                    <c-input style="width: 100%" placeholder=""> </c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="付款人属性" label-width="30%">
                    <c-select
                        placeholder="请选择付款人属性"
                        style="width: 100%"
                    >
                        <el-option
                            v-for="item in codes.cpayeeattr"
                            :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="付款人名称" label-width="30%">
                    <c-input placeholder="" readonly> </c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="收款行SWIFT BIC" label-width="30%">
                    <c-input placeholder=""> </c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="中间转汇行" label-width="30%">
                    <c-input placeholder=""> </c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="预付款比例" label-width="30%">
                    <c-input placeholder=""> </c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="预付款金额" label-width="30%">
                    <c-input placeholder=""> </c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="结账期" label-width="30%">
                    <c-input placeholder=""> </c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="原申报号码" label-width="30%">
                    <c-input placeholder=""> </c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item
                    label="无货物报关进出境物流货物金额"
                    label-width="30%"
                >
                    <c-input placeholder=""> </c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item
                    label="无货物报关离岸转手买卖金额"
                    label-width="30%"
                >
                    <c-input placeholder=""> </c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="无货物报关其他金额" label-width="30%">
                    <c-input placeholder=""> </c-input>
                </el-form-item>
            </c-col>
        </c-col>
    </div>
</template>

<script>
import commonProcess from "~/mixin/commonProcess";

export default {
    inject: ["root"],
    props: ["model", "codes"],
    mixins: [commonProcess],
    data() {
        return {
            options: [],
        };
    },
};
</script>

<style>
</style>