Ptyp.vue 26.5 KB
Newer Older
1 2
<template>
  <div class="eibs-tab">
3
    <c-row>
liyixun committed
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
      <c-col :span="24">
        <c-col :span="11">
          <!-- 不为swift格式左边 -->
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg != 'Y'"
              label="Applicant Ref."
              prop="gidgrp.apl.pts.ref"
            >
              <c-input
                v-model="model.gidgrp.apl.pts.ref"
                maxlength="16"
                placeholder="请输入Applicant Ref."
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg != 'Y'"
              label="Applicant"
              prop="gidgrp.apl.pts.extkey"
            >
              <c-fullbox>
                <c-input
                  v-model="model.gidgrp.apl.pts.extkey"
                  maxlength="16"
                  placeholder="请输入External Key of Address"
                  @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
liyixun committed
46
                    :disabled="model.gidgrp.apl.pts.adrblk==''"
liyixun committed
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
                    size="small"
                    type="primary"
                    @click="onAplpDet"
                  >
                    Details
                  </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.apl.pts.adrblk"
            >
              <c-input
                disabled
                rows="4"
                type="textarea"
                v-model="model.gidgrp.apl.pts.adrblk"
                maxlength="140"
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
          </c-col>
74

liyixun committed
75 76 77 78 79 80 81 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
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg != 'Y'"
              label="Confirming Bank Ref."
              prop="gidgrp.con.pts.ref"
            >
              <c-input
                disabled
                v-model="model.gidgrp.con.pts.ref"
                maxlength="16"
                placeholder="请输入Applicant Ref."
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg != 'Y'"
              label="Confirming Bank"
              prop="gidgrp.con.pts.extkey"
            >
              <c-fullbox>
                <c-input
                  v-model="model.gidgrp.con.pts.extkey"
                  disabled
                  maxlength="16"
                  placeholder="请输入External Key of Address"
                  @keyup.enter.native="
                    showGridPromptDialog(`gidgrp.con.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="onConpDet"
                  >
                    Details
                  </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.con.pts.adrblk"
            >
              <c-input
liyixun committed
134
                :disabled="model.gidgrp.con.pts.adrblk != ''"
liyixun committed
135 136 137 138 139 140 141 142
                type="textarea"
                rows="4"
                v-model="model.gidgrp.con.pts.adrblk"
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
          </c-col>
143

liyixun committed
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
          <!-- 为swift格式左边 -->
          <c-col :span="24">
            <el-form-item
              v-if="
                model.gitp.swiftflg == 'Y' &&
                (model.gidgrp.rec.purposin == 'ISCO' ||
                  model.gidgrp.rec.purposin == 'ICCO')
              "
              label="Issuing Bank's Ref."
              prop="gidgrp.apl.pts.ref"
            >
              <c-input
                v-model="model.gidgrp.apl.pts.ref"
                maxlength="16"
                placeholder="请输入Issuing Bank's Ref."
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="
                model.gitp.swiftflg == 'Y' &&
                (model.gidgrp.rec.purposin == 'ISCO' ||
                  model.gidgrp.rec.purposin == 'ICCO')
              "
              label="Issuing Bank"
              prop="gidgrp.apl.pts.extkey"
            >
              <c-fullbox>
                <c-input
                  v-model="model.gidgrp.apl.pts.extkey"
                  maxlength="16"
                  placeholder="请输入External Key of Address"
                  @keyup.enter.native="
                    showGridPromptDialog(`gidgrp.apl.pts.extkey`)
                  "
liyixun committed
180
                  @blur="benBlur"
liyixun committed
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
                ></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="onAplpDet"
                  >
                    Details
                  </c-button>
                </template>
              </c-fullbox>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="
                model.gitp.swiftflg == 'Y' &&
                (model.gidgrp.rec.purposin == 'ISCO' ||
                  model.gidgrp.rec.purposin == 'ICCO')
              "
              label="地址名称"
              prop="gidgrp.apl.pts.adrblk"
            >
              <c-input
                disabled
                rows="4"
                type="textarea"
                v-model="model.gidgrp.apl.pts.adrblk"
                maxlength="140"
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
          </c-col>
225

liyixun committed
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
          <c-col :span="24">
            <el-form-item
              v-if="
                model.gitp.swiftflg == 'Y' &&
                (model.gidgrp.rec.purposin == 'ISCO' ||
                  model.gidgrp.rec.purposin == 'ICCO')
              "
              label="Applicant's Ref."
              prop="gidgrp.ctr.pts.ref"
            >
              <c-input
                v-model="model.gidgrp.ctr.pts.ref"
                maxlength="16"
                placeholder="请输入Applicant Ref."
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="
                model.gitp.swiftflg == 'Y' &&
                (model.gidgrp.rec.purposin == 'ISCO' ||
                  model.gidgrp.rec.purposin == 'ICCO')
              "
              label="Applicant"
              prop="gidgrp.ctr.pts.extkey"
            >
              <c-fullbox>
                <c-input
                  v-model="model.gidgrp.ctr.pts.extkey"
                  maxlength="16"
                  placeholder="请输入External Key of Address"
                  @keyup.enter.native="
                    showGridPromptDialog(`gidgrp.ctr.pts.extkey`)
                  "
liyixun committed
261
                  @blur="benBlur"
liyixun committed
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
                ></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 size="small" type="primary" @click="onCtrpDet">
                    Details
                  </c-button>
                </template>
              </c-fullbox>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="
                model.gitp.swiftflg == 'Y' &&
                (model.gidgrp.rec.purposin == 'ISCO' ||
                  model.gidgrp.rec.purposin == 'ICCO')
              "
              label="地址名称"
              prop="gidgrp.ctr.pts.adrblk"
            >
              <c-input
                :disabeld="model.gidgrp.ctr.pts.adrblk != ''"
                rows="4"
                type="textarea"
                v-model="model.gidgrp.ctr.pts.adrblk"
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
          </c-col>
300

liyixun committed
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
          <c-col :span="24">
            <el-form-item
              v-if="
                model.gitp.swiftflg == 'Y' &&
                (model.gidgrp.rec.purposin == 'ISSU' ||
                  model.gidgrp.rec.purposin == '')
              "
              label="Applicant's Ref."
              prop="gidgrp.apl.pts.ref"
            >
              <c-input
                v-model="model.gidgrp.apl.pts.ref"
                maxlength="16"
                placeholder="请输入Applicant Ref."
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="
                model.gitp.swiftflg == 'Y' &&
                (model.gidgrp.rec.purposin == 'ISSU' ||
                  model.gidgrp.rec.purposin == '')
              "
              label="Applicant"
              prop="gidgrp.apl.pts.extkey"
            >
              <c-fullbox>
                <c-input
                  v-model="model.gidgrp.apl.pts.extkey"
                  maxlength="16"
                  placeholder="请输入External Key of Address"
                  @keyup.enter.native="
                    showGridPromptDialog(`gidgrp.apl.pts.extkey`)
                  "
liyixun committed
336
                  @blur="benBlur"
liyixun committed
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
                ></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="onAplpDet"
                  >
                    Details
                  </c-button>
                </template>
              </c-fullbox>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="
                (model.gitp.swiftflg == 'Y') &
                (model.gidgrp.rec.purposin == 'ISSU' ||
                  model.gidgrp.rec.purposin == '')
              "
              label="地址名称"
              prop="gidgrp.apl.pts.adrblk"
            >
              <c-input
                disabled
                rows="4"
                type="textarea"
                v-model="model.gidgrp.apl.pts.adrblk"
                maxlength="140"
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
          </c-col>
381

liyixun committed
382
          <c-col :span="24">
liyixun committed
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
            <el-form-item
              v-if="
                model.gitp.swiftflg == 'Y' &&
                (model.gidgrp.rec.purposin == 'ISSU' ||
                  model.gidgrp.rec.purposin == '')
              "
              label="Accountee/ObI. Ref."
              prop="gidgrp.ctr.pts.ref"
            >
              <c-input
                v-model="model.gidgrp.ctr.pts.ref"
                maxlength="16"
                placeholder="请输入Accountee/ObI. Ref."
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="
                model.gitp.swiftflg == 'Y' &&
                (model.gidgrp.rec.purposin == 'ISSU' ||
                  model.gidgrp.rec.purposin == '')
              "
              label="Accountee/ObI."
              prop="gidgrp.ctr.pts.extkey"
            >
              <c-fullbox>
                <c-input
                  v-model="model.gidgrp.ctr.pts.extkey"
                  maxlength="16"
                  placeholder="请输入External Key of Address"
                  @keyup.enter.native="
                    showGridPromptDialog(`gidgrp.ctr.pts.extkey`)
                  "
liyixun committed
417
                  @blur="benBlur"
liyixun committed
418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437
                ></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 size="small" type="primary" @click="onCtrpDet">
                    Details
                  </c-button>
                </template>
              </c-fullbox>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
liyixun committed
438 439 440 441 442
              v-if="
                model.gitp.swiftflg == 'Y' &&
                (model.gidgrp.rec.purposin == 'ISSU' ||
                  model.gidgrp.rec.purposin == '')
              "
liyixun committed
443 444
              label="地址名称"
              prop="gidgrp.ctr.pts.adrblk"
liyixun committed
445
            >
liyixun committed
446 447 448 449 450 451 452 453 454 455
              <c-input
                :disabled="model.gidgrp.ctr.pts.adrblk != ''"
                rows="4"
                type="textarea"
                v-model="model.gidgrp.ctr.pts.adrblk"
                maxlength="140"
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
liyixun committed
456 457
          </c-col>
        </c-col>
458

liyixun committed
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
        <c-col :span="11" :offset="1">
          <!-- 不为swift格式右边 -->
          <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="请输入Applicant Ref."
              ></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="请输入External Key of Address"
                  @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"
                  >
                    Details
                  </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' ||
                  model.gidgrp.ben.pts.adrblk != ''
                "
                rows="4"
                type="textarea"
                maxlength="140"
                v-model="model.gidgrp.ben.pts.adrblk"
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
          </c-col>
531

liyixun committed
532 533 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
          <c-col :span="24">
            <el-form-item
              v-if="
                (model.gidgrp.rec.hndtyp == 'OC' ||
                  model.gidgrp.rec.hndtyp == 'OT') &&
                model.gitp.swiftflg != 'Y'
              "
              label="Issuing Bank"
              prop="gidgrp.iss.pts.ref"
            >
              <c-input
                v-model="model.gidgrp.iss.pts.ref"
                maxlength="16"
                placeholder="请输入Issuing Bank"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="
                (model.gidgrp.rec.hndtyp == 'OC' ||
                  model.gidgrp.rec.hndtyp == 'OT') &&
                model.gitp.swiftflg != 'Y'
              "
              label="Issuing Bank"
              prop="gidgrp.iss.pts.extkey"
            >
              <c-fullbox>
                <c-input
                  v-model="model.gidgrp.iss.pts.extkey"
                  maxlength="16"
                  placeholder="请输入External Key of Address"
                  @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"
                  >
                    Details
                  </c-button>
                </template>
              </c-fullbox>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="
                (model.gidgrp.rec.hndtyp == 'OC' ||
                  model.gidgrp.rec.hndtyp == 'OT') &&
                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="140"
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
          </c-col>
611

liyixun committed
612
          <!-- 为swift格式右边 -->
613

liyixun committed
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
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'Y'"
              label="Beneficiary's Ref."
              prop="gidgrp.ben.pts.ref"
            >
              <c-input
                v-model="model.gidgrp.ben.pts.ref"
                maxlength="16"
                placeholder="请输入Beneficiary's Ref."
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'Y'"
              label="Beneficiary"
              prop="gidgrp.ben.pts.extkey"
            >
              <c-fullbox>
                <c-input
                  v-model="model.gidgrp.ben.pts.extkey"
                  maxlength="16"
                  placeholder="请输入External Key of Address"
                  @keyup.enter.native="
                    showGridPromptDialog(`gidgrp.ben.pts.extkey`)
                  "
liyixun committed
641
                  @blur="benBlur"
liyixun committed
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
                ></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 size="small" type="primary" @click="onBenpDet">
                    Details
                  </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.ben.pts.adrblk != ''"
                rows="4"
                type="textarea"
                v-model="model.gidgrp.ben.pts.adrblk"
                maxlength="140"
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
          </c-col>
liyixun committed
677

liyixun committed
678
          <c-col :span="24">
liyixun committed
679 680 681 682 683 684 685 686 687 688 689 690 691 692
            <el-form-item
              v-if="model.gitp.swiftflg == 'Y'"
              label="Advising Bank Ref."
              prop="gidgrp.atb.pts.ref"
            >
              <c-input
                v-model="model.gidgrp.atb.pts.ref"
                maxlength="16"
                placeholder="请输入Advising Bank."
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
liyixun committed
693
              v-if="model.gitp.swiftflg == 'Y'"
liyixun committed
694 695
              label="Advising Bank"
              prop="gidgrp.atb.pts.extkey"
liyixun committed
696
            >
liyixun committed
697 698 699 700 701 702 703 704
              <c-fullbox>
                <c-input
                  v-model="model.gidgrp.atb.pts.extkey"
                  maxlength="16"
                  placeholder="请输入External Key of Address"
                  @keyup.enter.native="
                    showGridPromptDialog(`gidgrp.atb.pts.extkey`)
                  "
liyixun committed
705
                  @blur="benBlur"
liyixun committed
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
                ></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 size="small" type="primary" @click="onAtbpDet">
                    Details
                  </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.atb.pts.adrblk"
            >
              <c-input
                :disabled="model.gidgrp.atb.pts.adrblk != ''"
                rows="4"
                type="textarea"
                v-model="model.gidgrp.atb.pts.adrblk"
                maxlength="140"
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
liyixun committed
740
          </c-col>
741
        </c-col>
liyixun committed
742
      </c-col>
743
    </c-row>
liyixun committed
744

liyixun committed
745
    <c-col :span="24">
liyixun committed
746 747 748 749 750 751 752
      <el-form-item label="Additional Parties">
        <c-edit-table
          :model="model"
          v-bind="ptsaddg"
          style="margin-left: -120px"
        >
          <el-table-column label="操作">
liyixun committed
753 754 755 756 757 758 759 760 761 762
            <template slot-scope="scope">
              <el-button
                size="mini"
                @click="handleEdit(scope.$index, scope.row)"
                type="primary"
                >详情</el-button
              >
            </template>
          </el-table-column>
        </c-edit-table>
liyixun committed
763 764 765
      </el-form-item>
    </c-col>
  </div>
766 767
</template>
<script>
liyixun committed
768
import Api from "~/service/Api";
769
import commonProcess from "~/mixin/commonProcess";
liyixun committed
770 771
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
liyixun committed
772
import Ptap from "~/views/Public/Ptap";
liyixun committed
773
import Utils from "~/utils";
774 775

export default {
liyixun committed
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
  components: { "c-ptap": Ptap },
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
      ptsaddg: {
        columns: [
          {
            title: "Role",
            width: "120px",
            dataIndex: "rol",
            show: "select",
          },
          {
            title: "Party",
            width: "180px",
            dataIndex: "ptyextkey",
            show: "input",
          },
          {
            title: "Name of Party",
            width: "250px",
            dataIndex: "nam",
          },
          {
            title: "Reference for Address",
            width: "250px",
            dataIndex: "ref",
          },
        ],
        urls: "gitp.ptsaddp.ptsaddg",
liyixun committed
808
      },
liyixun committed
809 810
    };
  },
liyixun committed
811 812
  methods: { 
    ...Event,
liyixun committed
813
    async benBlur() {
liyixun committed
814 815 816 817 818 819 820 821
      let rtnmsg = await this.executeDefault("gidgrp.rec.sndto");
      if (rtnmsg.respCode == SUCCESS) {
        Utils.copyValueFromVO(this.model, rtnmsg.data);
      }
    },
  },
  watch:{
  },
liyixun committed
822 823
  created: function () {},
};
824 825 826
</script>
<style>
</style>