Drv.vue 31.3 KB
Newer Older
1 2 3
<template>
  <div class="eibs-tab">
    <!-- left -->
4
    <c-col :span="11">
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
      <c-col :span="24">
        <c-col :span="20">
          <el-form-item
            label="参考号"
            prop="dedgrp.rec.ownref"
            style="width: 100%"
          >
            <c-input
              v-model="model.dedgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入参考号"
              style="width: 95%"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <!-- <c-col :span="1" style="text-align: right"> -->
        <c-col :span="1">
          <!-- <el-form-item label="" label-width="5px"> -->
          <c-button
            style="margin: 0 10px 0 0; padding: 0 12px"
            size="small"
            type="primary"
            @click="onSeainf"
29
            disabled
30 31
          >
            <span
Wuyuqiu committed
32
              style="font-size: 15px; font-family: '宋体'; font-weight: bold"
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
              >i</span
            >
          </c-button>
          <!-- </el-form-item> -->
        </c-col>
        <c-col :span="2" :offset="1" style="text-align: right">
          <!-- <el-form-item label="" label-width="5px"> -->
          <c-button
            style="margin: 0 0"
            size="small"
            type="primary"
            :disabled="this.flag"
            @click="onDetpButgetref"
          >
            获取
          </c-button>
          <!-- </el-form-item> -->
        </c-col>
        <!-- </c-col> -->
      </c-col>

      <c-col :span="24">
        <c-col :span="20">
          <el-form-item
            label="单据参考号"
            prop="bfdgrp.rec.ownref"
            style="width: 100%"
          >
            <c-input
              v-model="model.bfdgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入单据参考号"
              style="width: 95%"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <!-- <c-col :span="1" style="text-align: right"> -->
        <c-col :span="1">
          <!-- <el-form-item label="" label-width="5px"> -->
          <c-button
            style="margin: 0 10px 0 0; padding: 0 12px"
            size="small"
            type="primary"
            @click="onSeainf"
78
            disabled
79 80
          >
            <span
Wuyuqiu committed
81
              style="font-size: 15px; font-family: '宋体'; font-weight: bold"
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
              >i</span
            >
          </c-button>
          <!-- </el-form-item> -->
        </c-col>
        <c-col :span="2" :offset="1" style="text-align: right">
          <!-- <el-form-item label="" label-width="5px"> -->
          <c-button
            style="margin: 0 0"
            size="small"
            type="primary"
            :disabled="this.flag"
            @click="onDetpButgetref"
          >
            获取
          </c-button>
          <!-- </el-form-item> -->
        </c-col>
        <!-- </c-col> -->
      </c-col>
      <c-col :span="24">
        <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>
      </c-col>
      <c-col :span="24">
        <c-col :span="12">
          <el-form-item label="单据余额" prop="bfdgrp.cbs.opn1.cur">
            <c-input
              v-model="model.bfdgrp.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="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">
146
          <c-select
147
            v-model="model.bfdgrp.rec.doctypcod"
148
            style="width: 100%"
149 150
            placeholder="请输入单据类型"
            disabled
151 152 153 154 155 156 157 158 159
          >
            <el-option
              v-for="item in codes.doctypcod"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
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
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="远期单据到期日" prop="bfdgrp.rec.matdat">
          <c-date-picker
            type="date"
            v-model="model.bfdgrp.rec.matdat"
            style="width: 100%"
            placeholder="请选择远期单据到期日"
            disabled
          ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <c-col :span="12">
          <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 :span="12">
          <el-form-item label="提示日期" prop="bfdgrp.rec.predat">
            <c-date-picker
              type="date"
              v-model="model.bfdgrp.rec.predat"
              style="width: 100%"
              placeholder="请选择提示日期"
              disabled
            ></c-date-picker>
          </el-form-item>
        </c-col>
      </c-col>
      <c-col :span="24">
        <el-form-item label="单据状态" prop="bfdgrp.rec.docsta">
199
          <c-select
200
            v-model="model.bfdgrp.rec.docsta"
201
            style="width: 100%"
202 203
            placeholder="请输入单据状态"
            disabled
204 205 206 207 208 209 210 211 212
          >
            <el-option
              v-for="item in codes.docsta"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
213 214 215 216 217
        </el-form-item>
      </c-col>
    </c-col>

    <!-- right -->
218
    <c-col :span="11" :offset="1">
219 220
      <c-col :span="24">
        <c-col :span="12">
221
          <el-form-item label="信用证余额" prop="dedgrp.cbs.opn1.cur">
222
            <c-input
223
              v-model="model.dedgrp.cbs.opn1.cur"
224 225 226 227 228 229 230
              maxlength="3"
              placeholder="请输入信用证余额"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="12">
231
          <el-form-item label="" label-width="5px" prop="dedgrp.cbs.opn1.amt">
232
            <c-input
233
              v-model="model.dedgrp.cbs.opn1.amt"
234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255
              placeholder="请输入Balance"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>

      <c-col :span="24">
        <el-form-item label="摘要" prop="bfdgrp.rec.nam">
          <c-input
            v-model="model.bfdgrp.rec.nam"
            maxlength="40"
            placeholder="请输入摘要"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <c-ptsmsg
          :model="model"
          :argadr="{
256
            title: '交单人',
257 258 259 260 261 262
            grp: 'bfdgrp',
            rol: 'prb',
          }"
          :disabled="true"
        ></c-ptsmsg>
      </c-col>
263
      <!-- <c-col :span="24">
264 265 266 267 268 269 270 271 272
        <c-ptsmsg
          :model="model"
          :argadr="{
            title: '开证行',
            grp: 'bfdgrp',
            rol: 'iss',
          }"
          :disabled="true"
        ></c-ptsmsg>
273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294
      </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
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="开证行名称" prop="bfdgrp.iss.pts.nam">
          <c-input
            v-model="model.bfdgrp.iss.pts.nam"
            maxlength="40"
            placeholder="'请输入开证行名称'"
            disabled
          ></c-input>
        </el-form-item>
295
      </c-col>
Wuyuqiu committed
296

297 298 299 300 301 302 303 304 305 306 307 308 309
      <c-col :span="24">
        <c-ptsmsg
          :model="model"
          :argadr="{
            title: '申请人',
            grp: 'bfdgrp',
            rol: 'apl',
          }"
          :disabled="true"
        ></c-ptsmsg>
      </c-col>
    </c-col>
    <c-col :span="24">
310
      <el-form-item style="margin-left: -150px">
311 312 313 314 315 316
        <el-divider />
      </el-form-item>
    </c-col>

    <!-- next part -->
    <!-- left -->
317
    <c-col :span="11">
318 319
      <c-col :span="24">
        <el-form-item label="单据类型" prop="bfdgrp.rec.doctypcod">
320
          <c-select
321
            v-model="model.bfdgrp.rec.doctypcod"
322
            style="width: 100%"
323 324
            placeholder="请输入单据类型"
            disabled
325 326 327 328 329 330 331 332 333
          >
            <el-option
              v-for="item in codes.doctypcod"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
334 335
        </el-form-item>
      </c-col>
Wuyuqiu committed
336

337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352
      <c-col :span="24">
        <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"
Wuyuqiu committed
353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368
              @keyup.enter.native="show=!show"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>
      <c-col :span="24" v-if="show==true">
        <c-col :span="12">
          <el-form-item label="">
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item label="" label-width="5px" prop="oldbfdgrp.cbs.max.amt">
            <c-input
              v-model="model.oldbfdgrp.cbs.max.amt"
              placeholder="请输入Balance"
              disabled
369 370 371 372 373 374 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 412 413 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
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>
      <c-col :span="24">
        <el-form-item label="寄单索汇修改备注" prop="bfdgrp.blk.sndrmk">
          <c-input
            type="textarea"
            v-model="model.bfdgrp.blk.sndrmk"
            maxlength="65"
            show-word-limit
            placeholder="请输入寄单索汇修改备注"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <c-col :span="12">
          <el-form-item label="收单日期" prop="bfdgrp.rec.rcvdat">
            <c-date-picker
              type="date"
              v-model="model.bfdgrp.rec.rcvdat"
              style="width: 100%"
              placeholder="请选择收单日期"
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <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="请选择代付日期"
            ></c-date-picker>
          </el-form-item>
        </c-col>
      </c-col>
      <c-col :span="24">
        <c-col :span="12">
          <el-form-item label="到期日期" prop="bfdgrp.rec.matdat">
            <c-date-picker
              type="date"
              v-model="model.bfdgrp.rec.matdat"
              style="width: 100%"
              placeholder="请选择到期日期"
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item label="装运日期" prop="bfdgrp.rec.shpdat">
            <c-date-picker
              type="date"
              v-model="model.bfdgrp.rec.shpdat"
              style="width: 100%"
              placeholder="请选择装运日期"
            ></c-date-picker>
          </el-form-item>
        </c-col>
      </c-col>
      <c-col :span="24">
        <el-form-item label="远期单据到单日期" prop="bfdgrp.blk.matper">
          <c-input
            type="textarea"
            v-model="model.bfdgrp.blk.matper"
            maxlength="65"
            show-word-limit
            placeholder="请输入远期单据到单日期"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <c-checkbox
          v-model="model.bfdgrp.rec.dscinsflg"
          style="margin-left: 150px"
          disabled
          >输入单据,不符点,说明</c-checkbox
        >
      </c-col>
      <c-col :span="24">
        <el-form-item label="已交单次数" prop="dedgrp.rec.utlnbr">
          <c-input
            v-model="model.dedgrp.rec.utlnbr"
            placeholder="请输入已交单次数"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>

    <!-- right -->
459
    <c-col :span="11" :offset="1">
460 461 462 463 464 465 466 467
      <c-col :span="24">
        <el-form-item label="付款人" prop="bfdgrp.rec.payrol">
          <c-select
            v-model="model.bfdgrp.rec.payrol"
            style="width: 100%"
            placeholder="请选择付款人"
            disabled
          >
468 469 470 471 472 473 474
            <el-option
              v-for="item in codes.payrol"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
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
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="BIC" prop="bfdgrp.oth.pts.extkey">
          <c-input
            v-model="model.bfdgrp.oth.pts.extkey"
            maxlength="16"
            placeholder="请输入External Key of Address"
            @keyup.enter.native="showGridPromptDialog('bfdgrp.oth.pts.extkey')"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>

      <c-ptapdome
        :disabledBankno="true"
        :disabledJigomc="true"
        :disabledDizhii="true"
        :model="model"
        :argadr="{
          title: '',
          rol: 'oth',
          grp: 'bfdgrp',
        }"
      ></c-ptapdome>

      <c-col :span="24">
        <el-form-item label="交单人" prop="bfdgrp.rec.docprbrol">
          <c-select
            v-model="model.bfdgrp.rec.docprbrol"
            style="width: 100%"
            placeholder="请选择交单人"
Wuyuqiu committed
509
            @change="selectOrCheckboxRule('bfdgrp.rec.docprbrol')"
510 511
          >
            <el-option
Wuyuqiu committed
512
              v-for="item in codes.docprbrol0"
513 514 515 516 517 518 519 520 521 522 523 524 525
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <c-ptap
          :model="model"
          :argadr="{
526
            title: '',
527 528 529 530 531 532
            grp: 'bfdgrp',
            rol: 'prb',
          }"
          :noRef="true"
          :disabled="true"
          :isAdrblk="false"
Wuyuqiu committed
533
          :disabledExtkey="model.bfdgrp.rec.docprbrol == 'BEN'"
534 535 536 537 538 539 540 541 542 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 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097
          @onSeainf="onSeainf"
          @onAplpDet="onBenpDet"
        >
        </c-ptap>
      </c-col>
    </c-col>

    <!-- <c-col :span="12">
      <el-form-item label="Drag  Drop Sender" prop="bftp.dedget.sdamod.dadsnd">
        <c-input
          v-model="model.bftp.dedget.sdamod.dadsnd"
          placeholder="请输入Drag  Drop Sender"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="参考号" prop="dedgrp.rec.ownref">
        <c-input
          v-model="model.dedgrp.rec.ownref"
          maxlength="16"
          placeholder="请输入参考号"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="" prop="bftp.dedget.sdamod.seainf">
        <c-input
          v-model="model.bftp.dedget.sdamod.seainf"
          placeholder="请输入"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Currency" prop="dedgrp.cbs.opn1.cur">
        <c-input
          v-model="model.dedgrp.cbs.opn1.cur"
          maxlength="3"
          placeholder="请输入Currency"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Balance" prop="dedgrp.cbs.opn1.amt">
        <c-input
          v-model="model.dedgrp.cbs.opn1.amt"
          placeholder="请输入Balance"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Drag  Drop Sender" prop="bftp.recget.sdamod.dadsnd">
        <c-input
          v-model="model.bftp.recget.sdamod.dadsnd"
          placeholder="请输入Drag  Drop Sender"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="单据参考号" prop="bfdgrp.rec.ownref">
        <c-input
          v-model="model.bfdgrp.rec.ownref"
          maxlength="16"
          placeholder="请输入单据参考号"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="" prop="bftp.recget.sdamod.seainf">
        <c-input
          v-model="model.bftp.recget.sdamod.seainf"
          placeholder="请输入"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item
        label="Externally Displayed Name to Identify the Contract"
        prop="bfdgrp.rec.nam"
      >
        <c-input
          v-model="model.bfdgrp.rec.nam"
          maxlength="40"
          placeholder="请输入Externally Displayed Name to Identify the Contract"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="单据金额" prop="bfdgrp.cbs.max.cur">
        <c-select
          v-model="model.bfdgrp.cbs.max.cur"
          style="width: 100%"
          placeholder="请选择单据金额"
        >
        </c-select>
      </el-form-item>
    </c-col>

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

    <c-col :span="12">
      <el-form-item label="交单人" prop="bfdgrp.prb.pts.ref">
        <c-input
          v-model="model.bfdgrp.prb.pts.ref"
          maxlength="16"
          placeholder="请输入交单人"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="单据余额" prop="bfdgrp.cbs.opn1.cur">
        <c-input
          v-model="model.bfdgrp.cbs.opn1.cur"
          maxlength="3"
          placeholder="请输入单据余额"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Balance" prop="bfdgrp.cbs.opn1.amt">
        <c-input
          v-model="model.bfdgrp.cbs.opn1.amt"
          placeholder="请输入Balance"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Name of Party" prop="bfdgrp.prb.pts.nam">
        <c-input
          v-model="model.bfdgrp.prb.pts.nam"
          maxlength="40"
          placeholder="请输入Name of Party"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="信用证编号" prop="dedgrp.rec.kzref">
        <c-input
          v-model="model.dedgrp.rec.kzref"
          maxlength="35"
          placeholder="请输入信用证编号"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="开证行" prop="bfdgrp.iss.pts.ref">
        <c-input
          v-model="model.bfdgrp.iss.pts.ref"
          maxlength="16"
          placeholder="请输入开证行"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="单据类型" prop="bfdgrp.rec.doctypcod">
        <c-select
          v-model="model.bfdgrp.rec.doctypcod"
          style="width: 100%"
          placeholder="请选择单据类型"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Name of Party" prop="bfdgrp.iss.pts.nam">
        <c-input
          v-model="model.bfdgrp.iss.pts.nam"
          maxlength="40"
          placeholder="请输入Name of Party"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="远期单据到期日" prop="bfdgrp.rec.matdat">
        <c-date-picker
          type="date"
          v-model="model.bfdgrp.rec.matdat"
          style="width: 100%"
          placeholder="请选择远期单据到期日"
        ></c-date-picker>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="到单日期" prop="bfdgrp.rec.rcvdat">
        <c-date-picker
          type="date"
          v-model="model.bfdgrp.rec.rcvdat"
          style="width: 100%"
          placeholder="请选择到单日期"
        ></c-date-picker>
      </el-form-item>
    </c-col>

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

    <c-col :span="12">
      <el-form-item label="申请人" prop="bfdgrp.apl.pts.ref">
        <c-input
          v-model="model.bfdgrp.apl.pts.ref"
          maxlength="16"
          placeholder="请输入申请人"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="单据状态" prop="bfdgrp.rec.docsta">
        <c-input
          v-model="model.bfdgrp.rec.docsta"
          maxlength="40"
          placeholder="请输入单据状态"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Name of Party" prop="bfdgrp.apl.pts.nam">
        <c-input
          v-model="model.bfdgrp.apl.pts.nam"
          maxlength="40"
          placeholder="请输入Name of Party"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="单据类型" prop="bfdgrp.rec.doctypcod">
        <c-select
          v-model="model.bfdgrp.rec.doctypcod"
          style="width: 100%"
          placeholder="请选择单据类型"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Payer" prop="bfdgrp.rec.payrol">
        <c-select
          v-model="model.bfdgrp.rec.payrol"
          style="width: 100%"
          placeholder="请选择Payer"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <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="请输入单据金额"
        ></c-input>
      </el-form-item>
    </c-col>

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

    <c-col :span="12">
      <el-form-item
        label="External Key of Address"
        prop="bfdgrp.oth.pts.extkey"
      >
        <c-input
          v-model="model.bfdgrp.oth.pts.extkey"
          maxlength="16"
          placeholder="请输入External Key of Address"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Number of bank" prop="bfdgrp.oth.pts.bankno">
        <c-input
          v-model="model.bfdgrp.oth.pts.bankno"
          maxlength="20"
          placeholder="请输入Number of bank"
        ></c-input>
      </el-form-item>
    </c-col>

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

    <c-col :span="12">
      <el-form-item label="Balance" prop="oldbfdgrp.cbs.max.amt">
        <c-input
          v-model="model.oldbfdgrp.cbs.max.amt"
          placeholder="请输入Balance"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="联行名称  电证用" prop="bfdgrp.oth.pts.jigomc">
        <c-input
          type="textarea"
          v-model="model.bfdgrp.oth.pts.jigomc"
          maxlength="35"
          show-word-limit
          placeholder="请输入联行名称  电证用"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="寄单�'�汇修改备注" prop="bfdgrp.blk.sndrmk">
        <c-input
          type="textarea"
          v-model="model.bfdgrp.blk.sndrmk"
          maxlength="65"
          show-word-limit
          placeholder="请输入寄单�'�汇修改备注"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="地址  电证用" prop="bfdgrp.oth.pts.dizhii">
        <c-input
          type="textarea"
          v-model="model.bfdgrp.oth.pts.dizhii"
          maxlength="35"
          show-word-limit
          placeholder="请输入地址  电证用"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="到单日期" prop="bfdgrp.rec.rcvdat">
        <c-date-picker
          type="date"
          v-model="model.bfdgrp.rec.rcvdat"
          style="width: 100%"
          placeholder="请选择到单日期"
        ></c-date-picker>
      </el-form-item>
    </c-col>

    <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="请选择收单日期"
        ></c-date-picker>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Presented by" prop="bfdgrp.rec.docprbrol">
        <c-select
          v-model="model.bfdgrp.rec.docprbrol"
          style="width: 100%"
          placeholder="请选择Presented by"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="远期单据到期日" prop="bfdgrp.rec.matdat">
        <c-date-picker
          type="date"
          v-model="model.bfdgrp.rec.matdat"
          style="width: 100%"
          placeholder="请选择远期单据到期日"
        ></c-date-picker>
      </el-form-item>
    </c-col>

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

    <c-col :span="12">
      <el-form-item label="到期日" prop="bfdgrp.rec.shpdat">
        <c-date-picker
          type="date"
          v-model="model.bfdgrp.rec.shpdat"
          style="width: 100%"
          placeholder="请选择到期日"
        ></c-date-picker>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item
        label="Drag  Drop Sender"
        prop="bftp.prbp.ptsget.sdamod.dadsnd"
      >
        <c-input
          v-model="model.bftp.prbp.ptsget.sdamod.dadsnd"
          placeholder="请输入Drag  Drop Sender"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item
        label="External Key of Address"
        prop="bfdgrp.prb.pts.extkey"
      >
        <c-input
          v-model="model.bfdgrp.prb.pts.extkey"
          maxlength="16"
          placeholder="请输入External Key of Address"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="" prop="bftp.prbp.ptsget.sdamod.seainf">
        <c-input
          v-model="model.bftp.prbp.ptsget.sdamod.seainf"
          placeholder="请输入"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <c-button size="small" type="primary" @click="onPrbpDet">
        Details
      </c-button>
    </c-col>

    <c-col :span="12">
      <el-form-item label="名称" prop="bfdgrp.prb.namelc">
        <c-input
          type="textarea"
          v-model="model.bfdgrp.prb.namelc"
          maxlength="35"
          show-word-limit
          placeholder="请输入名称"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Maturity Period" prop="bfdgrp.blk.matper">
        <c-input
          type="textarea"
          v-model="model.bfdgrp.blk.matper"
          maxlength="65"
          show-word-limit
          placeholder="请输入Maturity Period"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Address Block" prop="bfdgrp.prb.pts.adrblk">
        <c-input
          type="textarea"
          v-model="model.bfdgrp.prb.pts.adrblk"
          maxlength="35"
          show-word-limit
          placeholder="请输入Address Block"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Chinese address" prop="bfdgrp.prb.dbfadrblkcn">
        <c-input
          type="textarea"
          v-model="model.bfdgrp.prb.dbfadrblkcn"
          maxlength="35"
          show-word-limit
          placeholder="请输入Chinese address"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <c-checkbox v-model="model.bfdgrp.rec.dscinsflg"
        >Enter Docs, Discrep. and Instructions</c-checkbox
      >
    </c-col>

    <c-col :span="12">
      <el-form-item label="地址" prop="bfdgrp.prb.adrelc">
        <c-input
          type="textarea"
          v-model="model.bfdgrp.prb.adrelc"
          maxlength="35"
          show-word-limit
          placeholder="请输入地址"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item
        label="No. of Existing and not Completely Processed  Document Sets"
        prop="dedgrp.rec.utlnbr"
      >
        <c-input
          v-model="model.dedgrp.rec.utlnbr"
          placeholder="请输入No. of Existing and not Completely Processed  Document Sets"
        ></c-input>
      </el-form-item>
    </c-col> -->
  </div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bftdrv/Event";
import Ptsmsg from "~/views/Public/Ptsmsg";
import PtapDome from "~/views/Public/PtapDome";
import Ptap from "~/views/Public/Ptap";

export default {
  components: { "c-ptsmsg": Ptsmsg, "c-ptapdome": PtapDome, "c-ptap": Ptap },
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
Wuyuqiu committed
1098 1099 1100
    return {
      show:false,
    };
1101
  },
1102 1103 1104 1105 1106
  computed: {
    flag() {
      return this.model.mtabut.coninf.usr.extkey == "";
    },
  },
1107 1108 1109 1110 1111 1112
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
</style>