Conp.vue 12.7 KB
Newer Older
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
<template>
    <div class="eibs-tab">
        <!-- ======================= 左边 ========================= -->
        <c-col :span="12" style="padding-right: 20px">
            <!-- S0000016 : 外债编号 -->
            <c-col :span="24">
                <c-form-item :label="$t('pubp.S0000016')" prop="recgrp.bas.exdebtcode">
                    <c-input v-model="model.recgrp.bas.exdebtcode" maxlength="28"
                        :placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
                </c-form-item>
            </c-col>
            <!-- S0000017 : 操作类型 -->
            <c-col :span="24">
                <el-form-item :label="$t('pubp.S0000017')" prop="recgrp.bas.actiontype">
                    <c-select v-model="model.recgrp.bas.actiontype" style="width:100%"
                        :placeholder="$t('other.please_enter') + $t('pubp.S0000017')" :code="codes.actiontype" disabled>
                    </c-select>
                </el-form-item>
            </c-col>
            <!-- S0000018 : 债务人代码 -->
            <c-col :span="24">
                <c-form-item :label="$t('pubp.S0000018')" prop="recgrp.bas.debtorcode">
                    <c-input v-model="model.recgrp.bas.debtorcode" maxlength="12"
                        :placeholder="$t('other.please_enter') + $t('pubp.S0000018')" disabled></c-input>
                </c-form-item>
            </c-col>
            <!-- S0000019 : 债务类型 -->
            <c-col :span="24">
                <el-form-item :label="$t('pubp.S0000019')" prop="recgrp.bas.debtype">
                    <c-select v-model="model.recgrp.bas.debtype" style="width:100%"
nanrui committed
31
                        :placeholder="$t('other.please_enter') + $t('pubp.S0000019')" disabled :code="codes.debtype">
32 33 34 35 36 37 38
                    </c-select>
                </el-form-item>
            </c-col>
            <!-- S0000020 : 起息日 -->
            <c-col :span="24">
                <el-form-item :label="$t('pubp.S0000020')" prop="recgrp.bas.valuedate">
                    <c-date-picker type="date" v-model="model.recgrp.bas.valuedate" style="width:100%"
nanrui committed
39
                        :placeholder="$t('other.please_enter') + $t('pubp.S0000020')" :disabled="model.cfabut.basflg !== 'X'"></c-date-picker>
40 41 42 43 44 45
                </el-form-item>
            </c-col>
            <!-- S0000021 : 签约金额 -->
            <c-col :span="24">
                <c-col :span="13">
                    <el-form-item :label="$t('pubp.S0000021')" prop="recgrp.bas.contractcurr">
nanrui committed
46
                        <c-select v-model="model.recgrp.bas.contractcurr" style="width:100%" :disabled="model.cfabut.basflg !== 'X'"
47 48 49 50 51 52
                            placeholder="请选择币种" :code="codes.curtxt1">
                        </c-select>
                    </el-form-item>
                </c-col>
                <c-col :span="11">
                    <c-form-item label="" label-width="5px" prop="recgrp.bas.contractamount">
nanrui committed
53
                        <c-input v-model="model.recgrp.bas.contractamount" placeholder="请输入签约金额" :disabled="model.cfabut.basflg !== 'X'"></c-input>
54 55 56 57 58 59 60
                    </c-form-item>
                </c-col>
            </c-col>
            <!-- S0000013 : 开证申请人代码 -->
            <c-col :span="24">
                <c-form-item :label="$t('eafp.S0000013')" prop="recgrp.bas.appcode">
                    <c-input v-model="model.recgrp.bas.appcode" maxlength="18"
nanrui committed
61
                        :placeholder="$t('other.please_enter') + $t('eafp.S0000013')" :disabled="model.cfabut.basflg !== 'X'"></c-input>
62 63 64 65 66 67
                </c-form-item>
            </c-col>
            <!-- S0000011 : 开证申请人名称 -->
            <c-col :span="24">
                <c-form-item :label="$t('eafp.S0000011')" prop="recgrp.bas.appname">
                    <c-input v-model="model.recgrp.bas.appname" maxlength="128"
nanrui committed
68
                        :placeholder="$t('other.please_enter') + $t('eafp.S0000011')" :disabled="model.cfabut.basflg !== 'X'"></c-input>
69 70 71 72 73 74
                </c-form-item>
            </c-col>
            <!-- S0000002 : 债权人代码 -->
            <c-col :span="24">
                <c-form-item :label="$t('pubp.S0000002')" prop="recgrp.bas.creditorcode">
                    <c-input v-model="model.recgrp.bas.creditorcode" maxlength="18"
nanrui committed
75
                        :placeholder="$t('other.please_enter') + $t('pubp.S0000002')" :disabled="model.cfabut.basflg !== 'X'"></c-input>
76 77 78 79 80 81
                </c-form-item>
            </c-col>
            <!-- S0000004 : 债权人中文名称 -->
            <c-col :span="24">
                <c-form-item :label="$t('pubp.S0000004')" prop="recgrp.bas.creditorname">
                    <c-input v-model="model.recgrp.bas.creditorname" maxlength="128"
nanrui committed
82
                        :placeholder="$t('other.please_enter') + $t('pubp.S0000004')" :disabled="model.cfabut.basflg !== 'X'"></c-input>
83 84 85 86 87 88
                </c-form-item>
            </c-col>
            <!-- S0000005 : 债权人英文名称 -->
            <c-col :span="24">
                <c-form-item :label="$t('pubp.S0000005')" prop="recgrp.bas.creditornamen">
                    <c-input v-model="model.recgrp.bas.creditornamen" maxlength="128"
nanrui committed
89
                        :placeholder="$t('other.please_enter') + $t('pubp.S0000005')" :disabled="model.cfabut.basflg !== 'X'"></c-input>
90 91 92 93 94 95
                </c-form-item>
            </c-col>
            <!-- S0000014 : 相关业务类型 -->
            <c-col :span="24">
                <el-form-item :label="$t('eafp.S0000014')" prop="recgrp.bas.credittype">
                    <c-select v-model="model.recgrp.bas.credittype" style="width:100%"
nanrui committed
96
                        :placeholder="$t('other.please_enter') + $t('eafp.S0000014')" :code="codes.credittype" :disabled="model.cfabut.basflg !== 'X'">
97 98 99 100 101 102 103
                    </c-select>
                </el-form-item>
            </c-col>
            <!-- S0000023 : 备注 -->
            <c-col :span="24">
                <c-form-item :label="$t('eadp.S0000023')" prop="recgrp.bas.remark">
                    <c-input type="textarea" v-model="model.recgrp.bas.remark" maxlength="31" show-word-limit
nanrui committed
104
                        :placeholder="$t('other.please_enter') + $t('eadp.S0000023')" :disabled="model.cfabut.basflg !== 'X'"   ></c-input>
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
                </c-form-item>
            </c-col>
        </c-col>

        <!-- ======================= 右边 ========================= -->
        <c-col :span="12" style="padding-left: 20px">
            <!-- S0000022 : 删除原因 -->
            <c-col :span="24">
                <c-form-item :label="$t('pubp.S0000022')" prop="recgrp.bas.actiondesc">
                    <c-input type="textarea" v-model="model.recgrp.bas.actiondesc" maxlength="32" rows="7"
                        show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
                    </c-input>
                </c-form-item>
            </c-col>
            <c-col :span="24">
                <el-form-item>
                    <c-checkbox v-model="model.recp.pubp.acp" class="checkbox-left" disabled>确认</c-checkbox>
                </el-form-item>
            </c-col>
            <!-- S0000023 : 到期日 -->
            <c-col :span="24">
                <el-form-item :label="$t('pubp.S0000023')" prop="recgrp.bas.maturity">
                    <c-date-picker type="date" v-model="model.recgrp.bas.maturity" style="width:100%"
nanrui committed
128
                        :placeholder="$t('other.please_enter') + $t('pubp.S0000023')" :disabled="model.cfabut.basflg !== 'X'"></c-date-picker>
129 130 131 132 133 134
                </el-form-item>
            </c-col>
            <!-- S0000024 : 是否不纳入跨境融资风险加权余额计算 -->
            <c-col :span="24">
                <el-form-item label="是否不纳入跨境融资风险加权余额计算" prop="recgrp.bas.spapfeboindex">
                    <c-select v-model="model.recgrp.bas.spapfeboindex" style="width:100%"
nanrui committed
135
                        placeholder="请选择是否不纳入跨境融资风险加权余额计算" :code="codes.spapfeboindex" :disabled="model.cfabut.basflg !== 'X'">
136 137 138 139 140 141 142 143
                    </c-select>
                </el-form-item>
            </c-col>
            <!-- S0000003 : 债权人类型代码 -->
            <c-col :span="24">
                <el-form-item :label="$t('pubp.S0000003')" prop="recgrp.bas.creditortype">
                    <c-select v-model="model.recgrp.bas.creditortype" style="width:100%"
                        :placeholder="$t('other.please_enter') + $t('pubp.S0000003')" :code="codes.creditortype"
nanrui committed
144
                        :disabled="model.cfabut.basflg !== 'X'">
145 146 147 148 149 150 151 152
                    </c-select>
                </el-form-item>
            </c-col>
            <!-- S0000011 : 债权人总部所在国家(地区)代码 -->
            <c-col :span="24">
                <c-form-item label="债权人总部所在国家(地区)代码" prop="recgrp.bas.crehqcode">
                    <c-fullbox>
                        <c-input v-model="model.recgrp.bas.crehqcode" maxlength="3"
nanrui committed
153
                            :placeholder="$t('other.please_enter') + '债权人总部所在国家(地区)代码'" :disabled="model.cfabut.basflg !== 'X'"></c-input>
154 155
                        <template slot="footer">
                            <c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary"
nanrui committed
156
                                icon="el-icon-search" @click="onCouselCrehqselbut" :disabled="model.cfabut.basflg !== 'X'">
157 158 159 160 161 162 163 164 165 166
                            </c-button>
                        </template>
                    </c-fullbox>
                </c-form-item>
            </c-col>
            <!-- S0000011 : 债权人经营地所在 -->
            <c-col :span="24">
                <c-form-item label="债权人经营地所在国家(地区)代码" prop="recgrp.bas.opercode">
                    <c-fullbox>
                        <c-input v-model="model.recgrp.bas.opercode" maxlength="3"
nanrui committed
167
                            :placeholder="$t('other.please_enter') + '债权人经营地所在国家(地区)代码'" :disabled="model.cfabut.basflg !== 'X'"></c-input>
168 169
                        <template slot="footer">
                            <c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary"
nanrui committed
170
                                icon="el-icon-search" @click="onCouselOperselbut" :disabled="model.cfabut.basflg !== 'X'">
171 172 173 174 175 176 177 178 179
                            </c-button>
                        </template>
                    </c-fullbox>
                </c-form-item>
            </c-col>
            <!-- S0000015 : 是否附有银行承兑汇票 -->
            <c-col :span="24">
                <el-form-item :label="$t('eafp.S0000015')" prop="recgrp.bas.billsn">
                    <c-select v-model="model.recgrp.bas.billsn" style="width:100%"
nanrui committed
180
                        :placeholder="$t('other.please_enter') + $t('eafp.S0000015')" :code="codes.billsn" :disabled="model.cfabut.basflg !== 'X'">
181 182 183 184 185 186 187
                    </c-select>
                </el-form-item>
            </c-col>
            <!-- S0000027 : 对方与本机构的关系 -->
            <c-col :span="24">
                <el-form-item :label="$t('eadp.S0000027')" prop="recgrp.bas.relation">
                    <c-select v-model="model.recgrp.bas.relation" style="width:100%"
nanrui committed
188
                        :placeholder="$t('other.please_enter') + $t('eadp.S0000027')" :code="codes.relation" :disabled="model.cfabut.basflg !== 'X'">
189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248
                    </c-select>
                </el-form-item>
            </c-col>
        </c-col>

        <!-- <c-col :span="12">
            <c-button size="small" type="primary" @click="onCfabutSav">
                {{ $t('cutp.C0000006') }}
            </c-button>
        </c-col>

        <c-col :span="12">
            <c-button size="small" type="primary" @click="onCfabutChk">
                {{ $t('cutp.C0000007') }}
            </c-button>
        </c-col>


        <c-col :span="12">
            <c-button size="small" type="primary" @click="onCutpErr">
                {{ $t('cutp.C0000009') }}
            </c-button>
        </c-col>


        <c-col :span="12">
            <span v-text="model.recp.pubp.creditcodwarn" data-path=".recp.pubp.creditcodwarn"> </span>
        </c-col>

        <c-col :span="12">
            <c-button size="small" type="primary" @click="onCfabutExt">
                {{ $t('cutp.C0000008') }}
            </c-button>
        </c-col> -->
    </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Eafame/Event"

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

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

    }
}
</script>
<style>

</style>