Bptame.vue 20.2 KB
Newer Older
jianglong committed
1 2 3 4 5 6 7 8
<template>
<div class="eibs-tab">

    <!-- =================顶部====================== -->
    <c-row>
        <!--line1-->
        <c-col :span="24">
            <c-col :span="11">
wangna committed
9
                <el-form-item label="票据项下的业务号" prop="bpdgrp.rec.pntref" style="width: 100%">
jianglong committed
10
                    <c-fullbox>
wangna committed
11
                        <c-input v-model="model.bpdgrp.rec.pntref" maxlength="16" placeholder="请输入票据项下的业务号" disabled></c-input>
jianglong committed
12 13
                        <template slot="footer">
                            <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
nanrui committed
14
                                <i class="el-icon-info"></i>
jianglong committed
15 16 17 18 19 20 21 22 23 24 25 26 27
                            </c-button>
                        </template>
                    </c-fullbox>
                </el-form-item>
            </c-col>

            <c-col :span="1">
                <el-form-item label="" prop="" style="width: 100%">

                </el-form-item>
            </c-col>

            <c-col :span="12">
wangna committed
28
                <el-form-item label="票据项下的名称" prop="bpdgrp.rec.pntnam" style="width: 100%">
jianglong committed
29 30 31 32 33 34 35 36 37 38 39
                    <c-fullbox>
                        <c-input v-model="model.bpdgrp.rec.pntnam" maxlength="16" placeholder="" disabled></c-input>
                        <template slot="footer"> </template>
                    </c-fullbox>
                </el-form-item>
            </c-col>
        </c-col>

        <!--line2-->
        <c-col :span="24">
            <c-col :span="11">
wangna committed
40
                <el-form-item label="融资业务号" prop="bpdgrp.rec.ownref" style="width: 100%">
jianglong committed
41
                    <c-fullbox>
wangna committed
42
                        <c-input v-model="model.bpdgrp.rec.ownref" maxlength="16" placeholder="请输入融资业务号" disabled></c-input>
jianglong committed
43 44
                        <template slot="footer">
                            <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
nanrui committed
45
                                <i class="el-icon-info"></i>
jianglong committed
46 47 48 49 50 51 52 53 54 55 56 57 58 59
                            </c-button>
                        </template>
                    </c-fullbox>
                </el-form-item>

            </c-col>

            <c-col :span="1">
                <el-form-item label="" prop="" style="width: 100%">

                </el-form-item>
            </c-col>

            <c-col :span="12">
wangna committed
60
                <el-form-item label="融资名称" prop="bpdgrp.rec.nam" style="width: 100%">
jianglong committed
61 62 63 64 65 66 67 68 69 70 71
                    <c-fullbox>
                        <c-input v-model="model.bpdgrp.rec.nam" maxlength="16" placeholder="" disabled></c-input>
                        <template slot="footer"> </template>
                    </c-fullbox>
                </el-form-item>
            </c-col>
        </c-col>

        <!--line3-->
        <c-col :span="24">
            <c-col :span="11">
wangna committed
72
                <el-form-item label="采购协议" prop="bptp.fpdgrp.rec.ownref" style="width: 100%">
jianglong committed
73
                    <c-fullbox>
wangna committed
74
                        <c-input v-model="model.bptp.fpdgrp.rec.ownref" maxlength="16" placeholder="请输入采购协议" disabled></c-input>
jianglong committed
75 76
                        <template slot="footer">
                            <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
nanrui committed
77
                                <i class="el-icon-info"></i>
jianglong committed
78 79 80 81 82 83 84 85 86 87 88 89 90
                            </c-button>
                        </template>
                    </c-fullbox>
                </el-form-item>
            </c-col>

            <c-col :span="1">
                <el-form-item label="" prop="" style="width: 100%">

                </el-form-item>
            </c-col>

            <c-col :span="12">
wangna committed
91
                <el-form-item label="采购名称" prop="bptp.fpdgrp.rec.nam" style="width: 100%">
jianglong committed
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
                    <c-fullbox>
                        <c-input v-model="model.bptp.fpdgrp.rec.nam" maxlength="16" placeholder="" disabled></c-input>
                        <template slot="footer"> </template>
                    </c-fullbox>
                </el-form-item>
            </c-col>
        </c-col>
    </c-row>

    <!-- =================中部====================== -->
    <c-row>
        <!------------左部------------->
        <c-col :span="12">

            <!------line1------->
            <c-row>

                <c-col :span="12">
wangna committed
110
                    <el-form-item label="责任用户" prop="bptp.usr.extkey" style="width: 100%">
jianglong committed
111 112 113 114
                        <c-fullbox>
                            <c-input v-model="model.bptp.usr.extkey" maxlength="8" placeholder="" disabled></c-input>
                            <template slot="footer">
                                <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
nanrui committed
115
                                    <i class="el-icon-info"></i>
jianglong committed
116 117 118 119 120 121 122
                                </c-button>
                            </template>
                        </c-fullbox>
                    </el-form-item>
                </c-col>

                <c-col :span="12">
wangna committed
123
                    <el-form-item label="抵押标志" prop="bpdgrp.rec.guaflg" style="width: 100%">
jianglong committed
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138
                        <c-fullbox>
                            <c-select v-model="model.bpdgrp.rec.guaflg" style="width: 100%" maxlength="16" placeholder="">
                                <el-option v-for="item in codes.guaflg" :key="item.value" :label="item.label" :value="item.value">
                                </el-option>
                            </c-select>

                            <template slot="footer"> </template>
                        </c-fullbox>
                    </el-form-item>
                </c-col>
            </c-row>

            <!------line2------->
            <c-row>
                <c-col :span="12">
wangna committed
139
                    <el-form-item label="融资类型" prop="bpdgrp.rec.fintyp" style="width: 100%">
jianglong committed
140 141 142 143 144 145 146 147 148 149 150 151
                        <c-fullbox>
                            <c-select v-model="model.bpdgrp.rec.fintyp" style="width: 100%" maxlength="16" placeholder="">
                                <el-option v-for="item in codes.fintyp_bpd" :key="item.value" :label="item.label" :value="item.value">
                                </el-option>
                            </c-select>

                            <template slot="footer"> </template>
                        </c-fullbox>
                    </el-form-item>
                </c-col>

                <c-col :span="12">
wangna committed
152
                    <el-form-item label="出口贴现类型" prop="bptp.distyp" style="width: 100%" v-if="
jianglong committed
153 154 155 156 157 158 159 160 161 162 163 164 165 166
                model.bpdgrp.rec.fintyp == 'D' || model.bpdgrp.rec.fintyp == 'T'
              ">
                        <c-fullbox>
                            <c-select v-model="model.bptp.distyp" style="width: 100%" maxlength="16" placeholder="">
                                <el-option v-for="item in codes.distyp" :key="item.value" :label="item.label" :value="item.value">
                                </el-option>
                            </c-select>

                            <template slot="footer"> </template>
                        </c-fullbox>
                    </el-form-item>
                </c-col>

                <c-col :span="12">
wangna committed
167
                    <el-form-item label="出口押汇类型" prop="bptp.purtyp" v-if="
jianglong committed
168 169 170 171 172 173 174 175 176 177 178 179 180
                model.bpdgrp.rec.fintyp == 'P' || model.bpdgrp.rec.fintyp == 'M'
              ">
                        <c-select v-model="model.bptp.purtyp" style="width: 100%" placeholder=" ">
                            <el-option v-for="item in codes.purtyp" :key="item.value" :label="item.label" :value="item.value">
                            </el-option>
                        </c-select>
                    </el-form-item>
                </c-col>
            </c-row>

            <!------line3------->
            <c-row>
                <c-col :span="12" >
wangna committed
181 182
                    <el-form-item label="融资币种" prop="bpdgrp.cbs.max.cur">
                        <c-input v-model="model.bpdgrp.cbs.max.cur" maxlength="3" placeholder="请输入融资币种"></c-input>
jianglong committed
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203
                    </el-form-item>
                </c-col>

                <c-col :span="12">
                    <el-form-item label="融资金额" prop="bpdgrp.cbs.max.amt">
                        <c-input v-model="model.bpdgrp.cbs.max.amt" placeholder="请输入融资金额"></c-input>
                    </el-form-item>
                </c-col>

            </c-row>

            <!------line4------->
            <c-row>
                <c-col :span="12">
                    <el-form-item label="借据号" prop="bpdgrp.rec.finact">
                        <c-select v-model="model.bpdgrp.rec.finact" style="width:100%" placeholder="请选择借据号">
                        </c-select>
                    </el-form-item>
                </c-col>

                <c-col :span="8">
wangna committed
204 205
                    <el-form-item label="百分比" prop="bpdgrp.rec.pctfin">
                        <c-input v-model="model.bpdgrp.rec.pctfin" placeholder="请输入百分比"></c-input>
jianglong committed
206 207 208 209 210 211 212
                    </el-form-item>
                </c-col>
            </c-row>

            <!------line5------->
            <c-row>
                <c-col :span="12">
wangna committed
213 214
                    <el-form-item label="开户日期" prop="bpdgrp.rec.opndat">
                        <c-date-picker type="date" v-model="model.bpdgrp.rec.opndat" style="width:100%" placeholder="请选择开户日期"></c-date-picker>
jianglong committed
215 216 217 218
                    </el-form-item>
                </c-col>

                <c-col :span="12">
wangna committed
219 220
                    <el-form-item label="到期日" prop="bpdgrp.rec.matdat">
                        <c-date-picker type="date" v-model="model.bpdgrp.rec.matdat" style="width:100%" placeholder="请选择到期日"></c-date-picker>
jianglong committed
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 249 250 251 252 253 254 255
                    </el-form-item>
                </c-col>
            </c-row>

            <!------line6------->
            <c-row>
                <c-col :span="24">
                    <el-form-item label="修改类型" prop="ametyp">
                        <c-select v-model="model.ametyp" style="width:100%" placeholder="请选择修改类型">
                        </c-select>
                    </el-form-item>
                </c-col>
            </c-row>

        </c-col>

        <!------------右部------------->
        <c-col :span="12">
            <!------line1------->
            <c-row>

                <c-col :span="24">
                    <c-ptap :model="model" :argadr="{
                        title: '融资客户',
                        grp: 'bpdgrp',
                        rol: 'fia',
                        }" :disabled="true" :isAdrblk="true" @onSeainf="onSeainf" @onFiapDet="onFiapDet">
                    </c-ptap>
                </c-col>

            </c-row>

            <!------line2------->
            <c-row>
                <c-col :span="12">
wangna committed
256 257
                    <el-form-item label="新的融资类型" prop="fintyp">
                        <c-select v-model="model.fintyp" style="width:100%" placeholder="请选择新的融资类型">
jianglong committed
258 259 260 261 262
                        </c-select>
                    </el-form-item>
                </c-col>

                <c-col :span="12">
wangna committed
263 264
                    <el-form-item label="出口贴现类型" prop="distyp">
                        <c-select v-model="model.distyp" style="width:100%" placeholder="请选择出口贴现类型">
jianglong committed
265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348
                        </c-select>
                    </el-form-item>
                </c-col>
            </c-row>
        </c-col>

    </c-row>

    <!-- =================下部====================== -->
    <c-row>
        <!------------左部------------->
        <c-col :span="12">

            <!------line1------->
            <c-row>
                <c-col :span="24">
                    <el-form-item label="借据号" prop="bpdgrp.rec.fincod">
                        <c-input v-model="model.bpdgrp.rec.fincod" maxlength="17" placeholder="请输入借据号"></c-input>
                    </el-form-item>
                </c-col>
            </c-row>

            <!------line2------->
            <c-row>
                <c-col :span="24">
                    <el-form-item label="计息周期" prop="bptmod.finmod.intprd">
                        <c-select v-model="model.bptmod.finmod.intprd" style="width:100%" placeholder="请选择计息周期">
                        </c-select>
                    </el-form-item>
                </c-col>
            </c-row>

            <!------line3------->
            <c-row>
                <c-col :span="24">
                    <el-form-item label="利率调整方式" prop="bptmod.finmod.ratchgtyp">
                        <c-select v-model="model.bptmod.finmod.ratchgtyp" style="width:100%" placeholder="">
                        </c-select>
                    </el-form-item>
                </c-col>
            </c-row>

            <!------line4------->
            <c-row>
                <c-col :span="24">
                    <el-form-item label="新到期日" prop="matdat">
                        <c-date-picker type="date" v-model="model.matdat" style="width:100%" placeholder=""></c-date-picker>
                    </el-form-item>
                </c-col>
            </c-row>

            <!------line5------->
            <c-row>
                <c-col :span="24">
                    <el-form-item label="基准利率规则" prop="bptmod.finmod.dinmod.jzllgz">
                        <c-select v-model="model.bptmod.finmod.dinmod.jzllgz" style="width:100%" placeholder="">
                        </c-select>
                    </el-form-item>
                </c-col>
            </c-row>

            <!------line6------->
            <c-row>
                <c-col :span="12">
                    <el-form-item label="基准利率" prop="bpdgrp.rec.intrat">
                        <c-input v-model="model.bpdgrp.rec.intrat" placeholder=""></c-input>
                    </el-form-item>
                </c-col>

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

                <c-col :span="12">
                    <el-form-item label="参考指标" prop="bpdgrp.rec.conrat">
                        <c-input v-model="model.bpdgrp.rec.conrat" placeholder=""></c-input>
                    </el-form-item>
                </c-col>

            </c-row>

            <!------line7------->
            <c-row>
                <c-col :span="24">
wangna committed
349
                    <el-form-item label="总利率" prop="bpdgrp.rec.tolrat">
jianglong committed
350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373
                        <c-input v-model="model.bpdgrp.rec.tolrat" placeholder=""></c-input>
                    </el-form-item>
                </c-col>
            </c-row>

            <!------line8------->
            <c-row>
                <c-col :span="24">
                    <el-form-item label="第一还款账号" prop="bptmod.finmod.act1">
                        <c-select v-model="model.bptmod.finmod.act1" style="width:100%" placeholder="">
                        </c-select>
                    </el-form-item>
                </c-col>
            </c-row>

        </c-col>

        <!------------右部------------->
        <c-col :span="12">
            <!------line1------->
            <c-row>

                <c-col :span="24">
                    <el-form-item label="融资账号" prop="bpdgrp.rec.finact">
wangna committed
374
                        <c-input v-model="model.bpdgrp.rec.finact" maxlength="21" placeholder="请输入融资账号"></c-input>
jianglong committed
375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411
                    </el-form-item>
                </c-col>

            </c-row>

            <!------line2------->
            <c-row>
                <c-col :span="12">
                    <el-form-item label="计息日期" prop="bptmod.finmod.intdat">
                        <c-input v-model="model.bptmod.finmod.intdat" maxlength="2" placeholder="请输入计息日期"></c-input>
                    </el-form-item>
                </c-col>

                <c-col :span="12">
                    <c-checkbox v-model="model.bptmod.finmod.wjdkfl">是否到期主动扣收款</c-checkbox>
                </c-col>
            </c-row>

            <!------line3------->
            <c-row>
                <c-col :span="12">
                    <el-form-item label="利率调整周期" prop="bptmod.finmod.ratchgprd">
                        <c-select v-model="model.bptmod.finmod.ratchgprd" style="width:100%" placeholder="">
                        </c-select>
                    </el-form-item>
                </c-col>

                <c-col :span="12">
                    <el-form-item label="利率调整月日数" prop="bptmod.finmod.ratchgdat">
                        <c-input v-model="model.bptmod.finmod.ratchgdat" maxlength="4" placeholder="利率调整月日数"></c-input>
                    </el-form-item>
                </c-col>
            </c-row>

            <!------line4------->
            <c-row>
                <c-col :span="12">
wangna committed
412 413
                    <el-form-item label="计息日" prop="bpdgrp.rec.intday">
                        <c-input v-model="model.bpdgrp.rec.intday" placeholder="请输入计息日"></c-input>
jianglong committed
414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513
                    </el-form-item>
                </c-col>

                <c-col :span="12">
                    <el-form-item label="宽限期" prop="bptmod.finmod.graday">
                        <c-input v-model="model.bptmod.finmod.graday" placeholder="请输入宽限期"></c-input>
                    </el-form-item>
                </c-col>
            </c-row>

            <!------line5------->
            <c-row>
                <c-col :span="12">
                    <el-form-item label="浮动方式" prop="bptmod.finmod.flttyp">
                        <c-select v-model="model.bptmod.finmod.flttyp" style="width:100%" placeholder="请选择浮动方式">
                        </c-select>
                    </el-form-item>
                </c-col>

                <c-col :span="12">
                    <el-form-item label="浮动值" prop="bptmod.finmod.fltval">
                        <c-input v-model="model.bptmod.finmod.fltval" placeholder="请输入浮动值"></c-input>
                    </el-form-item>
                </c-col>
            </c-row>

            <!------line6------->
            <c-row>
                <c-col :span="12">
                    <el-form-item label="执行利率" prop="bptmod.finmod.ovdinttyp">
                        <c-select v-model="model.bptmod.finmod.ovdinttyp" style="width:100%" placeholder="请选择执行利率">
                        </c-select>
                    </el-form-item>
                </c-col>

                <c-col :span="12">
                    <el-form-item label="罚息比率" prop="bptmod.finmod.ovdintrat">
                        <c-input v-model="model.bptmod.finmod.ovdintrat" placeholder="请输入罚息比率"></c-input>
                    </el-form-item>
                </c-col>
            </c-row>

            <!------line7------->
            <c-row>
                <c-col :span="24">
                    <el-form-item label="第三方还款方式" prop="bptmod.finmod.acttyp">
                        <c-select v-model="model.bptmod.finmod.acttyp" style="width:100%" placeholder="请选择第三方还款方式">
                        </c-select>
                    </el-form-item>
                </c-col>
            </c-row>

            <!------line8------->
            <c-row>
                <c-col :span="24">
                    <el-form-item label="第三方还款账号" prop="bptmod.finmod.act3">
                        <c-select v-model="model.bptmod.finmod.act3" style="width:100%" placeholder="第三方还款账号">
                        </c-select>
                    </el-form-item>
                </c-col>
            </c-row>

        </c-col>
    </c-row>

</div>
</template>

<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bptame/Event"
import Ptap from "~/views/Public/Ptap";
import Utils from "~/utils";

export default {
    components: {
        "c-ptap": Ptap
    },
    inject: ['root'],
    props: ["model", "codes"],
    mixins: [commonProcess],
    data() {
        return {

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

    }
}
</script>

<style>

</style>