Ovwp1.vue 38.9 KB
Newer Older
huangxin committed
1
<template>
huangxin committed
2
  <div class="eibs">
huangxin committed
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
          <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">
                  <!-- <el-form-item label="" label-width="5px"> -->
                  <c-button
                    style="margin: 0 10px 0 10px; padding: 0 12px"
                    size="small"
                    type="primary"
                  >
nanrui committed
21
                    <i class="el-icon-info" style="font-size:15px"></i>
huangxin committed
22 23 24 25
                  </c-button>

                  <c-button
                    style="margin: 0 0"
26
                    :disabled="getrefDisabled"
huangxin committed
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
                    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
48
                    
huangxin committed
49 50 51
                    size="small"
                    type="primary"
                  >
huangxin committed
52
                    <i class="el-icon-info" ></i>
huangxin committed
53 54 55 56 57 58 59
                  </c-button>
                </template>
              </c-fullbox>
            </el-form-item>
          </c-col>

          <c-col :span="24">
huangxin committed
60
            <c-col :span="10">
huangxin committed
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
              <el-form-item label="保函币种和金额" prop="gidgrp.cbs.max.cur">
                <c-select
                  v-model="model.gidgrp.cbs.max.cur"
                  style="width: 100%"
                  placeholder="请选择保函币种"
                >
                  <el-option
                    v-for="item in codes.curtxt1"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </c-select>
              </el-form-item>
            </c-col>

lianyang committed
78
            <c-col :span="10">
huangxin committed
79
              <el-form-item label-width="5px" prop="gidgrp.cbs.max.amt">
80
                <c-input-currency
huangxin committed
81 82
                  v-model="model.gidgrp.cbs.max.amt"
                  placeholder="请输入保函金额"
lianyang committed
83
                  style="width: 90%"
84 85
                  @keyup.enter.native="$event.target.blur()"
                ></c-input-currency>
huangxin committed
86 87 88
              </el-form-item>
            </c-col>
            <c-col
lianyang committed
89
              :span="4"
huangxin committed
90 91 92 93 94 95 96 97
              v-if="model.gitp.swiftflg != 'Y'"
              class="centerLable"
            >
              <c-checkbox v-model="model.gitp.dzbhflg">电子保函标志</c-checkbox>
            </c-col>
          </c-col>

          <c-col :span="24">
huangxin committed
98
            <c-col :span="10">
huangxin committed
99 100 101 102
              <el-form-item label="保函余额" prop="gidgrp.cbs.opn1.cur">
                <c-input
                  disabled
                  v-model="model.gidgrp.cbs.opn1.cur"
lianyang committed
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
                  style="width: 100%"
                  placeholder="请输入"
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="10">
              <el-form-item label-width="5px" prop="gidgrp.cbs.opn1.amt">
                <!-- 因暂不确定此金额框能否显示负数,且此框为disabled,暂用-min标签,可回显负数 -->
                <c-input-currency-min
                  disabled
                  v-model="model.gidgrp.cbs.opn1.amt"
                  placeholder="请输入"
                  style="width: 90%"
                ></c-input-currency-min>
              </el-form-item>
            </c-col>
            <c-col
              :span="4"
              v-if="model.gitp.swiftflg == 'Y'"
              class="centerLable"
huangxin committed
123
            >
lianyang committed
124 125
              <c-checkbox v-model="model.gitp.inc760">传入损失</c-checkbox>
            </c-col>
huangxin committed
126 127 128 129
          </c-col>

          <c-col :span="24">
            <el-form-item
lianyang committed
130 131 132
              v-show="model.gitp.swiftflg == 'Y'"
              label="接收目的 "
              prop="gidgrp.rec.purposin"
huangxin committed
133 134
            >
              <c-select
lianyang committed
135 136
                :disabled="model.gitp.inc760 == ''"
                v-model="model.gidgrp.rec.purposin"
huangxin committed
137
                style="width: 100%"
lianyang committed
138
                placeholder="请选择接收目的 "
huangxin committed
139 140
              >
                <el-option
lianyang committed
141
                  v-for="item in codes.purposin"
huangxin committed
142 143 144 145 146 147 148 149 150
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>

lianyang committed
151
          <c-col :span="24" v-if="model.gitp.swiftflg == 'Y'">
huangxin committed
152
            <el-form-item
lianyang committed
153 154 155 156 157 158 159
              v-if="model.gidgrp.rec.purposin == ''
                    ||model.gidgrp.rec.purposin == 'ICCO'
                    ||model.gidgrp.rec.purposin == 'ISCO'
                    ||model.gidgrp.rec.purposin == 'ISSU'
                    "
              label="支出目的"
              prop="gidgrp.rec.purpos"
huangxin committed
160 161
            >
              <c-select
lianyang committed
162
                v-model="model.gidgrp.rec.purpos"
huangxin committed
163
                style="width: 100%"
lianyang committed
164 165
                placeholder="请选择支出目的"
                :code="getValues('gidgrp.rec.purpos')"
huangxin committed
166 167 168 169 170 171 172 173 174 175 176 177 178 179
              >
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item
              label="保函开立类型"
              prop="gidgrp.rec.hndtyp"
            >
              <c-select
                v-model="model.gidgrp.rec.hndtyp"
                style="width: 100%"
                placeholder="请选择保函开立类型"
lianyang committed
180
                :code="getValues('gidgrp.rec.hndtyp','hndtyp')"
huangxin committed
181 182 183 184 185 186 187 188 189 190 191
              >
              </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="请选择保函种类"
lianyang committed
192
                :code="getValues('gidgrp.rec.gartyp','typgar')"
huangxin committed
193
              >
lianyang committed
194
                <!-- <el-option
huangxin committed
195 196 197 198 199
                  v-for="item in codes.seagtyp"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
lianyang committed
200
                </el-option> -->
huangxin committed
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
              </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"
                  style="width: 100%"
                  placeholder="请选择保函形式"
                >
                  <el-option
                    v-for="item in codes.legfrm"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </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
                v-model="model.gidgrp.rec.demand"
                style="width: 100%"
                placeholder="请选择需求指示"
              >
                <el-option
                  v-for="item in codes.demand"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item label="申请条款" prop="gidgrp.blk.apprul">
              <c-fullbox>
                <c-select
                  v-model="model.gidgrp.blk.apprul"
                  style="width: 100%"
                  placeholder="请选择申请条款"
                >
                  <el-option
                    v-for="item in codes.apprulc1"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </c-select>

                <template slot="footer">
                  <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>
                </template>
              </c-fullbox>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <c-col :span="12">
              <el-form-item
                label="保函文本语言种类"
                prop="gidgrp.rec.giduil"
              >
                <c-select
                  v-model="model.gidgrp.rec.giduil"
                  style="width: 100%"
                  placeholder="请选择保函文本语言种类"
lianyang committed
296
                  :code="getValues('gidgrp.rec.giduil','uiltxt')"
huangxin committed
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
                >
                </c-select>
              </el-form-item>
            </c-col>
            <c-col :span="12">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                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' &&
                model.gidgrp.rec.gartyp == '' &&
                model.gidgrp.rec.hndtyp == ''
              "
              label="保函文本格式"
              prop="gidgrp.rec.gtxinr"
            >
              <c-select
                v-model="model.gidgrp.rec.gtxinr"
                style="width: 100%"
                placeholder="请选择保函文本格式"
lianyang committed
332
                disabled
huangxin committed
333 334 335 336 337
              >
              </c-select>
            </el-form-item>
          </c-col>

lianyang committed
338
          <c-col :span="24" v-if="model.gitp.swiftflg == 'N'">
huangxin committed
339
            <el-form-item
lianyang committed
340 341
              v-if="model.gidgrp.rec.hndtyp != ''||(model.gidgrp.rec.gartyp != '' &&
                model.gidgrp.rec.hndtyp == '')
huangxin committed
342 343 344 345 346 347 348 349 350
              "
              label="保函文本格式"
              prop="gidgrp.rec.gtxinr"
            >
              <c-select
                v-model="model.gidgrp.rec.gtxinr"
                style="width: 100%"
                placeholder="请选择保函文本格式"
                :code="codes.gtxinr"
lianyang committed
351
                :disabled="gtxinrDisabled"
huangxin committed
352 353 354 355 356 357 358
              >
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item
lianyang committed
359 360 361
              v-if="model.gitp.swiftflg != 'Y'"
              label="特殊保函类型"
              prop="gidgrp.ghd.segtyp"
huangxin committed
362 363
            >
              <c-select
lianyang committed
364
                v-model="model.gidgrp.ghd.segtyp"
huangxin committed
365
                style="width: 100%"
lianyang committed
366
                placeholder="请选择特殊保函类型"
lianyang committed
367
                :code="codes.segtyppop"
huangxin committed
368 369 370 371 372 373 374
              >
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item
lianyang committed
375 376 377
              v-if="model.gitp.swiftflg != 'Y'"
              label="是否分离式保函"
              prop="gidgrp.rec.fenlishi"
huangxin committed
378 379
            >
              <c-select
lianyang committed
380 381
                disabled
                v-model="model.gidgrp.rec.fenlishi"
huangxin committed
382
                style="width: 100%"
lianyang committed
383
                placeholder="请选择是否分离式保函"
huangxin committed
384
              >
lianyang committed
385 386 387 388 389 390 391
                <el-option
                  v-for="item in codes.fenlishi2"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
huangxin committed
392 393 394 395
              </c-select>
            </el-form-item>
          </c-col>

lianyang committed
396
          <c-col :span="24" v-if="model.gitp.swiftflg == 'Y'">
huangxin committed
397 398 399 400 401 402 403 404 405 406 407 408
            <el-form-item
              label="保函文本格式"
              prop="gidgrp.rec.atxinr"
            >
              <c-select
                :disabled="
                  model.gidgrp.rec.purpos == 'ADVI' ||
                  model.gidgrp.rec.purpos == 'ACNF'
                "
                v-model="model.gidgrp.rec.atxinr"
                style="width: 100%"
                placeholder="请选择保函文本格式"
409
                :code="codes.atxinr"
huangxin committed
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 459 460 461 462
              >
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <c-col :span="12">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                label="客户委托我行日期"
                prop="gidgrp.rec.orddat"
              >
                <c-date-picker
                  :disabled="model.gidgrp.rec.hndtyp == 'FR'"
                  type="date"
                  v-model="model.gidgrp.rec.orddat"
                  style="width: 100%"
                  placeholder="请选择客户委托我行日期"
                ></c-date-picker>
              </el-form-item>
            </c-col>
            <c-col :span="12">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                label="保函生效日期"
                prop="gidgrp.rec.opndat"
              >
                <c-date-picker
                  type="date"
                  v-model="model.gidgrp.rec.opndat"
                  style="width: 100%"
                  placeholder="请选择生效日期"
                ></c-date-picker>
              </el-form-item>
            </c-col>
          </c-col>
          <c-col :span="24">
            <c-col :span="14">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                label="保函效期"
                prop="gidgrp.rec.expdat"
              >
                <c-date-picker
                  :disabled="model.gidgrp.rec.expflg == 'X'"
                  type="date"
                  v-model="model.gidgrp.rec.expdat"
                  style="width: 90%"
                  placeholder="请选择保函效期"
                ></c-date-picker>
              </el-form-item>
            </c-col>
            <c-col
huangxin committed
463
              :span="6"
huangxin committed
464 465 466 467
              v-if="model.gitp.swiftflg != 'Y'"
              class="centerLable"
            >
              <c-checkbox v-model="model.gidgrp.rec.expflg"
lianyang committed
468
              :disabled="model.gidgrp.rec.expdat!=''"
huangxin committed
469 470 471 472
                >无限额保函</c-checkbox
              >
            </c-col>
            <c-col
huangxin committed
473
              :span="4"
huangxin committed
474 475 476 477 478 479 480 481
              v-if="model.gitp.swiftflg != 'Y'"
              class="centerLable"
            >
              <c-button
                size="small"
                type="primary"
                @click="onGitpWbxs"
                disabled
huangxin committed
482
                style="float:right"
huangxin committed
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
              >
                显示文本
              </c-button>
            </c-col>
          </c-col>
          <c-col :span="24">
            <c-col :span="14">
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                label="我行责任截至日"
                prop="gidgrp.rec.liadat"
              >
                <c-date-picker
                  :disabled="
                    model.gidgrp.rec.hndtyp != 'OC' ||
                    model.gidgrp.rec.liaflg == 'X'
                  "
                  type="date"
                  v-model="model.gidgrp.rec.liadat"
                  style="width: 90%"
                  placeholder="请选择我行责任截至日"
                ></c-date-picker>
              </el-form-item>
            </c-col>
            <c-col
huangxin committed
508
              :span="6"
huangxin committed
509 510 511 512 513 514 515 516 517 518 519 520 521
              v-if="model.gitp.swiftflg != 'Y'"
              class="centerLable"
            >
              <c-checkbox
                v-model="model.gidgrp.rec.liaflg"
                :disabled="
                  model.gidgrp.rec.hndtyp != 'OC' ||
                  model.gidgrp.rec.expflg == 'X'
                "
                >我行责任敞口</c-checkbox
              >
            </c-col>
            <c-col
huangxin committed
522
              :span="4"
huangxin committed
523 524 525 526 527 528 529
              v-if="model.gitp.swiftflg != 'Y'"
              class="centerLable"
            >
              <c-button
                size="small"
                type="primary"
                @click="onGitpYptxy"
huangxin committed
530
                style="float:right"
huangxin committed
531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552
                disabled
              >
                协议签署
              </c-button>
            </c-col>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg != 'Y'"
              label="保函生效日"
              prop="gidgrp.rec.inudat"
            >
              <c-date-picker
                disabled
                type="date"
                v-model="model.gidgrp.rec.inudat"
                style="width: 100%"
                placeholder="请选择保函生效日"
              ></c-date-picker>
            </el-form-item>
          </c-col>
          <c-col :span="24">
huangxin committed
553
            <c-col :span="18">
huangxin committed
554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574
              <el-form-item
                v-if="model.gitp.swiftflg != 'Y'"
                label="抵押标志"
                prop="gidgrp.rec.guaflg"
              >
                <c-select
                  v-model="model.gidgrp.rec.guaflg"
                  style="width: 90%"
                  placeholder="请选择抵押标志"
                >
                  <el-option
                    v-for="item in codes.guaflg"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </c-select>
              </el-form-item>
            </c-col>
            <c-col
huangxin committed
575
              :span="6"
huangxin committed
576 577 578
              v-if="model.gitp.swiftflg != 'Y'"
              class="centerLable"
            >
huangxin committed
579
              <c-checkbox v-model="model.gidgrp.rec.teskeyunc" style="float:right">
huangxin committed
580 581 582 583 584 585
                Test Key Unconfirmity
              </c-checkbox>
            </c-col>
          </c-col>
        </c-col>
        <!-- ============右边================= -->
586
        <c-col :span="12" style="padding-left: 20px;">
huangxin committed
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
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg != 'Y'"
              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 != 'Y'"
              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 != 'Y'"
              label="申请人"
              prop="gidgrp.apl.pts.extkey"
            >
              <c-fullbox>
                <c-input
                  v-model="model.gidgrp.apl.pts.extkey"
                  maxlength="16"
                  placeholder="请输入"
                  @keyup.enter.native="
                    showGridPromptDialog(`gidgrp.apl.pts.extkey`)
                  "
lianyang committed
629
                  :disabled="model.gidgrp.ghd.segtyp == '02'"
huangxin committed
630 631 632 633 634 635 636 637
                >
                </c-input>
                <template slot="footer">
                  <c-button
                    style="margin: 0 10px 0 10px; padding: 0 12px"
                    size="small"
                    type="primary"
                  >
nanrui committed
638
                    <i class="el-icon-info"></i>
huangxin committed
639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658
                  </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 != 'Y'"
              label="地址名称"
              prop="gidgrp.apl.pts.adrblk"
            >
              <c-input
lianyang committed
659
                :disabled="model.gidgrp.apl.pts.adrblk != ''||model.gidgrp.ghd.segtyp == '02'"
huangxin committed
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
                rows="4"
                type="textarea"
                v-model="model.gidgrp.apl.pts.adrblk"
                maxlength="140"
                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.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"
                  >
nanrui committed
704
                    <i class="el-icon-info"></i>
huangxin committed
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
                  </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="140"
                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="请输入受益人参考号"
lianyang committed
746
                :disabled="model.gidgrp.ghd.segtyp == '02'"
huangxin committed
747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763
              ></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`)
                  "
lianyang committed
764
                  :disabled="model.gidgrp.ghd.segtyp == '02'"
huangxin committed
765 766 767 768 769 770 771
                ></c-input>
                <template slot="footer">
                  <c-button
                    style="margin: 0 10px 0 10px; padding: 0 12px"
                    size="small"
                    type="primary"
                  >
nanrui committed
772
                    <i class="el-icon-info"></i>
huangxin committed
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
                  </c-button>
                  <c-button
                    disabled
                    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
                rows="4"
                type="textarea"
                v-model="model.gidgrp.ben.pts.adrblk"
                maxlength="140"
                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.rec.fingua"
            >
              <c-select
                disabled
                v-model="model.gidgrp.rec.fingua"
                style="width: 100%"
                placeholder="请选择是否对外担保"
              >
                <el-option
                  v-for="item in codes.fingua"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>

lianyang committed
827 828
          <c-col :span="24" v-if="model.gitp.swiftflg != 'Y'">
            <c-col :span="model.gidgrp.cbs.max.cur == 'CNY'? 18 : 24 ">
huangxin committed
829
              <el-form-item
lianyang committed
830
                label="担保类型"
huangxin committed
831 832 833 834 835
                prop="gidgrp.rec.cfaguatyp"
              >
                <c-select
                  disabled
                  v-model="model.gidgrp.rec.cfaguatyp"
lianyang committed
836
                  :style="model.gidgrp.cbs.max.cur == 'CNY'? 'width: 90%' : 'width: 100%'"
huangxin committed
837 838 839 840 841 842 843 844 845 846 847 848 849
                  placeholder="请选择对外担保类型"
                >
                  <el-option
                    v-for="item in codes.cfaguatyp"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </c-select>
              </el-form-item>
            </c-col>
            <c-col
huangxin committed
850
              :span="6"
lianyang committed
851
              v-if="model.gidgrp.cbs.max.cur == 'CNY'"
huangxin committed
852 853 854
              class="centerLable"
            >
              <c-checkbox
huangxin committed
855
              style="float:right"
huangxin committed
856 857 858 859 860
                label="跨境人民币保函"
                v-model="model.gidgrp.rec.cmtflg"
                >跨境人民币保函</c-checkbox
              >
            </c-col>
lianyang committed
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
          </c-col>

          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg != 'Y'"
              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 != '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>
huangxin committed
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

            <c-col :span="24">
              <el-form-item
                v-if="model.gitp.swiftflg == 'Y'"
                label="客户委托我行日期"
                prop="gidgrp.rec.orddat"
              >
                <c-date-picker
                  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"
                  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
                  v-model="model.gidgrp.rec.exptyp"
                  style="width: 100%"
                  placeholder="请选择到期类型"
                >
                  <el-option
                    v-for="item in codes.exptyp"
                    :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 == 'Y'"
                  label="保函效期"
                  prop="gidgrp.rec.expdat"
                >
                  <c-date-picker
                    :disabled="model.gidgrp.rec.exptyp == 'OPEN'"
                    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="
                    model.gidgrp.rec.expdat != '' ||
                    model.gidgrp.rec.expflg == 'X'
                  "
                  v-model="model.gidgrp.rec.expflg"
                  >我行责任敞口</c-checkbox
                >
              </c-col>
            </c-col>

            <c-col :span="24">
huangxin committed
984
              <c-col :span="18">
huangxin committed
985 986 987 988 989 990 991
                <el-form-item
                  v-if="model.gitp.swiftflg == 'Y'"
                  label="到期条件"
                  prop="gidgrp.blk.exptxt"
                >
                  <c-input
                    type="textarea"
huangxin committed
992
                    rows="6"
huangxin committed
993 994 995 996 997 998 999 1000
                    :disabled="model.gitp.exptxtmodflg == ''"
                    v-model="model.gidgrp.blk.exptxt"
                    maxlength="780"
                    show-word-limit
                    placeholder="请输入到期条件"
                  ></c-input>
                </el-form-item>
              </c-col>
huangxin committed
1001
              <c-col :span="6">
huangxin committed
1002 1003 1004 1005 1006 1007 1008 1009
                <c-checkbox
                  v-if="model.gitp.swiftflg == 'Y'"
                  v-model="model.gitp.exptxtmodflg"
                  :disabled="
                    model.gidgrp.rec.exptyp == 'FIXD' ||
                    model.gidgrp.rec.exptyp == 'OPEN' ||
                    model.gidgrp.rec.exptyp == ''
                  "
huangxin committed
1010
                  style="margin: 0 0 0 10px;float:left"
huangxin committed
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
                  >修改文本</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="model.gidgrp.rec.purpos != 'ISCO'"
                  v-model="model.gidgrp.rec.liatypc"
                  style="width: 100%"
                  placeholder="请选择责任类型 "
                >
                  <el-option
                    v-for="item in codes.liatypc"
                    :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 == 'Y'"
                  label="我行责任截至日"
                  prop="gidgrp.rec.liadat"
                >
                  <c-date-picker
                    :disabled="
                      model.gidgrp.rec.liatypc == 'OPEN' ||
                      model.gidgrp.rec.liatypc == ''
                    "
                    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="
                    model.gidgrp.rec.liadat != '' ||
                    model.gidgrp.rec.liaflg == 'X'
                  "
                  v-model="model.gidgrp.rec.liaflg"
                  >我行责任敞口</c-checkbox
                >
              </c-col>
            </c-col>

            <c-col :span="24">
huangxin committed
1095
              <c-col :span="18">
huangxin committed
1096 1097 1098 1099 1100 1101 1102 1103
                <el-form-item
                  v-if="model.gitp.swiftflg == 'Y'"
                  label="责任条件"
                  prop="gidgrp.blk.liatxtc"
                >
                  <c-input
                    type="textarea"
                    :disabled="model.gitp.liatxtcmodflg == ''"
huangxin committed
1104
                    rows="6"
huangxin committed
1105 1106 1107 1108 1109 1110 1111
                    v-model="model.gidgrp.blk.liatxtc"
                    maxlength="65"
                    show-word-limit
                    placeholder="请输入责任条件"
                  ></c-input>
                </el-form-item>
              </c-col>
huangxin committed
1112
              <c-col :span="6">
huangxin committed
1113 1114 1115 1116 1117 1118 1119 1120
                <c-checkbox
                  v-if="model.gitp.swiftflg == 'Y'"
                  :disabled="
                    model.gidgrp.rec.liatypc == 'OPEN' ||
                    model.gidgrp.rec.liatypc == 'FIXD' ||
                    model.gidgrp.rec.liatypc == ''
                  "
                  v-model="model.gitp.liatxtcmodflg"
huangxin committed
1121
                  style="margin: 0 0 0 10px;float:left"
huangxin committed
1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166
                  >修改文本</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/Getopn/Event";
import Ptap from "~/views/Public/Ptap";
import Utils from "~/utils";

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

  computed: {
1167 1168
    getrefDisabled() {
      return this.model.gidgrp.ben.pts.adrblk ==''|| this.model.gidgrp.rec.ownref!='';
huangxin committed
1169
    },
lianyang committed
1170 1171 1172 1173 1174 1175 1176 1177 1178 1179
    gtxinrDisabled(){
      let strs=this.model.gidgrp.rec.hndtyp;
      if(this.model.gidgrp.rec.gtxinr=='<INCMSG>'){
        return true;
      }else if(strs.startsWith("F")){
        return true;
      }else{
        return false;
      }
    },
huangxin committed
1180 1181 1182 1183 1184 1185 1186 1187 1188
  },
  methods: {
    ...Event,
  },
  created: function () {},
};
</script>
<style>
</style>