Ovwp1.vue 35.5 KB
Newer Older
huangxin committed
1
<template>
huangxin committed
2
    <div class="eibs">
3 4
<!-- ============左边================= -->
<c-col :span="12" style="padding-right: 20px;">
huangxin committed
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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
            <c-col :span="24">
              <el-form-item label="保函编号" prop="gidgrp.rec.ownref">
                <c-fullbox>
                  <c-input
                    disabled
                    v-model="model.gidgrp.rec.ownref"
                    maxlength="16"
                    placeholder="请输入保函编号"
                  ></c-input>
                  <template slot="footer">
                    <c-button
                      style="margin: 0 10px 0 10px; padding: 0 12px"
                      size="small"
                      type="primary"
                    >
                      <span
                        style="
                          font-size: 15px;
                          font-family: '宋体';
                          font-weight: bold;
                        "
                        >i</span
                      >
                    </c-button>
  
                    <c-button
                      style="margin: 0 0"
                      disabled
                      size="small"
                      type="primary"
                      @click="onGitpButgetref"
                    >
                      获取
                    </c-button>
                  </template>
                </c-fullbox>
              </el-form-item>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <el-form-item label="客户经理" prop="gitp.usr.extkey">
                <c-fullbox>
                  <c-input
                    disabled
                    v-model="model.gitp.usr.extkey"
                    maxlength="8"
                    placeholder="请输入客户经理"
                  ></c-input>
                  <template slot="footer">
                    <c-button
huangxin committed
56
                    style=" float:right;"
huangxin committed
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
                      size="small"
                      type="primary"
                    >
                      <span
                        style="
                          font-size: 15px;
                          font-family: '宋体';
                          font-weight: bold;
                        "
                        >i</span
                      >
                    </c-button>
                  </template>
                </c-fullbox>
              </el-form-item>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
huangxin committed
76
              <c-col :span="10">
huangxin committed
77 78
                <el-form-item label="保函币种和金额" prop="gidgrp.cbs.max.cur">
                  <c-select
huangxin committed
79
                  :code="codes.curtxt1"
huangxin committed
80 81 82 83 84 85 86 87
                    disabled
                    v-model="model.gidgrp.cbs.max.cur"
                    style="width: 100%"
                    placeholder="请选择保函币种"
                  >
                  </c-select>
                </el-form-item>
              </c-col>
huangxin committed
88
              <c-col :span="9">
89
                <el-form-item label="" prop="gidgrp.cbs.max.amt" label-width="5px">
huangxin committed
90 91 92
                <c-input
                  disabled
                  v-model="model.gidgrp.cbs.max.amt"
93
                  style=" width: 100%"
huangxin committed
94 95
                  placeholder="请选择保函金额"
                ></c-input>
96
              </el-form-item>
huangxin committed
97 98
              </c-col>
              <c-col
huangxin committed
99
                :span="5"
huangxin committed
100 101 102 103 104 105 106
                v-if="model.gitp.swiftflg != 'Y'"
              >
                <c-checkbox v-model="model.gitp.dzbhflg">电子保函标志</c-checkbox>
              </c-col>
            </c-col>
  
            <c-col :span="24">
huangxin committed
107
              <c-col :span="10">
huangxin committed
108
                <el-form-item label="保函余额" prop="gidgrp.cbs.opn1.cur">
huangxin committed
109 110
                  <c-select
                  :code="codes.curtxt1"
huangxin committed
111 112 113 114
                    disabled
                    v-model="model.gidgrp.cbs.opn1.cur"
                    style="width: 100%"
                    placeholder="请输入保函余额"
huangxin committed
115
                  ></c-select>
huangxin committed
116 117
                </el-form-item>
              </c-col>
huangxin committed
118
              <c-col :span="9">
119
                <el-form-item label="" prop="gidgrp.cbs.opn1.amt" label-width="5px">
huangxin committed
120 121 122
                <c-input
                  disabled
                  v-model="model.gidgrp.cbs.opn1.amt"
123
                  style="width: 100%"
huangxin committed
124 125
                  placeholder="请输入"
                ></c-input>
126
                </el-form-item>
huangxin committed
127 128
              </c-col>
              <c-col
huangxin committed
129
                :span="5"
huangxin committed
130 131
                v-if="model.gitp.swiftflg == 'Y'"
              >
huangxin committed
132 133 134
              <el-form-item label="" prop="gitp.inc760" label-width="120px" >
                <c-checkbox  v-model="model.gitp.inc760">传入损失</c-checkbox>
                </el-form-item>
huangxin committed
135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 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 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 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 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 349 350 351 352 353 354 355 356 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 383
              </c-col>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
                label="接收目的 "
                prop="gidgrp.rec.purposin"
              >
                <c-select
                  disabled
                  v-model="model.gidgrp.rec.purposin"
                  style="width: 100%"
                  :code="codes.purposin"
                  placeholder="请选择接收目的 "
                >
                </c-select>
              </el-form-item>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
                label="支出目的"
                prop="gidgrp.rec.purpos"
              >
                <c-select
                  disabled
                  v-model="model.gidgrp.rec.purpos"
                  :code="codes.purpos"
                  style="width: 100%"
                  placeholder="请选择支出目的"
                >
                </c-select>
              </el-form-item>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <el-form-item label="保函开立类型" prop="gidgrp.rec.hndtyp">
                <c-select
                  disabled
                  v-model="model.gidgrp.rec.hndtyp"
                  :code="codes.hndtyp"
                  style="width: 100%"
                  placeholder="请选择保函开立类型"
                >
                </c-select>
              </el-form-item>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <el-form-item label="保函种类" prop="gidgrp.rec.gartyp">
                <c-select
                  v-model="model.gidgrp.rec.gartyp"
                  style="width: 100%"
                  placeholder="请选择保函种类"
                  :code="codes.seagtyp"
                >
                </c-select>
              </el-form-item>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <c-col :span="24">
                <el-form-item
                  v-if="model.gitp.swiftflg == 'Y'"
                  label="保函形式"
                  prop="gidgrp.rec.legfrm"
                >
                  <c-select
                    v-model="model.gidgrp.rec.legfrm"
                    :code="codes.legfrm2"
                    style="width: 100%"
                    placeholder="请选择保函形式"
                  >
                  </c-select>
                </el-form-item>
              </c-col>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
                label="需求指示"
                prop="gidgrp.rec.demand"
              >
                <c-select
                  :code="codes.demand"
                  v-model="model.gidgrp.rec.demand"
                  style="width: 100%"
                  placeholder="请选择需求指示"
                >
                </c-select>
              </el-form-item>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <c-col :span="12">
                <el-form-item label="申请条款" prop="gidgrp.blk.apprul">
                  <c-select
                    v-model="model.gidgrp.blk.apprul"
                    style="width: 100%"
                    placeholder="请选择申请条款"
                    :code="codes.apprulc1"
                  >
                  </c-select>
                  <!--  -->
                </el-form-item>
              </c-col>
              <c-col :span="12">
                <el-form-item label-width="5px" prop="gidgrp.blk.apprultxt">
                  <c-input
                    :disabled="
                      model.gidgrp.blk.apprul == 'URDG' ||
                      model.gidgrp.blk.apprul == 'NONE' ||
                      model.gidgrp.blk.apprul == 'UCPR'
                    "
                    v-model="model.gidgrp.blk.apprultxt"
                    maxlength="35"
                    placeholder="请输入申请条款"
                  ></c-input>
                </el-form-item>
              </c-col>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <c-col :span="12">
                <el-form-item
                  label="保函文本语言种类"
                  prop="gidgrp.rec.giduil"
                >
                  <c-select
                    disabled
                    v-model="model.gidgrp.rec.giduil"
                    style="width: 100%"
                    placeholder="请选择保函文本语言种类"
                    :code="codes.uiltxt1"
                  >
                  </c-select>
                </el-form-item>
              </c-col>
  
              <!--  -->
              <c-col :span="12">
                <el-form-item label="核销日期" prop="gidgrp.rec.vrfdat">
                  <c-date-picker
                    disabled
                    type="date"
                    v-model="model.gidgrp.rec.vrfdat"
                    style="width: 100%"
                    placeholder="请选择核销日期"
                  ></c-date-picker>
                </el-form-item>
              </c-col>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'N'"
                label="特殊保函类型"
                prop="gidgrp.ghd.segtyp"
              >
                <c-select
                  v-model="model.gidgrp.ghd.segtyp"
                  style="width: 100%"
                  placeholder="请选择特殊保函类型"
                  :code="codes.segtyp"
                >
                </c-select>
              </el-form-item>
            </c-col>
            <!--  -->
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'N'"
                label="是否分离式保函"
                prop="gidgrp.rec.fenlishi"
              >
                <c-select
                  disabled
                  v-model="model.gidgrp.rec.fenlishi"
                  style="width: 100%"
                  placeholder="请选择是否分离式保函"
                  :code="codes.fenlishi2"
                >
                </c-select>
              </el-form-item>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <el-form-item label="保函文本格式" prop="gidgrp.rec.gtxinr">
                <c-select
                  
                  v-model="model.gidgrp.rec.gtxinr"
                  style="width: 100%"
                  placeholder="请选择保函文本格式"
                  :code="codes.gtxinr4"
                >
                </c-select>
              </el-form-item>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'N'"
                label="客户委托我行日期"
                prop="gidgrp.rec.orddat"
              >
                <c-date-picker
                  disabled
                  type="date"
                  v-model="model.gidgrp.rec.orddat"
                  style="width: 100%"
                  placeholder="请选择客户委托我行日期"
                ></c-date-picker>
              </el-form-item>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <c-col :span="14">
                <el-form-item
                  v-if="model.gitp.swiftflg == 'N'"
                  label="保函效期"
                  prop="gidgrp.rec.expdat"
                >
                  <c-date-picker
                    disabled
                    type="date"
                    v-model="model.gidgrp.rec.expdat"
                    style="width: 90%"
                    placeholder="请选择保函效期"
                  ></c-date-picker>
                </el-form-item>
              </c-col>
  
              <!--  -->
              <c-col
huangxin committed
384
                :span="6"
huangxin committed
385 386 387 388 389 390 391 392
                v-if="model.gitp.swiftflg == 'N'"
                class="centerLable"
              >
                <c-checkbox disabled v-model="model.gidgrp.rec.expflg"
                  >无限额保函</c-checkbox
                >
              </c-col>
              <c-col
huangxin committed
393
                :span="4"
huangxin committed
394 395 396 397 398 399 400 401
                v-if="model.gitp.swiftflg != 'Y'"
                class="centerLable"
              >
                <c-button
                  size="small"
                  type="primary"
                  @click="onGitpWbxs"
                  disabled
huangxin committed
402
                  style="float:right"
huangxin committed
403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428
                >
                  显示文本
                </c-button>
              </c-col>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <c-col :span="14">
                <el-form-item
                  v-if="model.gitp.swiftflg == 'N'"
                  label="我行责任截至日"
                  prop="gidgrp.rec.liadat"
                >
                  <c-date-picker
                    disabled
                    type="date"
                    v-model="model.gidgrp.rec.liadat"
                    style="width: 90%"
                    placeholder="请选择我行责任截至日"
                  ></c-date-picker>
                </el-form-item>
              </c-col>
  
              <!--  -->
              <c-col
huangxin committed
429
                :span="6"
huangxin committed
430 431 432 433 434 435 436 437
                v-if="model.gitp.swiftflg == 'N'"
                class="centerLable"
              >
                <c-checkbox v-model="model.gidgrp.rec.liaflg" disabled
                  >我行责任敞口</c-checkbox
                >
              </c-col>
              <c-col
huangxin committed
438
                :span="4"
huangxin committed
439 440 441 442 443 444 445
                v-if="model.gitp.swiftflg != 'Y'"
                class="centerLable"
              >
                <c-button
                  size="small"
                  type="primary"
                  @click="onGitpYptxy"
huangxin committed
446
                  style="float:right"
huangxin committed
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 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540
                  disabled
                >
                  协议签署
                </c-button>
              </c-col>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'N'"
                label="保函生效日"
                prop="gidgrp.rec.inudat"
              >
                <c-date-picker
                  type="date"
                  v-model="model.gidgrp.rec.inudat"
                  style="width: 100%"
                  placeholder="请选择保函生效日"
                ></c-date-picker>
              </el-form-item>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'N'"
                label="抵押标志"
                prop="gidgrp.rec.guaflg"
              >
                <c-select
                  v-model="model.gidgrp.rec.guaflg"
                  style="width: 100%"
                  placeholder="请选择抵押标志"
                  :code="codes.guaflg"
                >
                </c-select>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                label="是否显示查询码"
                prop="gidgrp.gidcxm.cxmflg"
              >
                <c-select
                  v-model="model.gidgrp.gidcxm.cxmflg"
                  style="width: 100%"
                  placeholder="请选择是否显示查询码"
                >
                  <el-option
                    v-for="item in codes.cxmflg"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </c-select>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <c-col :span="20">
                <el-form-item
                  v-if="model.gitp.swiftflg == 'N'"
                  label="对外担保类型"
                  prop="gidgrp.rec.cfaguatyp"
                >
                  <c-select
                    disabled
                    v-model="model.gidgrp.rec.cfaguatyp"
                    style="width: 90%"
                    placeholder="请选择对外担保类型"
                    :code="codes.cfaguatyp"
                  >
                  </c-select>
                </el-form-item>
              </c-col>
              <c-col
                :span="4"
                v-if="
                  model.gidgrp.cbs.max.cur == 'CNY' && model.gitp.swiftflg == 'N'
                "
                class="centerLable"
              >
                <c-checkbox
                  label="跨境人民币保函"
                  disabled
                  v-model="model.gidgrp.rec.cmtflg"
                  >跨境人民币保函</c-checkbox
                >
              </c-col>
            </c-col>
          </c-col>
541 542
        <!-- ============右边================= -->
        <c-col :span="12" style="padding-left: 20px;">
huangxin committed
543 544 545 546 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 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 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 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 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 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'N'"
                label="简略信息"
                prop="gidgrp.rec.nam"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.nam"
                  maxlength="40"
                  placeholder="请输入简略信息"
                ></c-input>
              </el-form-item>
            </c-col>
            <!--  -->
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'N'"
                label="申请人参考号"
                prop="gidgrp.apl.pts.ref"
              >
                <c-input
                  :disabled="model.gidgrp.ghd.segtyp == '02'"
                  v-model="model.gidgrp.apl.pts.ref"
                  maxlength="16"
                  placeholder="请输入申请人参考号"
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'N'"
                label="申请人"
                prop="gidgrp.apl.pts.extkey"
              >
                <c-fullbox>
                  <c-input
                    v-model="model.gidgrp.apl.pts.extkey"
                    disabled
                    maxlength="16"
                    placeholder="请输入"
                    @keyup.enter.native="
                      showGridPromptDialog(`gidgrp.apl.pts.extkey`)
                    "
                  >
                  </c-input>
                  <template slot="footer">
                    <c-button
                      style="margin: 0 10px 0 10px; padding: 0 12px"
                      size="small"
                      type="primary"
                    >
                      <span style="font-family: '宋体'; font-weight: bold"
                        >i</span
                      >
                    </c-button>
                    <c-button
                      :disabled="model.gidgrp.rec.hndtyp != 'OT'"
                      size="small"
                      type="primary"
                      @click="onAplpDet"
                    >
                      详情
                    </c-button>
                  </template>
                </c-fullbox>
              </el-form-item>
            </c-col>
            <!--  -->
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'N'"
                label="地址名称"
                prop="gidgrp.apl.pts.adrblk"
              >
                <c-input
                  :disabled="model.gidgrp.rec.hndtyp != 'OT'"
                  rows="4"
                  type="textarea"
                  v-model="model.gidgrp.apl.pts.adrblk"
                  maxlength="35"
                  show-word-limit
                  placeholder="请输入地址名称"
                ></c-input>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <c-ptap
                v-if="
                  (model.gidgrp.rec.hndtyp == 'OL' ||
                    model.gidgrp.rec.hndtyp == '') &&
                  model.gitp.swiftflg != 'Y'
                "
                :model="model"
                :argadr="{
                  title: '通知行或收报行',
                  grp: 'gidgrp',
                  rol: 'adv',
                }"
                @onAplpDet="onAdvpDet"
              >
              </c-ptap>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                label="开证行"
                prop="gidgrp.iss.pts.ref"
              >
                <c-input
                  v-model="model.gidgrp.iss.pts.ref"
                  maxlength="16"
                  placeholder="请输入开证行"
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                label="开证行"
                prop="gidgrp.iss.pts.extkey"
              >
                <c-fullbox>
                  <c-input
                    v-model="model.gidgrp.iss.pts.extkey"
                    maxlength="16"
                    placeholder="请输入"
                    @keyup.enter.native="
                      showGridPromptDialog(`gidgrp.iss.pts.extkey`)
                    "
                  ></c-input>
                  <template slot="footer">
                    <c-button
                      style="margin: 0 10px 0 10px; padding: 0 12px"
                      size="small"
                      type="primary"
                    >
                      <span style="font-family: '宋体'; font-weight: bold"
                        >i</span
                      >
                    </c-button>
                    <c-button
                      disabled
                      size="small"
                      type="primary"
                      @click="onIsspDet"
                    >
                      详情
                    </c-button>
                  </template>
                </c-fullbox>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                label="地址名称"
                prop="gidgrp.iss.pts.adrblk"
              >
                <c-input
                  disabled
                  rows="4"
                  type="textarea"
                  v-model="model.gidgrp.iss.pts.adrblk"
                  maxlength="35"
                  show-word-limit
                  placeholder="请输入地址名称"
                ></c-input>
              </el-form-item>
            </c-col>
  
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                label="受益人参考号"
                prop="gidgrp.ben.pts.ref"
              >
                <c-input
                  v-model="model.gidgrp.ben.pts.ref"
                  maxlength="16"
                  placeholder="请输入受益人参考号"
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                label="受益人"
                prop="gidgrp.ben.pts.extkey"
              >
                <c-fullbox>
                  <c-input
                    v-model="model.gidgrp.ben.pts.extkey"
                    maxlength="16"
                    placeholder="请输入"
                    @keyup.enter.native="
                      showGridPromptDialog(`gidgrp.ben.pts.extkey`)
                    "
                  ></c-input>
                  <template slot="footer">
                    <c-button
                      style="margin: 0 10px 0 10px; padding: 0 12px"
                      size="small"
                      type="primary"
                    >
                      <span style="font-family: '宋体'; font-weight: bold"
                        >i</span
                      >
                    </c-button>
                    <c-button
                      :disabled="model.gidgrp.rec.hndtyp == 'OT'"
                      size="small"
                      type="primary"
                      @click="onBenpDet"
                    >
                      详情
                    </c-button>
                  </template>
                </c-fullbox>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                label="地址名称"
                prop="gidgrp.ben.pts.adrblk"
              >
                <c-input
                  :disabled="model.gidgrp.rec.hndtyp == 'OT'"
                  rows="4"
                  type="textarea"
                  v-model="model.gidgrp.ben.pts.adrblk"
                  maxlength="35"
                  show-word-limit
                  placeholder="请输入地址名称"
                ></c-input>
              </el-form-item>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'N'"
                label="被保证人"
                prop="gidgrp.gidcxm.warran"
              >
                <c-input
                  v-model="model.gidgrp.gidcxm.warran"
                  maxlength="40"
                  placeholder="请输入被保证人"
                ></c-input>
              </el-form-item>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'N'"
                label="生效日期"
                prop="gidgrp.rec.opndat"
              >
                <c-date-picker
                  disabled
                  type="date"
                  v-model="model.gidgrp.rec.opndat"
                  style="width: 100%"
                  placeholder="请选择生效日期"
                ></c-date-picker>
              </el-form-item>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'N'"
                label="是否对外担保"
                prop="gidgrp.rec.fingua"
              >
                <c-select
                  disabled
                  v-model="model.gidgrp.rec.fingua"
                  style="width: 100%"
                  placeholder="请选择是否对外担保"
                  :code="codes.fingua"
                >
                </c-select>
              </el-form-item>
            </c-col>
  
            <!--  -->
  
            <!--  -->
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
                label="客户委托我行日期"
                prop="gidgrp.rec.orddat"
              >
                <c-date-picker
                  disabled
                  type="date"
                  v-model="model.gidgrp.rec.orddat"
                  style="width: 100%"
                  placeholder="请选择客户委托我行日期"
                ></c-date-picker>
              </el-form-item>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
                label="生效日期"
                prop="gidgrp.rec.opndat"
              >
                <c-date-picker
                  type="date"
                  disabled
                  v-model="model.gidgrp.rec.opndat"
                  style="width: 100%"
                  placeholder="请选择生效日期"
                ></c-date-picker>
              </el-form-item>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
                label="到期类型"
                prop="gidgrp.rec.exptyp"
              >
                <c-select
                  disabled
                  :code="codes.exptyp"
                  v-model="model.gidgrp.rec.exptyp"
                  style="width: 100%"
                  placeholder="请选择到期类型"
                >
                </c-select>
              </el-form-item>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <c-col :span="20">
                <el-form-item
                  v-if="model.gitp.swiftflg == 'Y'"
                  label="保函效期"
                  prop="gidgrp.rec.expdat"
                >
                  <c-date-picker
                    disabled
                    type="date"
                    v-model="model.gidgrp.rec.expdat"
                    style="width: 90%"
                    placeholder="请选择保函效期"
                  ></c-date-picker>
                </el-form-item>
              </c-col>
              <c-col
                :span="4"
                v-if="model.gitp.swiftflg == 'Y'"
                class="centerLable"
              >
                <c-checkbox disabled v-model="model.gidgrp.rec.expflg"
                  >保函效期敞口</c-checkbox
                >
              </c-col>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <c-col :span="20">
                <el-form-item
                  v-if="model.gitp.swiftflg == 'Y'"
                  label="到期条件"
                  prop="gidgrp.blk.exptxt"
                >
                  <c-input
                    type="textarea"
                    rows="4"
                    disabled
                    v-model="model.gidgrp.blk.exptxt"
                    maxlength="65"
                    show-word-limit
                    placeholder="请输入到期条件"
                  ></c-input>
                </el-form-item>
              </c-col>
              <c-col :span="4">
                <c-checkbox
                  v-if="model.gitp.swiftflg == 'Y'"
                  v-model="model.gitp.exptxtmodflg"
                  disabled
                  style="margin: 0 0 0 10px"
                  >修改文本</c-checkbox
                >
                <c-button
                  v-if="model.gitp.swiftflg == 'Y'"
                  disabled
                  size="small"
                  type="primary"
                  style="margin: 5px 0 0 10px"
                  @click="onGitpButdifexptxt"
                >
                  查看系统文本
                </c-button>
                <c-button
                  v-if="model.gitp.swiftflg == 'Y'"
                  disabled
                  size="small"
                  type="primary"
                  style="margin: 5px 0 0 10px"
                  @click="onGitpButdifhisexptxt"
                >
                  查看历史文本
                </c-button>
              </c-col>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
                label="责任类型 "
                prop="gidgrp.rec.liatypc"
              >
                <c-select
                  disabled
                  :code="codes.liatypc"
                  v-model="model.gidgrp.rec.liatypc"
                  style="width: 100%"
                  placeholder="请选择责任类型 "
                >
                </c-select>
              </el-form-item>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <c-col :span="20">
                <el-form-item
                  v-if="model.gitp.swiftflg == 'Y'"
                  label="我行责任截至日"
                  prop="gidgrp.rec.liadat"
                >
                  <c-date-picker
                    disabled
                    type="date"
                    v-model="model.gidgrp.rec.liadat"
                    style="width: 90%"
                    placeholder="请选择我行责任截至日"
                  ></c-date-picker>
                </el-form-item>
              </c-col>
              <c-col
                :span="4"
                v-if="model.gitp.swiftflg == 'Y'"
                class="centerLable"
              >
                <c-checkbox disabled v-model="model.gidgrp.rec.liaflg"
                  >我行责任敞口</c-checkbox
                >
              </c-col>
            </c-col>
  
            <!--  -->
            <c-col :span="24">
              <c-col :span="20">
                <el-form-item
                  v-if="model.gitp.swiftflg == 'Y'"
                  label="责任条件"
                  prop="gidgrp.blk.liatxtc"
                >
                  <c-input
                    type="textarea"
                    disabled
                    rows="4"
                    v-model="model.gidgrp.blk.liatxtc"
                    maxlength="65"
                    show-word-limit
                    placeholder="请输入责任条件"
                  ></c-input>
                </el-form-item>
              </c-col>
              <c-col :span="4">
                <c-checkbox
                  v-if="model.gitp.swiftflg == 'Y'"
                  disabled
                  v-model="model.gitp.liatxtcmodflg"
                  style="margin: 0 0 0 10px"
                  >修改文本</c-checkbox
                >
                <c-button
                  v-if="model.gitp.swiftflg == 'Y'"
                  disabled
                  size="small"
                  type="primary"
                  style="margin: 5px 0 0 10px"
                  @click="onGitpButdifliatxtc"
                >
                  查看系统文本
                </c-button>
                <c-button
                  v-if="model.gitp.swiftflg == 'Y'"
                  disabled
                  size="small"
                  type="primary"
                  style="margin: 5px 0 0 10px"
                  @click="onGitpButdifhisliatxtc"
                >
                  查看历史文本
                </c-button>
              </c-col>
            </c-col>
          </c-col>
    </div>
  </template>
  <script>
  import Api from "~/service/Api";
  import commonProcess from "~/mixin/commonProcess";
  import CodeTable from "~/config/CodeTable";
  import Event from "~/model/Getame/Event";
  import Ptap from "~/views/Public/Ptap";
  
  export default {
    components: { "c-ptap": Ptap },
    inject: ["root"],
    props: ["model", "codes"],
    mixins: [commonProcess],
    data() {
      return {};
    },
    methods: { ...Event },
    created: function () {},
  };
  </script>
  <style>
  </style>