Sel.vue 44.6 KB
Newer Older
wuziqiang committed
1
<template>
liuxin committed
2
    <c-row>
wuziqiang committed
3
        <c-col :span="24">
liuxin committed
4
            <c-col :span="12">
liuxin committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
                <el-form-item label="信用证编号" prop="dedgrp.rec.ownref">
                    <c-fullbox>
                        <c-input
                            v-model="model.dedgrp.rec.ownref"
                            maxlength="16"
                            placeholder="请输入信用证编号"
                            @keyup.enter.native="
                                showGridPromptDialog('dedgrp.rec.ownref')
                            "
                        ></c-input>
                        <template slot="footer">
                            <c-button
                                size="small"
                                type="primary"
                                icon="el-icon-search"
liuxin committed
20
                                style="margin-right: 10px"
liuxin committed
21
                            ></c-button>
liuxin committed
22 23 24
                            <c-checkbox v-model="model.clsflg"
                                >Show closed</c-checkbox
                            >
liuxin committed
25 26 27 28
                        </template>
                    </c-fullbox>
                </el-form-item>
            </c-col>
liuxin committed
29
            <c-col :span="12">
liuxin committed
30 31 32 33 34 35 36 37 38
                <el-form-item label="摘要" prop="dedgrp.rec.nam">
                    <c-input
                        v-model="model.dedgrp.rec.nam"
                        maxlength="40"
                        placeholder="请输入Externally Displayed Name to Identify the Contract"
                        disabled
                    ></c-input>
                </el-form-item>
            </c-col>
wuziqiang committed
39
        </c-col>
liuxin committed
40 41 42 43

        <div v-if="hotreg == 3 || hotreg == 4 || hotreg == 7 || hotreg == 8">
            <c-col :span="24">
                <c-col :span="12">
liuxin committed
44
                    <el-form-item label="单据业务编号" prop="bfdgrp.rec.ownref">
liuxin committed
45 46 47 48 49
                        <c-fullbox>
                            <c-input
                                v-model="model.bfdgrp.rec.ownref"
                                maxlength="16"
                                @keyup.enter.native="
liuxin committed
50
                                    showGridPromptDialog('bfdgrp.rec.ownref')
liuxin committed
51 52 53 54
                                "
                                placeholder="请输入单据业务编号"
                            ></c-input>
                            <template slot="footer">
liuxin committed
55 56 57
                                <c-checkbox
                                    v-model="model.bfdget.clsflg"
                                    style="margin-left: 10px"
liuxin committed
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
                                    >Show closed</c-checkbox
                                >
                            </template>
                        </c-fullbox>
                    </el-form-item>
                </c-col>
                <c-col :span="12">
                    <el-form-item label="摘要" prop="bfdgrp.rec.nam">
                        <c-input
                            v-model="model.bfdgrp.rec.nam"
                            maxlength="40"
                            placeholder="请输入Externally Displayed Name to Identify the Contract"
                            disabled
                        ></c-input>
                    </el-form-item>
                </c-col>
            </c-col>
        </div>

liuxin committed
77 78 79 80 81
        <!-- 信用证 -->
        <div v-if="hotreg == 1 || hotreg == 2">
            <c-col :span="24">
                <c-col :span="12">
                    <c-col :span="24">
liuxin committed
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
                        <c-col :span="13">
                            <el-form-item
                                label="信用证金额"
                                prop="dedgrp.cbs.nom1.cur"
                            >
                                <c-input
                                    v-model="model.dedgrp.cbs.nom1.cur"
                                    maxlength="3"
                                    placeholder="请输入信用证金额"
                                    disabled
                                ></c-input>
                            </el-form-item>
                        </c-col>
                        <c-col :span="11">
                            <el-form-item label="" label-width="5px">
                                <c-input
                                    v-model="model.dedgrp.cbs.nom1.amt"
                                    disabled
                                    placeholder="请输入Balance"
                                ></c-input>
                            </el-form-item>
                        </c-col>
liuxin committed
104 105
                    </c-col>
                    <c-col :span="24">
liuxin committed
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
                        <c-col :span="13">
                            <el-form-item
                                label="信用证余额"
                                prop="dedgrp.cbs.opn1.cur"
                            >
                                <c-input
                                    v-model="model.dedgrp.cbs.opn1.cur"
                                    maxlength="3"
                                    placeholder="请输入Open Amount"
                                    disabled
                                ></c-input>
                            </el-form-item>
                        </c-col>
                        <c-col :span="11">
                            <el-form-item label="" label-width="5px">
                                <c-input
                                    v-model="model.dedgrp.cbs.opn1.amt"
                                    disabled
                                    placeholder="请输入Balance"
                                ></c-input>
                            </el-form-item>
                        </c-col>
liuxin committed
128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="指定银行" prop="dedgrp.avbnam">
                            <c-input
                                v-model="model.dedgrp.avbnam"
                                maxlength="40"
                                placeholder="请输入Available with"
                                disabled
                            ></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="兑付方式" prop="dedgrp.rec.avbby">
                            <c-select
                                v-model="model.dedgrp.rec.avbby"
                                style="width: 100%"
                                placeholder="请选择Available by "
                                disabled
                            >
liuxin committed
147 148 149 150 151 152 153
                                <el-option
                                    v-for="item in codes.avbby0"
                                    :key="item.value"
                                    :label="item.label"
                                    :value="item.value"
                                >
                                </el-option>
liuxin committed
154 155 156 157 158 159 160 161 162 163 164 165 166
                            </c-select>
                        </el-form-item>
                    </c-col>
                    <c-col :span="13">
                        <el-form-item label="开证日期" prop="dedgrp.rec.opndat">
                            <c-date-picker
                                type="date"
                                v-model="model.dedgrp.rec.opndat"
                                placeholder="请选择Date Issued"
                                disabled
                            ></c-date-picker>
                        </el-form-item>
                    </c-col>
liuxin committed
167

liuxin committed
168 169 170 171 172
                    <c-col :span="11">
                        <el-form-item
                            label="最迟装运日期"
                            label-width="110px"
                            prop="dedgrp.rec.shpdat"
liuxin committed
173
                        >
liuxin committed
174 175 176 177 178 179 180 181 182
                            <c-date-picker
                                type="date"
                                v-model="model.dedgrp.rec.shpdat"
                                style="width: 100%"
                                placeholder="请选择Shipment Date"
                                disabled
                            ></c-date-picker>
                        </el-form-item>
                    </c-col>
wuziqiang committed
183

liuxin committed
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
                    <c-col :span="13">
                        <el-form-item
                            label="最迟交单日期/交单地"
                            prop="dedgrp.rec.expdat"
                        >
                            <c-date-picker
                                type="date"
                                v-model="model.dedgrp.rec.expdat"
                                placeholder="请选择Date/Place of Expiry"
                                disabled
                            ></c-date-picker>
                        </el-form-item>
                    </c-col>
                    <c-col :span="11">
                        <el-form-item
                            label=""
                            label-width="0px"
                            prop="dedgrp.rec.expplc"
                        >
                            <c-input
                                v-model="model.dedgrp.rec.expplc"
                                maxlength="29"
                                placeholder="请输入Date/Place of Expiry"
                                disabled
                            ></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
liuxin committed
212 213 214 215
                        <el-form-item
                            label="信用证类型"
                            prop="dedgrp.rec.lcrtyp"
                        >
liuxin committed
216 217 218 219 220 221 222 223 224 225
                            <c-select
                                v-model="model.dedgrp.rec.lcrtyp"
                                style="width: 100%"
                                placeholder="请选择转让标志"
                                disabled
                                :code="codes.lcrtyp"
                            >
                            </c-select>
                        </el-form-item>
                    </c-col>
liuxin committed
226
                </c-col>
wuziqiang committed
227

liuxin committed
228 229 230 231 232
                <c-col :span="12">
                    <c-col :span="24">
                        <el-form-item
                            label="受益人参考号"
                            prop="dedgrp.ben.pts.ref"
liuxin committed
233
                        >
liuxin committed
234 235 236 237 238 239 240 241
                            <c-input
                                v-model="model.dedgrp.ben.pts.ref"
                                maxlength="16"
                                placeholder="请输入Beneficiary"
                                disabled
                            ></c-input>
                        </el-form-item>
                    </c-col>
wuziqiang committed
242

liuxin committed
243
                    <c-col :span="24">
liuxin committed
244 245 246 247
                        <el-form-item
                            label="受益人名称"
                            prop="dedgrp.ben.pts.nam"
                        >
liuxin committed
248 249 250 251 252 253 254 255
                            <c-input
                                v-model="model.dedgrp.ben.pts.nam"
                                maxlength="40"
                                placeholder="请输入Name of Party"
                                disabled
                            ></c-input>
                        </el-form-item>
                    </c-col>
wuziqiang committed
256

liuxin committed
257
                    <!-- <c-col :span="24">
liuxin committed
258 259 260 261 262 263 264 265 266 267 268 269 270
                        <el-form-item
                            label="开证行参考号"
                            prop="dedgrp.iss.pts.ref"
                        >
                            <c-input
                                v-model="model.dedgrp.iss.pts.ref"
                                maxlength="16"
                                placeholder="请输入Issuing Bank"
                                disabled
                            ></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
liuxin committed
271 272 273 274
                        <el-form-item
                            label="开证行名称"
                            prop="dedgrp.iss.pts.nam"
                        >
liuxin committed
275 276 277 278 279 280 281
                            <c-input
                                v-model="model.dedgrp.iss.pts.nam"
                                maxlength="40"
                                placeholder="请输入Name of Party"
                                disabled
                            ></c-input>
                        </el-form-item>
liuxin committed
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
                    </c-col> -->
                    <c-col :span="24">
                        <el-form-item
                            label="开证行编号"
                            prop="dedgrp.rec.kzref"
                        >
                            <c-input
                                v-model="model.dedgrp.rec.kzref"
                                maxlength="16"
                                placeholder="请输入开证行编号"
                                disabled="disabled"
                            ></c-input>
                        </el-form-item>
                    </c-col>

                    <c-col :span="24">
                        <el-form-item
                            label="开证行名称"
                            prop="dedgrp.iss.pts.nam"
                        >
                            <c-input
                                v-model="model.dedgrp.iss.pts.nam"
                                maxlength="40"
                                placeholder="请输入开证行名称"
                                disabled="disabled"
                            ></c-input>
                        </el-form-item>
liuxin committed
309
                    </c-col>
wuziqiang committed
310

liuxin committed
311 312 313 314 315 316 317 318 319 320 321 322 323 324
                    <c-col :span="24">
                        <el-form-item
                            label="申请人参考号"
                            prop="dedgrp.apl.pts.ref"
                        >
                            <c-input
                                v-model="model.dedgrp.apl.pts.ref"
                                maxlength="16"
                                placeholder="请输入Applicant"
                                disabled
                            ></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
liuxin committed
325 326 327 328
                        <el-form-item
                            label="申请人名称"
                            prop="dedgrp.apl.pts.nam"
                        >
liuxin committed
329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346
                            <c-input
                                v-model="model.dedgrp.apl.pts.nam"
                                maxlength="40"
                                placeholder="请输入Name of Party"
                                disabled
                            ></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="Confirmation text" prop="cnftxt">
                            <c-input
                                v-model="model.cnftxt"
                                maxlength="40"
                                placeholder="请输入Confirmation text"
                                disabled
                            ></c-input>
                        </el-form-item>
                    </c-col>
liuxin committed
347
                </c-col>
liuxin committed
348 349
            </c-col>
        </div>
wuziqiang committed
350

liuxin committed
351 352 353 354 355 356
        <!-- 单据 -->
        <div v-if="hotreg == 3 || hotreg == 4">
            <c-col :span="24">
                <!-- Left -->
                <c-col :span="12">
                    <c-col :span="24">
liuxin committed
357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382
                        <c-col :span="12">
                            <el-form-item
                                label="单据金额"
                                prop="bfdgrp.cbs.max.cur"
                            >
                                <c-input
                                    v-model="model.bfdgrp.cbs.max.cur"
                                    maxlength="3"
                                    placeholder="请输入单据金额"
                                    disabled
                                ></c-input>
                            </el-form-item>
                        </c-col>
                        <c-col :span="12">
                            <el-form-item
                                label=""
                                label-width="5px"
                                prop="bfdgrp.cbs.max.amt"
                            >
                                <c-input
                                    v-model="model.bfdgrp.cbs.max.amt"
                                    placeholder="请输入Balance"
                                    disabled
                                ></c-input>
                            </el-form-item>
                        </c-col>
liuxin committed
383 384 385
                    </c-col>
                    <c-col :span="24">
                        <c-col :span="12">
liuxin committed
386 387 388 389 390 391 392 393 394 395
                            <el-form-item
                                label="单据金额"
                                prop="bfdgrp.cbs.opn1.cur"
                            >
                                <c-input
                                    v-model="model.bfdgrp.cbs.opn1.cur"
                                    maxlength="3"
                                    placeholder="请输入单据金额"
                                    disabled
                                ></c-input>
liuxin committed
396 397 398
                            </el-form-item>
                        </c-col>
                        <c-col :span="12">
liuxin committed
399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416
                            <el-form-item
                                label=""
                                label-width="5px"
                                prop="bfdgrp.cbs.opn1.amt"
                            >
                                <c-input
                                    v-model="model.bfdgrp.cbs.opn1.amt"
                                    placeholder="请输入Balance"
                                    disabled
                                ></c-input>
                            </el-form-item>
                        </c-col>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item
                            label="单据类型"
                            prop="bfdgrp.rec.doctypcod"
                        >
liuxin committed
417
                            <c-input
liuxin committed
418 419 420
                                v-model="model.bfdgrp.rec.doctypcod"
                                maxlength="1"
                                placeholder="请输入单据类型"
liuxin committed
421 422
                                disabled
                            ></c-input>
liuxin committed
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
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <c-col :span="12">
                            <el-form-item
                                label="远期单据到期日"
                                prop="bfdgrp.rec.orddat"
                            >
                                <c-date-picker
                                    type="date"
                                    v-model="model.bfdgrp.rec.orddat"
                                    style="width: 100%"
                                    placeholder="请选择远期单据到期日"
                                    disabled
                                ></c-date-picker>
                            </el-form-item>
                        </c-col>
                        <c-col :span="12">
                            <el-form-item
                                label="寄单日期"
                                prop="dfdgrp.rec.opndat"
                            >
                                <c-date-picker
                                    type="date"
                                    v-model="model.dfdgrp.rec.opndat"
                                    style="width: 100%"
                                    placeholder="请选择代付日期"
                                    disabled
                                ></c-date-picker>
liuxin committed
452 453 454 455 456
                            </el-form-item>
                        </c-col>
                    </c-col>
                    <c-col :span="24">
                        <c-col :span="12">
liuxin committed
457 458 459 460 461 462 463 464 465 466 467
                            <el-form-item
                                label="到单日期"
                                prop="bfdgrp.rec.rcvdat"
                            >
                                <c-date-picker
                                    type="date"
                                    v-model="model.bfdgrp.rec.rcvdat"
                                    style="width: 100%"
                                    placeholder="请选择到单日期"
                                    disabled
                                ></c-date-picker>
liuxin committed
468 469 470
                            </el-form-item>
                        </c-col>
                        <c-col :span="12">
liuxin committed
471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486
                            <el-form-item
                                label="提示日期"
                                prop="bfdgrp.rec.predat"
                            >
                                <c-date-picker
                                    type="date"
                                    v-model="model.bfdgrp.rec.predat"
                                    style="width: 100%"
                                    placeholder="请选择Presentation Date"
                                    disabled
                                ></c-date-picker>
                            </el-form-item>
                        </c-col>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="单据状态" prop="bfdgrp.rec.docsta">
liuxin committed
487
                            <c-input
liuxin committed
488 489 490
                                v-model="model.bfdgrp.rec.docsta"
                                maxlength="40"
                                placeholder="请输入单据状态"
liuxin committed
491 492
                                disabled
                            ></c-input>
liuxin committed
493
                        </el-form-item>
liuxin committed
494
                    </c-col>
liuxin committed
495 496 497 498
                </c-col>

                <!-- Right -->
                <c-col :span="12">
liuxin committed
499
                    <c-col :span="24">
liuxin committed
500 501 502 503 504 505 506 507 508 509
                        <c-ptsmsg
                            :model="model"
                            :argadr="{
                                title: '交单行',
                                grp: 'bfdgrp',
                                rol: 'prb',
                            }"
                            :disabled="true"
                        ></c-ptsmsg>
                    </c-col>
liuxin committed
510
                    <!-- <c-col :span="24">
liuxin committed
511 512 513 514 515 516 517 518 519
                        <c-ptsmsg
                            :model="model"
                            :argadr="{
                                title: '开证行',
                                grp: 'bfdgrp',
                                rol: 'iss',
                            }"
                            :disabled="true"
                        ></c-ptsmsg>
liuxin committed
520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546
                    </c-col> -->
                    <c-col :span="24">
                        <el-form-item
                            label="开证行编号"
                            prop="dedgrp.rec.kzref"
                        >
                            <c-input
                                v-model="model.dedgrp.rec.kzref"
                                maxlength="16"
                                placeholder="请输入开证行编号"
                                disabled="disabled"
                            ></c-input>
                        </el-form-item>
                    </c-col>

                    <c-col :span="24">
                        <el-form-item
                            label="开证行名称"
                            prop="dedgrp.iss.pts.nam"
                        >
                            <c-input
                                v-model="model.dedgrp.iss.pts.nam"
                                maxlength="40"
                                placeholder="请输入开证行名称"
                                disabled="disabled"
                            ></c-input>
                        </el-form-item>
liuxin committed
547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615
                    </c-col>
                    <c-col :span="24">
                        <c-ptsmsg
                            :model="model"
                            :argadr="{
                                title: '申请人',
                                grp: 'bfdgrp',
                                rol: 'apl',
                            }"
                            :disabled="true"
                        ></c-ptsmsg>
                    </c-col>
                </c-col>
            </c-col>
        </div>

        <!-- 融资 -->
        <div v-if="hotreg == 5 || hotreg == 6">
            <c-col :span="24">
                <!-- Left -->
                <c-col :span="12">
                    <c-col :span="24">
                        <el-form-item label="业务合同" prop="bppnttyp">
                            <c-select
                                v-model="model.bppnttyp"
                                style="width: 100%"
                                placeholder="请选择业务合同"
                            >
                                <el-option
                                    v-for="item in codes.bppnttyp"
                                    :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="单据业务编号"
                            prop="mtdgrp.rec.ownref"
                        >
                            <c-fullbox>
                                <c-input
                                    v-model="model.mtdgrp.rec.ownref"
                                    maxlength="16"
                                    placeholder="单据业务编号"
                                    @keyup.enter.native="
                                        showGridPromptDialog(
                                            'mtdgrp.rec.ownref'
                                        )
                                    "
                                ></c-input>
                                <template slot="footer">
                                    <c-checkbox
                                        v-model="model.mtdget.clsflg"
                                        style="margin-left: 10px"
                                        >Show closed</c-checkbox
                                    >
                                </template>
                            </c-fullbox>
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item
                            label="融资业务编号"
                            prop="bpdgrp.rec.ownref"
                        >
liuxin committed
616 617 618 619 620 621
                            <c-fullbox>
                                <c-input
                                    v-model="model.bpdgrp.rec.ownref"
                                    maxlength="16"
                                    placeholder="请输入融资业务编号"
                                    @keyup.enter.native="
liuxin committed
622 623 624 625
                                        showGridPromptDialog(
                                            'bpdgrp.rec.ownref'
                                        )
                                    "
liuxin committed
626 627 628 629 630 631 632 633 634
                                ></c-input>
                                <template slot="footer">
                                    <c-checkbox
                                        v-model="model.mtdget.clsflg"
                                        style="margin-left: 10px"
                                        >Show closed</c-checkbox
                                    >
                                </template>
                            </c-fullbox>
liuxin committed
635 636 637 638
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <c-col :span="12">
liuxin committed
639 640 641 642 643 644 645 646 647 648
                            <el-form-item
                                label="融资金额"
                                prop="bpdgrp.cbs.max.cur"
                            >
                                <c-input
                                    v-model="model.bpdgrp.cbs.max.cur"
                                    maxlength="3"
                                    placeholder="请输入单据金额"
                                    disabled
                                ></c-input>
liuxin committed
649 650 651
                            </el-form-item>
                        </c-col>
                        <c-col :span="12">
liuxin committed
652 653 654 655 656 657 658 659 660 661
                            <el-form-item
                                label=""
                                label-width="5px"
                                prop="bpdgrp.cbs.max.amt"
                            >
                                <c-input
                                    v-model="model.bpdgrp.cbs.max.amt"
                                    placeholder="请输入Balance"
                                    disabled
                                ></c-input>
liuxin committed
662 663 664 665 666
                            </el-form-item>
                        </c-col>
                    </c-col>
                    <c-col :span="24">
                        <c-col :span="12">
liuxin committed
667 668 669 670 671 672 673 674 675 676
                            <el-form-item
                                label="押汇余额"
                                prop="bpdgrp.cbs.opn1.cur"
                            >
                                <c-input
                                    v-model="model.bpdgrp.cbs.max.cur"
                                    maxlength="3"
                                    placeholder="请输入单据金额"
                                    disabled
                                ></c-input>
liuxin committed
677 678 679
                            </el-form-item>
                        </c-col>
                        <c-col :span="12">
liuxin committed
680 681 682 683 684 685 686 687 688 689
                            <el-form-item
                                label=""
                                label-width="5px"
                                prop="bpdgrp.cbs.opn1.amt"
                            >
                                <c-input
                                    v-model="model.bpdgrp.cbs.opn1.amt"
                                    placeholder="请输入Balance"
                                    disabled
                                ></c-input>
liuxin committed
690 691 692 693
                            </el-form-item>
                        </c-col>
                    </c-col>
                    <c-col :span="24">
liuxin committed
694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711
                        <el-form-item label="起息日期" prop="bpdgrp.rec.opndat">
                            <c-date-picker
                                type="date"
                                v-model="model.bpdgrp.rec.opndat"
                                style="width: 100%"
                                placeholder="请选择起息日期"
                                disabled
                            ></c-date-picker>
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="融资帐号" prop="bpdgrp.rec.finact">
                            <c-input
                                v-model="model.bpdgrp.rec.finact"
                                maxlength="21"
                                placeholder="请输入融资帐号"
                                disabled
                            ></c-input>
liuxin committed
712 713
                        </el-form-item>
                    </c-col>
liuxin committed
714
                </c-col>
liuxin committed
715 716 717

                <!-- Right -->
                <c-col :span="12">
liuxin committed
718
                    <c-col :span="24"> </c-col>
liuxin committed
719
                    <c-col :span="24">
liuxin committed
720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736
                        <el-form-item label="摘要" prop="mtdgrp.rec.nam">
                            <c-input
                                v-model="model.mtdgrp.rec.nam"
                                maxlength="40"
                                placeholder="请输入摘要"
                                disabled
                            ></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="摘要" prop="bpdgrp.rec.nam">
                            <c-input
                                v-model="model.bpdgrp.rec.nam"
                                maxlength="40"
                                placeholder="请输入摘要"
                                disabled
                            ></c-input>
liuxin committed
737 738 739 740 741
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <c-ptsmsg
                            :model="model"
liuxin committed
742 743 744 745 746 747
                            :argadr="{
                                title: '融资客户',
                                grp: 'bpdgrp',
                                rol: 'fia',
                            }"
                            :disabled="true"
liuxin committed
748 749
                        ></c-ptsmsg>
                    </c-col>
liuxin committed
750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784
                    <c-col :span="24">
                        <el-form-item label="融资类型" prop="dfdgrp.rec.fintyp">
                            <c-input
                                v-model="model.dfdgrp.rec.fintyp"
                                maxlength="3"
                                placeholder="请输入Type"
                                disabled
                            ></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="到单日期" prop="bfdgrp.rec.rcvdat">
                            <c-date-picker
                                type="date"
                                v-model="model.bfdgrp.rec.rcvdat"
                                style="width: 100%"
                                placeholder="请选择到单日期"
                                disabled
                            ></c-date-picker>
                        </el-form-item>
                    </c-col>
                </c-col>
            </c-col>
        </div>

        <!-- 同业代付 -->
        <div v-if="hotreg == 7 || hotreg == 8">
            <c-col :span="24">
                <!-- Left -->
                <c-col :span="12">
                    <c-col :span="24">
                        <el-form-item
                            label="代付业务编号"
                            prop="dfdgrp.rec.ownref"
                        >
liuxin committed
785 786 787 788 789 790 791
                            <c-fullbox>
                                <c-input
                                    v-model="model.dfdgrp.rec.ownref"
                                    maxlength="16"
                                    placeholder="请输入代付业务编号"
                                    @keyup.enter.native="
                                        showGridPromptDialog('dfdgrp.rec.ownref')
liuxin committed
792
                                    "
liuxin committed
793 794 795 796 797 798 799 800 801
                                ></c-input>
                                <template slot="footer">
                                    <c-checkbox
                                        v-model="model.bfdget.clsflg"
                                        style="margin-left: 10px"
                                        >Show closed</c-checkbox
                                    >
                                </template>
                            </c-fullbox>
liuxin committed
802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <c-col :span="12">
                            <el-form-item
                                label="代付本金"
                                prop="dfdgrp.cbs.max.cur"
                            >
                                <c-input
                                    v-model="model.dfdgrp.cbs.max.cur"
                                    maxlength="3"
                                    placeholder="请输入单据金额"
                                    disabled
                                ></c-input>
                            </el-form-item>
                        </c-col>
                        <c-col :span="12">
                            <el-form-item
                                label=""
                                label-width="5px"
                                prop="dfdgrp.cbs.max.amt"
                            >
                                <c-input
                                    v-model="model.dfdgrp.cbs.max.amt"
                                    placeholder="请输入Balance"
                                    disabled
                                ></c-input>
                            </el-form-item>
                        </c-col>
                    </c-col>

                    <c-col :span="24">
                        <c-col :span="12">
                            <el-form-item
                                label="代付本金"
                                prop="dfdgrp.cbs.opn1.cur"
                            >
                                <c-input
                                    v-model="model.dfdgrp.cbs.opn1.cur"
                                    maxlength="3"
                                    placeholder="请输入单据金额"
                                    disabled
                                ></c-input>
                            </el-form-item>
                        </c-col>
                        <c-col :span="12">
                            <el-form-item
                                label=""
                                label-width="5px"
                                prop="dfdgrp.cbs.opn1.amt"
                            >
                                <c-input
                                    v-model="model.dfdgrp.cbs.opn1.amt"
                                    placeholder="请输入Balance"
                                    disabled
                                ></c-input>
                            </el-form-item>
                        </c-col>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="代付日期" prop="dfdgrp.rec.opndat">
                            <c-date-picker
                                type="date"
                                v-model="model.dfdgrp.rec.opndat"
                                style="width: 100%"
                                placeholder="请选择代付日期"
                                disabled
                            ></c-date-picker>
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="代付类型" prop="dfdgrp.rec.fintyp">
                            <c-input
                                v-model="model.dfdgrp.rec.fintyp"
                                maxlength="3"
                                placeholder="请输入Type"
                                disabled
                            ></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col>
                        <c-col :span="12">
                            <el-form-item
                                label="代付起始日"
                                prop="dfdgrp.rec.stttendat"
                            >
                                <c-date-picker
                                    type="date"
                                    v-model="model.dfdgrp.rec.stttendat"
                                    style="width: 100%"
                                    placeholder="请选择代付起始日"
                                    disabled
                                ></c-date-picker>
                            </el-form-item>
                        </c-col>

                        <c-col :span="12">
                            <el-form-item
                                label="Maturity Date"
                                prop="dfdgrp.rec.matdat"
                            >
                                <c-date-picker
                                    type="date"
                                    v-model="model.dfdgrp.rec.matdat"
                                    style="width: 100%"
                                    placeholder="请选择Maturity Date"
                                    disabled
                                ></c-date-picker>
                            </el-form-item>
                        </c-col>
                    </c-col>
                </c-col>

                <!-- Right -->
                <c-col :span="12">
                    <c-col :span="24">
                        <el-form-item label="摘要" prop="dfdgrp.rec.nam">
                            <c-input
                                v-model="model.dfdgrp.rec.nam"
                                maxlength="40"
                                placeholder="请输入摘要"
                                disabled
                            ></c-input>
                        </el-form-item>
                    </c-col>
liuxin committed
927 928 929
                    <c-col :span="24">
                        <c-ptsmsg
                            :model="model"
liuxin committed
930 931 932 933 934 935
                            :argadr="{
                                title: '申请人',
                                grp: 'dfdgrp',
                                rol: 'apl',
                            }"
                            :disabled="true"
liuxin committed
936 937 938 939 940
                        ></c-ptsmsg>
                    </c-col>
                    <c-col :span="24">
                        <c-ptsmsg
                            :model="model"
liuxin committed
941 942 943 944 945 946
                            :argadr="{
                                title: '代付行',
                                grp: 'dfdgrp',
                                rol: 'dff',
                            }"
                            :disabled="true"
liuxin committed
947 948
                        ></c-ptsmsg>
                    </c-col>
liuxin committed
949 950
                </c-col>
            </c-col>
liuxin committed
951
        </div>
liuxin committed
952

liuxin committed
953
        <!-- ========================操作菜单================== -->
liuxin committed
954
        <c-col :span="24">
liuxin committed
955 956 957
            <el-form-item>
                <el-divider />
            </el-form-item>
wuziqiang committed
958
        </c-col>
liuxin committed
959 960
        <c-col :offset="12" :span="10">
            <el-tabs tab-position="right" @tab-click="onTabClick">
liuxin committed
961
                <el-tab-pane v-for="it in meum" :key="it.key" :label="it.label">
liuxin committed
962
                    <sel-mune :data="meumItem" :model="model" />
liuxin committed
963 964
                </el-tab-pane>
            </el-tabs>
wuziqiang committed
965
        </c-col>
liuxin committed
966
    </c-row>
wuziqiang committed
967 968 969
</template>
<script>
import Api from "~/service/Api";
wangren committed
970
import commonProcess from "~/mixin/commonProcess";
wuziqiang committed
971 972 973
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letsel/Event";
import SelMune from "./SelMune.vue";
liuxin committed
974 975
import Ptsmsg from "~/views/Public/Ptsmsg";

wuziqiang committed
976
export default {
liuxin committed
977
    components: {
liuxin committed
978 979 980
        SelMune,
        "c-ptsmsg": Ptsmsg,
    },
liuxin committed
981 982 983 984 985 986 987 988
    inject: ["root"],
    props: ["model", "codes"],
    mixins: [commonProcess],
    data() {
        return {
            hotreg: "1",
            meum: [
                {
liuxin committed
989 990
                    label: "信用证",
                    key: 1,
liuxin committed
991 992
                },
                {
liuxin committed
993 994
                    label: "信用证其他",
                    key: 2,
liuxin committed
995 996
                },
                {
liuxin committed
997 998
                    label: "单据",
                    key: 3,
liuxin committed
999 1000
                },
                {
liuxin committed
1001 1002
                    label: "单据其他",
                    key: 4,
liuxin committed
1003 1004
                },
                {
liuxin committed
1005 1006
                    label: "融资",
                    key: 5,
liuxin committed
1007 1008
                },
                {
liuxin committed
1009 1010
                    label: "融资其他",
                    key: 6,
liuxin committed
1011 1012
                },
                {
liuxin committed
1013 1014
                    label: "同业代付",
                    key: 7,
liuxin committed
1015 1016
                },
                {
liuxin committed
1017 1018 1019
                    label: "其他",
                    key: 8,
                },
liuxin committed
1020 1021 1022 1023 1024 1025
            ],
        };
    },
    methods: {
        ...Event,
        //各入口按钮请求
liuxin committed
1026 1027 1028 1029
        async onTabClick(tab) {
            var label = tab.label;
            var key = 1;
            var meum = this.meum;
liuxin committed
1030 1031
            for (let i = 0; i < meum.length; i++) {
                if (meum[i].label == label) {
liuxin committed
1032
                    key = meum[i].key;
liuxin committed
1033
                    break;
liuxin committed
1034
                }
liuxin committed
1035
            }
liuxin committed
1036 1037
            this.hotreg = key;
            let rtnmsg = await this.executeRule(`cfgfil.hotreg${key}`);
liuxin committed
1038
            if (rtnmsg.respCode == SUCCESS) {
liuxin committed
1039
                this.updateModel(rtnmsg.data);
liuxin committed
1040 1041 1042 1043 1044 1045
            } else {
                this.$notify.error({
                    title: "错误",
                    message: "服务请求失败!",
                });
            }
wuziqiang committed
1046 1047
        },
    },
liuxin committed
1048 1049
    computed: {
        meumItem() {
liuxin committed
1050 1051 1052
            return this.model.cfgfil.btnstm.rows || [];
        },
    },
wuziqiang committed
1053 1054 1055 1056
};
</script>
<style>
.centerLable {
liuxin committed
1057 1058
    height: 28px;
    line-height: 28px;
wuziqiang committed
1059 1060
}
</style>