Limitbody.vue 6.58 KB
Newer Older
zhoukai committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
<template>
    <div class="eibs-tab">
        <!-- ====================左边======================= -->
        <c-col :span="12">
            <c-col :span="16">
                <el-form-item
                    label="国内信用证项下开证授信额度:"
                    prop="liaall.limmod.limpts.wrk.pts.extkey"
                >
                    <c-input
                        v-model="model.liaall.limmod.limpts.wrk.pts.extkey"
                        :disabled="true"
                        maxlength="16"
                        placeholder="请输入External Key of Address"
                    ></c-input>
                </el-form-item>
            </c-col>
            
            <c-col :span="8">
                <el-form-item label="" label-width="20px">
                    <c-button
                        size="small"
                        type="primary;width:10%"
                        @click="onSeainf"
                        >i</c-button
                    >
                    <c-button
                        size="small"
                        type="primary"
                        icon="el-icon-search"
                        @click="onPreperButtxmsel"
                    >
33
                        详情
zhoukai committed
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
                    </c-button>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="" prop="liaall.limmod.limpts.wrk.pts.nam">
                    <c-input
                        v-model="model.liaall.limmod.limpts.wrk.pts.nam"
                        maxlength="16"
                        placeholder=""
                        :disabled="true"
                        style="width:90%"
                    ></c-input>
                </el-form-item>
            </c-col>

            <c-col :span="12">
                <el-form-item
                    label="额度类型"
                    prop="liaall.limmod.limpts.nonrevflg1"
                >
                    <c-select
                        v-model="model.liaall.limmod.limpts.nonrevflg1"
                        style="width: 100%"
                        placeholder="请选择Flag to Mark Non-revolving Limits"
                        @change="nonrevflg1Change"
                    >
                        <el-option
                            v-for="item in codes.nonrevflg1"
                            :key="item.value"
                            :label="item.label"
                            :value="item.value"
                        >
                        </el-option>
                    </c-select>
                </el-form-item>
            </c-col>

            <c-col :span="12">
                <el-form-item label="">
                    <c-button size="small" type="primary" @click="onLimptsGet1">
                        查询
                    </c-button>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item
                    label="合同流水号"
                    prop="liaall.limmod.limpts.pfcod1"
                >
                    <c-input
                        v-model="model.liaall.limmod.limpts.pfcod1"
                        maxlength="14"
                        placeholder="请输入合同流水号"
                        :disabled="this.model.liaall.limmod.limpts.nonrevflg1 != '2'"
                        style="width: 55%"
                    ></c-input>
                </el-form-item>
            </c-col>
        </c-col>

        <!-- ========================右边======================= -->
        <c-col :span="12">
            <c-col :span="24">
                <el-form-item label="业务编号" prop="liaall.limmod.ownref">
                    <c-input
                        v-model="model.liaall.limmod.ownref"
                        maxlength="16"
                        placeholder="请输入国结业务编号"
                        :disabled="true"
                        style="width: 70%"
                    ></c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="业务余额" prop="liaall.limmod.comamt">
                    <c-input
                        v-model="model.liaall.limmod.comamt"
                        placeholder="请输入业务余额"
                        :disabled="true"
                        style="width: 70%"
                    ></c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
                    <c-input
                        v-model="model.liaall.limmod.ccvamt"
                        placeholder="请输入保证金余额"
                        :disabled="true"
                        style="width: 70%"
                    ></c-input>
                </el-form-item>
            </c-col>
        </c-col>

        <c-col :span="22" :offset="1">
            <c-table style="text-align: center" :data="tableData" :border="true">
                <el-table-column label="可否串用" width="auto">
                </el-table-column>
                -->
                <el-table-column label="序号" width="auto"> </el-table-column>
                <el-table-column label="额度类型" width="auto">
                </el-table-column>
                <el-table-column label="入账机构" width="auto">
                </el-table-column>
                <el-table-column label="额度编号" width="auto">
                </el-table-column>
                <el-table-column label="额度明细编号" width="auto">
                </el-table-column>
                <el-table-column label="额度品种代码" width="auto">
                </el-table-column>
                <el-table-column label="品种代码描述" width="auto">
                </el-table-column>
                <el-table-column label="" width="auto"> </el-table-column>
            </c-table>
        </c-col>
    </div>
</template>
<script>
import Api from "~/service/Api";
wangren committed
158
import commonProcess from "~/mixin/commonProcess";
zhoukai committed
159 160 161 162 163 164
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditdck/Event";

export default {
    inject: ['root'],
    props: ["model", "codes"],
wangren committed
165
    mixins: [commonProcess],
zhoukai committed
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182
    data() {
        return {
            tableData: {},
        };
    },
    methods: { ...Event ,
        nonrevflg1Change(){
            if (this.model.liaall.limmod.limpts.nonrevflg1 == '1'){
                this.model.liaall.limmod.limpts.pfcod1 = "";
            }
        }
    },
    created: function () {},
};
</script>
<style>
</style>