Ovwp.vue 62.1 KB
Newer Older
1 2
<template>
  <div class="eibs-tab">
liyixun committed
3 4 5 6 7
    <!-- <c-row> -->
    <c-col :span="24">
      <!-- ==================左边================ -->
      <c-col :span="12">
        <c-col :span="24">
wangna committed
8
          <el-form-item label="保函编号" prop="gidgrp.rec.ownref">
liyixun committed
9 10 11 12
            <c-fullbox>
              <c-input
                v-model="model.gidgrp.rec.ownref"
                maxlength="16"
wangna committed
13
                placeholder="请输入保函编号"
liyixun committed
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
                :disabled="model.gitp.swiftflg != 'N'"
              ></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"
                >
                  <span
                    style="
                      font-size: 15px;
                      font-family: '宋体';
                      font-weight: bold;
                    "
                    >i</span
30
                  >
liyixun committed
31
                </c-button>
32

liyixun committed
33 34 35 36 37 38 39 40 41 42 43 44 45 46
                <c-button
                  style="margin: 0 0"
                  :disabled="this.flag"
                  size="small"
                  type="primary"
                  @click="onGitpButgetref"
                >
                  获取
                </c-button>
              </template>
            </c-fullbox>
          </el-form-item>
        </c-col>
        <c-col :span="24">
wangna committed
47
          <el-form-item label="客户经理" prop="gitp.usr.extkey">
liyixun committed
48 49 50 51
            <c-fullbox>
              <c-input
                v-model="model.gitp.usr.extkey"
                maxlength="8"
wangna committed
52
                placeholder="请输入客户经理"
liyixun committed
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
                :disabled="model.gitp.swiftflg == ''"
              ></c-input>
              <template slot="footer">
                <c-button
                  style="margin: 0 10px 0 10px; padding: 0 12px"
                  size="small"
                  type="primary"
                >
                  <span
                    style="
                      font-size: 15px;
                      font-family: '宋体';
                      font-weight: bold;
                    "
                    >i</span
liyixun committed
68
                  >
liyixun committed
69 70 71 72 73 74 75 76
                </c-button>
              </template>
            </c-fullbox>
          </el-form-item>
        </c-col>

        <c-col :span="24" v-if="model.gitp.swiftflg != 'Y'">
          <c-col :span="12">
wangna committed
77
            <el-form-item label="保函币种和金额" prop="gidgrp.cbs.max.cur">
liyixun committed
78 79 80
              <c-select
                v-model="model.gidgrp.cbs.max.cur"
                style="width: 100%"
wangna committed
81
                placeholder="请选择保函币种"
liyixun committed
82 83 84
                :code="codes.gitopn_cur"
              >
              </c-select>
liyixun committed
85 86
            </el-form-item>
          </c-col>
liyixun committed
87 88 89 90 91 92

          <c-col :span="8">
            <el-form-item label-width="5px" prop="gidgrp.cbs.max.amt">
              <c-input
                v-model="model.gidgrp.cbs.max.amt"
                style="width: 80%"
wangna committed
93
                placeholder="请输入保函金额"
liyixun committed
94 95 96 97 98 99 100 101
                @blur="defaultFunction('gidgrp.cbs.opn1.amt')"
                @keyup.enter.native="
                  defaultFunction(
                    'gidgrp.cbs.opn1.amt',
                    model.gidgrp.cbs.opn1.amt
                  )
                "
              ></c-input>
102 103
            </el-form-item>
          </c-col>
liyixun committed
104 105 106
          <c-col :span="4" class="centerLable">
            <c-checkbox disabled v-model="model.gitp.dzbhflg"
              >电子保函标志</c-checkbox
liyixun committed
107
            >
liyixun committed
108 109 110 111 112
          </c-col>
        </c-col>

        <c-col :span="24" v-if="model.gitp.swiftflg == 'Y'">
          <c-col :span="12">
wangna committed
113
            <el-form-item label="保函币种和金额" prop="gidgrp.cbs.max.cur">
liyixun committed
114 115 116
              <c-select
                v-model="model.gidgrp.cbs.max.cur"
                style="width: 100%"
wangna committed
117
                placeholder="请选择保函币种"
liyixun committed
118
                :code="codes.gitopn_cur"
liyixun committed
119
              >
liyixun committed
120 121
              </c-select>
            </el-form-item>
122 123
          </c-col>

liyixun committed
124 125 126 127 128
          <c-col :span="12">
            <el-form-item label-width="5px" prop="gidgrp.cbs.max.amt">
              <c-input
                v-model="model.gidgrp.cbs.max.amt"
                style="width: 100%"
wangna committed
129
                placeholder="请输入保函金额"
liyixun committed
130 131 132 133 134 135 136 137 138 139 140 141 142 143
                @blur="defaultFunction('gidgrp.cbs.opn1.amt')"
                @keyup.enter.native="
                  defaultFunction(
                    'gidgrp.cbs.opn1.amt',
                    model.gidgrp.cbs.opn1.amt
                  )
                "
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>

        <c-col :span="24" v-if="model.gitp.swiftflg == 'Y'">
          <c-col :span="12">
wangna committed
144
            <el-form-item label="保函余额" prop="gidgrp.cbs.opn1.cur">
liyixun committed
145 146 147 148
              <c-input
                disabled
                v-model="model.gidgrp.cbs.opn1.cur"
                style="width: 100%"
wangna committed
149
                placeholder="请输入保函余额"
liyixun committed
150 151 152 153 154
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="8">
            <el-form-item label-width="5px" prop="gidgrp.cbs.opn1.amt">
liyixun committed
155 156
              <c-input
                disabled
157
                v-model="model.gidgrp.cbs.opn1.amt"
liyixun committed
158
                style="width: 80%"
wangna committed
159
                placeholder="请输入"
160
              ></c-input>
liyixun committed
161
            </el-form-item>
162
          </c-col>
liyixun committed
163
          <c-col :span="4" class="centerLable">
wangna committed
164
            <c-checkbox v-model="model.gitp.inc760">传入损失</c-checkbox>
liyixun committed
165 166 167 168 169
          </c-col>
        </c-col>

        <c-col :span="24" v-if="model.gitp.swiftflg != 'Y'">
          <c-col :span="12">
wangna committed
170
            <el-form-item label="保函余额" prop="gidgrp.cbs.opn1.cur">
liyixun committed
171 172 173
              <c-input
                disabled
                v-model="model.gidgrp.cbs.opn1.cur"
liyixun committed
174
                style="width: 100%"
wangna committed
175
                placeholder="请输入保函余额"
liyixun committed
176
              ></c-input>
liyixun committed
177
            </el-form-item>
178
          </c-col>
liyixun committed
179 180 181 182 183
          <c-col :span="12">
            <el-form-item label-width="5px" prop="gidgrp.cbs.opn1.amt">
              <c-input
                disabled
                v-model="model.gidgrp.cbs.opn1.amt"
liyixun committed
184
                style="width: 100%"
wangna committed
185
                placeholder="请输入"
liyixun committed
186
              ></c-input>
liyixun committed
187
            </el-form-item>
188
          </c-col>
liyixun committed
189 190 191 192 193
        </c-col>

        <c-col :span="24">
          <el-form-item
            v-if="model.gitp.swiftflg == 'Y'"
wangna committed
194
            label="接收目的"
liyixun committed
195 196 197 198 199 200
            prop="gidgrp.rec.purposin"
          >
            <c-select
              :disabled="model.gitp.inc760 == ''"
              v-model="model.gidgrp.rec.purposin"
              style="width: 100%"
wangna committed
201
              placeholder="请选择接收目的"
liyixun committed
202 203 204 205 206 207
              :code="codes.purposin"
            >
            </c-select>
          </el-form-item>
        </c-col>

liyixun committed
208 209
        <c-col :span="24" v-if="model.gitp.swiftflg == 'Y'">
          <el-form-item
wangna committed
210
            label="支出目的"
liyixun committed
211 212 213 214 215
            prop="gidgrp.rec.purpos"
          >
            <c-select
              v-model="model.gidgrp.rec.purpos"
              style="width: 100%"
wangna committed
216
              placeholder="请选择支出目的"
liyixun committed
217 218 219 220 221 222
              :code="getValues('gidgrp.rec.purpos')"
            >
            </c-select>
          </el-form-item>
        </c-col>

liyixun committed
223 224 225
        <c-col :span="24">
          <el-form-item
            v-if="model.gitp.swiftflg == ''"
wangna committed
226
            label="保函开立类型"
liyixun committed
227 228 229 230 231
            prop="gidgrp.rec.hndtyp"
          >
            <c-select
              v-model="model.gidgrp.rec.hndtyp"
              style="width: 100%"
wangna committed
232
              placeholder="请选择保函开立类型"
liyixun committed
233 234 235 236 237 238 239 240 241
              :code="codes.hndtyp2"
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item
            v-if="model.gitp.swiftflg == 'N'"
wangna committed
242
            label="保函开立类型"
liyixun committed
243 244 245 246 247
            prop="gidgrp.rec.hndtyp"
          >
            <c-select
              v-model="model.gidgrp.rec.hndtyp"
              style="width: 100%"
wangna committed
248
              placeholder="请选择保函开立类型"
liyixun committed
249
              @change="hndtypChange"
liyixun committed
250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266
            >
              <el-option
                v-for="item in codes.hndtyp8"
                :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
            v-if="
              model.gitp.swiftflg == 'Y' && model.gidgrp.rec.purposin == 'ISCO'
            "
wangna committed
267
            label="保函开立类型"
liyixun committed
268 269 270 271 272
            prop="gidgrp.rec.hndtyp"
          >
            <c-select
              v-model="model.gidgrp.rec.hndtyp"
              style="width: 100%"
wangna committed
273
              placeholder="请选择保函开立类型"
liyixun committed
274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290
            >
              <el-option
                v-for="item in codes.hndtyp1"
                :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
            v-if="
              model.gitp.swiftflg == 'Y' && model.gidgrp.rec.purposin == 'ICCO'
            "
wangna committed
291
            label="保函开立类型"
liyixun committed
292 293 294 295 296
            prop="gidgrp.rec.hndtyp"
          >
            <c-select
              v-model="model.gidgrp.rec.hndtyp"
              style="width: 100%"
wangna committed
297
              placeholder="请选择保函开立类型"
liyixun committed
298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316
            >
              <el-option
                v-for="item in codes.hndtyp1"
                :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
            v-if="
              model.gitp.swiftflg == 'Y' &&
              model.gidgrp.rec.purposin == 'ISSU' &&
              model.gidgrp.rec.purpos == 'ISCO'
            "
wangna committed
317
            label="保函开立类型"
liyixun committed
318 319 320 321 322
            prop="gidgrp.rec.hndtyp"
          >
            <c-select
              v-model="model.gidgrp.rec.hndtyp"
              style="width: 100%"
wangna committed
323
              placeholder="请选择保函开立类型"
liyixun committed
324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342
            >
              <el-option
                v-for="item in codes.hndtyp4"
                :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
            v-if="
              model.gitp.swiftflg == 'Y' &&
              model.gidgrp.rec.purposin == 'ISSU' &&
              model.gidgrp.rec.purpos == 'ISSU'
            "
wangna committed
343
            label="保函开立类型"
liyixun committed
344 345 346 347 348
            prop="gidgrp.rec.hndtyp"
          >
            <c-select
              v-model="model.gidgrp.rec.hndtyp"
              style="width: 100%"
wangna committed
349
              placeholder="请选择保函开立类型"
liyixun committed
350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368
            >
              <el-option
                v-for="item in codes.hndtyp3"
                :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
            v-if="
              model.gitp.swiftflg == 'Y' &&
              model.gidgrp.rec.purposin == 'ISSU' &&
              model.gidgrp.rec.purpos == ''
            "
wangna committed
369
            label="保函开立类型"
liyixun committed
370 371 372 373 374
            prop="gidgrp.rec.hndtyp"
          >
            <c-select
              v-model="model.gidgrp.rec.hndtyp"
              style="width: 100%"
wangna committed
375
              placeholder="请选择保函开立类型"
liyixun committed
376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394
            >
              <el-option
                v-for="item in codes.hndtyp5"
                :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
            v-if="
              model.gitp.swiftflg == 'Y' &&
              model.gidgrp.rec.purposin == 'ISSU' &&
              model.gidgrp.rec.purpos == 'ADVI'
            "
wangna committed
395
            label="保函开立类型"
liyixun committed
396 397 398 399 400
            prop="gidgrp.rec.hndtyp"
          >
            <c-select
              v-model="model.gidgrp.rec.hndtyp"
              style="width: 100%"
wangna committed
401
              placeholder="请选择保函开立类型"
liyixun committed
402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420
            >
              <el-option
                v-for="item in codes.hndtyp6"
                :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
            v-if="
              model.gitp.swiftflg == 'Y' &&
              model.gidgrp.rec.purposin == 'ISSU' &&
              model.gidgrp.rec.purpos == 'ACNF'
            "
wangna committed
421
            label="保函开立类型"
liyixun committed
422 423 424 425 426
            prop="gidgrp.rec.hndtyp"
          >
            <c-select
              v-model="model.gidgrp.rec.hndtyp"
              style="width: 100%"
wangna committed
427
              placeholder="请选择保函开立类型"
liyixun committed
428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446
            >
              <el-option
                v-for="item in codes.hndtyp7"
                :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
            v-if="
              model.gitp.swiftflg == 'Y' &&
              model.gidgrp.rec.purpos == '' &&
              model.gidgrp.rec.purposin == ''
            "
wangna committed
447
            label="保函开立类型"
liyixun committed
448 449 450 451 452
            prop="gidgrp.rec.hndtyp"
          >
            <c-select
              v-model="model.gidgrp.rec.hndtyp"
              style="width: 100%"
wangna committed
453
              placeholder="请选择保函开立类型"
liyixun committed
454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472
            >
              <el-option
                v-for="item in codes.hndtyp2"
                :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
            v-if="
              model.gitp.swiftflg == 'Y' &&
              model.gidgrp.rec.purpos == 'ISSU' &&
              model.gidgrp.rec.purposin == ''
            "
wangna committed
473
            label="保函开立类型"
liyixun committed
474 475 476 477 478
            prop="gidgrp.rec.hndtyp"
          >
            <c-select
              v-model="model.gidgrp.rec.hndtyp"
              style="width: 100%"
wangna committed
479
              placeholder="请选择保函开立类型"
liyixun committed
480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499
            >
              <el-option
                v-for="item in codes.hndtyp3"
                :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
            v-if="
              model.gitp.swiftflg == 'Y' &&
              (model.gidgrp.rec.purpos == 'ISCO' ||
                model.gidgrp.rec.purpos == 'ICCO') &&
              model.gidgrp.rec.purposin == ''
            "
wangna committed
500
            label="保函开立类型"
liyixun committed
501 502 503 504 505
            prop="gidgrp.rec.hndtyp"
          >
            <c-select
              v-model="model.gidgrp.rec.hndtyp"
              style="width: 100%"
wangna committed
506
              placeholder="请选择保函开立类型"
liyixun committed
507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525
            >
              <el-option
                v-for="item in codes.hndtyp4"
                :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
            v-if="
              model.gitp.swiftflg == 'Y' &&
              model.gidgrp.rec.purpos == 'ADVI' &&
              model.gidgrp.rec.purposin == ''
            "
wangna committed
526
            label="保函开立类型"
liyixun committed
527 528 529 530 531
            prop="gidgrp.rec.hndtyp"
          >
            <c-select
              v-model="model.gidgrp.rec.hndtyp"
              style="width: 100%"
wangna committed
532
              placeholder="请选择保函开立类型"
liyixun committed
533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551
            >
              <el-option
                v-for="item in codes.hndtyp6"
                :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
            v-if="
              model.gitp.swiftflg == 'Y' &&
              model.gidgrp.rec.purpos == 'ACNF' &&
              model.gidgrp.rec.purposin == ''
            "
wangna committed
552
            label="保函开立类型"
liyixun committed
553 554 555 556 557
            prop="gidgrp.rec.hndtyp"
          >
            <c-select
              v-model="model.gidgrp.rec.hndtyp"
              style="width: 100%"
wangna committed
558
              placeholder="请选择保函开立类型"
liyixun committed
559 560 561 562 563 564 565 566 567 568 569 570 571
            >
              <el-option
                v-for="item in codes.hndtyp7"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
wangna committed
572
          <el-form-item label="保函种类" prop="gidgrp.rec.gartyp">
liyixun committed
573 574 575
            <c-select
              v-model="model.gidgrp.rec.gartyp"
              style="width: 100%"
wangna committed
576
              placeholder="请选择保函种类"
liyixun committed
577 578 579 580 581 582 583 584 585 586 587
            >
              <el-option
                v-for="item in codes.seagtyp"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>
588

liyixun committed
589
        <c-col :span="24">
590
          <c-col :span="24">
liyixun committed
591
            <el-form-item
liyixun committed
592
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
593
              label="保函形式"
liyixun committed
594
              prop="gidgrp.rec.legfrm"
liyixun committed
595 596
            >
              <c-select
liyixun committed
597
                v-model="model.gidgrp.rec.legfrm"
liyixun committed
598
                style="width: 100%"
wangna committed
599
                placeholder="请选择保函形式"
liyixun committed
600 601
              >
                <el-option
liyixun committed
602
                  v-for="item in codes.legfrm"
liyixun committed
603 604 605 606 607 608 609
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
610
          </c-col>
liyixun committed
611
        </c-col>
612

liyixun committed
613 614 615
        <c-col :span="24">
          <el-form-item
            v-if="model.gitp.swiftflg == 'Y'"
wangna committed
616
            label="需求指示"
liyixun committed
617 618 619 620 621
            prop="gidgrp.rec.demand"
          >
            <c-select
              v-model="model.gidgrp.rec.demand"
              style="width: 100%"
wangna committed
622
              placeholder="请选择需求指示"
liyixun committed
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
            >
              <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
            v-if="model.gitp.swiftflg != 'Y'"
            label="面函标题"
            prop="gitp.lettername"
          >
            <c-input
              v-model="model.gitp.lettername"
              maxlength="60"
              placeholder="请输入面函标题"
            ></c-input>
          </el-form-item>
        </c-col>
        <!-- <c-col :span="4">
                    <span style="font-size: 15px; font-family: '宋体'; font-weight: bold" v-text="model.gitp.oppbnkl"   data-path=".gitp.oppbnkl" ></span>
                </c-col> -->
        <!-- </c-col> -->
        <c-col :span="24">
          <c-col :span="12">
wangna committed
654
            <el-form-item label="申请条款" prop="gidgrp.blk.apprul">
liyixun committed
655
              <c-select
liyixun committed
656
                v-model="model.gidgrp.blk.apprul"
liyixun committed
657
                style="width: 100%"
wangna committed
658
                placeholder="请选择申请条款"
liyixun committed
659 660
              >
                <el-option
liyixun committed
661
                  v-for="item in codes.apprulc1"
liyixun committed
662 663 664 665 666 667 668
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
669
          </c-col>
liyixun committed
670 671 672 673 674 675 676 677 678 679
          <c-col :span="12">
            <el-form-item label-width="5px" prop="gidgrp.blk.apprultxt">
              <c-input
                :disabled="
                  model.gidgrp.blk.apprul == 'URDG' ||
                  model.gidgrp.blk.apprul == 'NONE' ||
                  model.gidgrp.blk.apprul == 'UCPR'
                "
                v-model="model.gidgrp.blk.apprultxt"
                maxlength="35"
wangna committed
680
                placeholder="请输入申请条款"
liyixun committed
681 682 683 684 685 686
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="24">
          <c-col :span="12">
liyixun committed
687
            <el-form-item
liyixun committed
688
              v-if="model.gitp.swiftflg != 'Y'"
wangna committed
689
              label="保函文本语言种类"
liyixun committed
690
              prop="gidgrp.rec.giduil"
liyixun committed
691 692
            >
              <c-select
liyixun committed
693
                v-model="model.gidgrp.rec.giduil"
liyixun committed
694
                style="width: 100%"
wangna committed
695
                placeholder="请选择保函文本语言种类"
liyixun committed
696 697
              >
                <el-option
liyixun committed
698
                  v-for="item in codes.uiltxt1"
liyixun committed
699 700 701 702 703 704 705
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
706
          </c-col>
liyixun committed
707
          <c-col :span="12">
liyixun committed
708
            <el-form-item
liyixun committed
709 710 711
              v-if="model.gitp.swiftflg == 'N'"
              label="核销日期"
              prop="gidgrp.rec.vrfdat"
liyixun committed
712
            >
liyixun committed
713 714 715
              <c-date-picker
                type="date"
                v-model="model.gidgrp.rec.vrfdat"
liyixun committed
716
                style="width: 100%"
liyixun committed
717 718
                placeholder="请选择核销日期"
              ></c-date-picker>
liyixun committed
719 720
            </el-form-item>
          </c-col>
liyixun committed
721
          <c-col :span="12">
liyixun committed
722
            <el-form-item
liyixun committed
723 724 725
              v-if="model.gitp.swiftflg == ''"
              label="核销日期"
              prop="gidgrp.rec.vrfdat"
liyixun committed
726
            >
liyixun committed
727 728 729 730
              <c-date-picker
                disabled
                type="date"
                v-model="model.gidgrp.rec.vrfdat"
731
                style="width: 100%"
liyixun committed
732 733
                placeholder="请选择核销日期"
              ></c-date-picker>
734 735
            </el-form-item>
          </c-col>
liyixun committed
736
        </c-col>
737

liyixun committed
738 739
        <c-col :span="24">
          <el-form-item
liyixun committed
740 741 742 743 744
            v-if="
              model.gitp.swiftflg == 'N' &&
              model.gidgrp.rec.gartyp != '' &&
              model.gidgrp.rec.giduil == ''
            "
wangna committed
745
            label="保函文本格式"
liyixun committed
746
            prop="gidgrp.rec.gtxinr"
liyixun committed
747 748
          >
            <c-select
liyixun committed
749
              v-model="model.gidgrp.rec.gtxinr"
liyixun committed
750
              style="width: 100%"
wangna committed
751
              placeholder="请选择保函文本格式"
liyixun committed
752 753
            >
              <el-option
liyixun committed
754
                v-for="item in codes.gtxinr3"
liyixun committed
755 756 757
                :key="item.value"
                :label="item.label"
                :value="item.value"
758
              >
liyixun committed
759 760 761 762
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>
763

liyixun committed
764 765
        <c-col :span="24">
          <el-form-item
liyixun committed
766 767 768 769 770
            v-if="
              model.gitp.swiftflg == 'N' &&
              model.gidgrp.rec.gartyp != '' &&
              model.gidgrp.rec.giduil == 'EN'
            "
wangna committed
771
            label="保函文本格式"
liyixun committed
772
            prop="gidgrp.rec.gtxinr"
liyixun committed
773 774
          >
            <c-select
liyixun committed
775
              v-model="model.gidgrp.rec.gtxinr"
liyixun committed
776
              style="width: 100%"
wangna committed
777
              placeholder="请选择保函文本格式"
liyixun committed
778 779
            >
              <el-option
liyixun committed
780
                v-for="item in codes.gtxinr"
liyixun committed
781 782 783
                :key="item.value"
                :label="item.label"
                :value="item.value"
784
              >
liyixun committed
785 786 787 788
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>
liyixun committed
789

liyixun committed
790 791
        <c-col :span="24">
          <el-form-item
liyixun committed
792 793 794 795 796 797
            v-if="
              model.gitp.swiftflg == 'N' &&
              model.gidgrp.rec.gartyp != '' &&
              model.gidgrp.rec.giduil == 'CN' &&
              model.gidgrp.rec.hndtyp == ''
            "
wangna committed
798
            label="保函文本格式"
liyixun committed
799
            prop="gidgrp.rec.gtxinr"
liyixun committed
800 801
          >
            <c-select
liyixun committed
802
              v-model="model.gidgrp.rec.gtxinr"
liyixun committed
803
              style="width: 100%"
wangna committed
804
              placeholder="请选择保函文本格式"
liyixun committed
805 806
            >
              <el-option
liyixun committed
807
                v-for="item in codes.gtxinr3"
liyixun committed
808 809 810
                :key="item.value"
                :label="item.label"
                :value="item.value"
811
              >
liyixun committed
812 813 814 815
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>
816

liyixun committed
817 818
        <c-col :span="24">
          <el-form-item
liyixun committed
819 820 821 822 823 824
            v-if="
              model.gitp.swiftflg == 'N' &&
              model.gidgrp.rec.gartyp != '' &&
              model.gidgrp.rec.giduil == 'CN' &&
              model.gidgrp.rec.hndtyp == 'OT'
            "
wangna committed
825
            label="保函文本格式"
liyixun committed
826 827 828 829 830
            prop="gidgrp.rec.gtxinr"
          >
            <c-select
              v-model="model.gidgrp.rec.gtxinr"
              style="width: 100%"
wangna committed
831
              placeholder="请选择保函文本格式"
liyixun committed
832 833 834 835 836 837
            >
              <el-option
                v-for="item in codes.gtxinr3"
                :key="item.value"
                :label="item.label"
                :value="item.value"
liyixun committed
838
              >
liyixun committed
839 840 841 842
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>
843

liyixun committed
844 845 846 847 848
        <c-col :span="24">
          <el-form-item
            v-if="
              model.gitp.swiftflg == 'N' &&
              model.gidgrp.rec.gartyp != '' &&
liyixun committed
849 850
              model.gidgrp.rec.giduil == 'CN' &&
              model.gidgrp.rec.hndtyp == 'OC'
liyixun committed
851
            "
wangna committed
852
            label="保函文本格式"
liyixun committed
853 854 855 856 857
            prop="gidgrp.rec.gtxinr"
          >
            <c-select
              v-model="model.gidgrp.rec.gtxinr"
              style="width: 100%"
wangna committed
858
              placeholder="请选择保函文本格式"
liyixun committed
859 860
            >
              <el-option
liyixun committed
861
                v-for="item in codes.gtxinr1"
liyixun committed
862 863 864
                :key="item.value"
                :label="item.label"
                :value="item.value"
865
              >
liyixun committed
866 867 868 869 870 871 872 873 874 875
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item
            v-if="
              model.gitp.swiftflg == 'N' &&
              model.gidgrp.rec.gartyp != '' &&
liyixun committed
876 877
              model.gidgrp.rec.giduil == 'CN' &&
              model.gidgrp.rec.hndtyp == 'OL'
liyixun committed
878
            "
wangna committed
879
            label="保函文本格式"
liyixun committed
880 881 882 883 884
            prop="gidgrp.rec.gtxinr"
          >
            <c-select
              v-model="model.gidgrp.rec.gtxinr"
              style="width: 100%"
wangna committed
885
              placeholder="请选择保函文本格式"
liyixun committed
886 887
            >
              <el-option
liyixun committed
888
                v-for="item in codes.gtxinr2"
liyixun committed
889 890 891
                :key="item.value"
                :label="item.label"
                :value="item.value"
892
              >
liyixun committed
893 894 895 896 897 898 899
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item
liyixun committed
900
            v-if="model.gitp.swiftflg == 'Y'"
wangna committed
901
            label="保函文本语言种类"
liyixun committed
902
            prop="gidgrp.rec.giduil"
liyixun committed
903 904
          >
            <c-select
liyixun committed
905
              v-model="model.gidgrp.rec.giduil"
liyixun committed
906
              style="width: 100%"
wangna committed
907
              placeholder="请选择保函文本语言种类"
liyixun committed
908 909
            >
              <el-option
liyixun committed
910
                v-for="item in codes.uiltxt2"
liyixun committed
911 912 913
                :key="item.value"
                :label="item.label"
                :value="item.value"
liyixun committed
914
              >
liyixun committed
915 916 917 918
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>
919

liyixun committed
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
        <c-col :span="24">
          <c-col :span="12">
            <el-form-item
              v-if="model.gitp.swiftflg != 'Y'"
              label="特殊保函类型"
              prop="gidgrp.ghd.segtyp"
            >
              <c-select
                disabled
                v-model="model.gidgrp.ghd.segtyp"
                style="width: 100%"
                placeholder="请选择特殊保函类型"
              >
                <el-option
                  v-for="item in codes.segtyp"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="12">
            <el-form-item
              v-if="model.gitp.swiftflg != 'Y'"
              label="分离式保函"
              prop="gidgrp.rec.fenlishi"
            >
              <c-select
                :disabled="
                  model.gidgrp.rec.hndtyp != 'OC' &&
                  model.gidgrp.rec.hndtyp != 'OL'
                "
                v-model="model.gidgrp.rec.fenlishi"
                style="width: 100%"
                placeholder="请选择是否分离式保函"
              >
                <el-option
                  v-for="item in codes.fenlishi2"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>
        </c-col>

liyixun committed
970 971
        <c-col :span="24">
          <el-form-item
liyixun committed
972
            v-if="model.gitp.swiftflg == 'N' && model.gidgrp.rec.gartyp == ''"
wangna committed
973
            label="保函文本格式"
liyixun committed
974 975 976 977 978
            prop="gidgrp.rec.gtxinr"
          >
            <c-select
              v-model="model.gidgrp.rec.gtxinr"
              style="width: 100%"
wangna committed
979
              placeholder="请选择保函文本格式"
liyixun committed
980 981 982 983 984 985 986
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item
liyixun committed
987
            v-if="model.gitp.swiftflg == 'Y' && model.gidgrp.rec.gartyp == ''"
wangna committed
988
            label="保函文本格式"
liyixun committed
989 990 991
            prop="gidgrp.rec.gtxinr"
          >
            <c-select
liyixun committed
992 993 994 995
              :disabled="
                model.gidgrp.rec.purpos == 'ADVI' ||
                model.gidgrp.rec.purpos == 'ACNF'
              "
liyixun committed
996 997
              v-model="model.gidgrp.rec.gtxinr"
              style="width: 100%"
wangna committed
998
              placeholder="请选择保函文本格式"
liyixun committed
999 1000 1001 1002 1003 1004 1005
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item
liyixun committed
1006
            v-if="model.gitp.swiftflg == 'Y' && model.gidgrp.rec.gartyp != ''"
wangna committed
1007
            label="保函文本格式"
liyixun committed
1008 1009 1010
            prop="gidgrp.rec.gtxinr"
          >
            <c-select
liyixun committed
1011 1012 1013 1014
              :disabled="
                model.gidgrp.rec.purpos == 'ADVI' ||
                model.gidgrp.rec.purpos == 'ACNF'
              "
liyixun committed
1015 1016
              v-model="model.gidgrp.rec.gtxinr"
              style="width: 100%"
wangna committed
1017
              placeholder="请选择保函文本格式"
liyixun committed
1018 1019
            >
              <el-option
liyixun committed
1020
                v-for="item in codes.gtxinr3"
liyixun committed
1021 1022 1023
                :key="item.value"
                :label="item.label"
                :value="item.value"
liyixun committed
1024
              >
liyixun committed
1025 1026 1027 1028
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>
liyixun committed
1029

liyixun committed
1030
        <c-col :span="24">
liyixun committed
1031 1032 1033
          <c-col :span="12">
            <el-form-item
              v-if="model.gitp.swiftflg != 'Y'"
wangna committed
1034
              label="客户委托我行日期"
liyixun committed
1035 1036 1037 1038 1039 1040
              prop="gidgrp.rec.orddat"
            >
              <c-date-picker
                type="date"
                v-model="model.gidgrp.rec.orddat"
                style="width: 100%"
wangna committed
1041
                placeholder="请选择客户委托我行日期"
liyixun committed
1042 1043 1044 1045 1046 1047 1048
              ></c-date-picker>
            </el-form-item>
          </c-col>

          <c-col :span="12">
            <el-form-item
              v-if="model.gitp.swiftflg != 'Y'"
wangna committed
1049
              label="保函开立日期"
liyixun committed
1050 1051 1052 1053 1054 1055
              prop="gidgrp.rec.opndat"
            >
              <c-date-picker
                type="date"
                v-model="model.gidgrp.rec.opndat"
                style="width: 100%"
wangna committed
1056
                placeholder="请选择保函开立日期"
liyixun committed
1057 1058 1059
              ></c-date-picker>
            </el-form-item>
          </c-col>
liyixun committed
1060 1061 1062
        </c-col>
        <c-col :span="24">
          <c-col :span="14">
liyixun committed
1063
            <el-form-item
liyixun committed
1064
              v-if="model.gitp.swiftflg == 'N'"
wangna committed
1065
              label="保函效期"
liyixun committed
1066
              prop="gidgrp.rec.expdat"
liyixun committed
1067
            >
1068
              <c-date-picker
liyixun committed
1069
                :disabled="model.gidgrp.rec.expflg == 'X'"
1070
                type="date"
liyixun committed
1071 1072
                v-model="model.gidgrp.rec.expdat"
                style="width: 90%"
wangna committed
1073
                placeholder="请选择保函效期"
1074 1075 1076
              ></c-date-picker>
            </el-form-item>
          </c-col>
liyixun committed
1077 1078 1079 1080 1081 1082
          <c-col
            :span="7"
            v-if="model.gitp.swiftflg == 'N'"
            class="centerLable"
          >
            <c-checkbox v-model="model.gidgrp.rec.expflg"
wangna committed
1083
              >无限额保函</c-checkbox
liyixun committed
1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099
            >
          </c-col>
          <c-col
            :span="3"
            v-if="model.gitp.swiftflg == 'N'"
            class="centerLable"
          >
            <c-button
              size="small"
              type="primary"
              @click="onGitpWbxs"
              disabled
              style="color: white"
            >
              显示文本
            </c-button>
1100 1101
          </c-col>
        </c-col>
liyixun committed
1102 1103 1104

        <c-col :span="24">
          <c-col :span="14">
liyixun committed
1105
            <el-form-item
liyixun committed
1106
              v-if="model.gitp.swiftflg == ''"
wangna committed
1107
              label="保函效期"
liyixun committed
1108
              prop="gidgrp.rec.expdat"
liyixun committed
1109
            >
liyixun committed
1110 1111 1112 1113
              <c-date-picker
                type="date"
                v-model="model.gidgrp.rec.expdat"
                style="width: 90%"
wangna committed
1114
                placeholder="请选择保函效期"
liyixun committed
1115
              ></c-date-picker>
liyixun committed
1116 1117
            </el-form-item>
          </c-col>
liyixun committed
1118 1119
          <c-col :span="7" v-if="model.gitp.swiftflg == ''" class="centerLable">
            <c-checkbox v-model="model.gidgrp.rec.expflg"
wangna committed
1120
              >无限额保函</c-checkbox
liyixun committed
1121 1122
            >
          </c-col>
liyixun committed
1123 1124 1125 1126 1127 1128 1129
          <c-col :span="3" v-if="model.gitp.swiftflg == ''" class="centerLable">
            <c-button
              size="small"
              type="primary"
              @click="onGitpWbxs"
              disabled
              style="color: white"
liyixun committed
1130
            >
liyixun committed
1131 1132
              显示文本
            </c-button>
liyixun committed
1133
          </c-col>
liyixun committed
1134 1135 1136 1137
        </c-col>

        <c-col :span="24">
          <c-col :span="14">
liyixun committed
1138
            <el-form-item
liyixun committed
1139
              v-if="model.gitp.swiftflg == 'N'"
wangna committed
1140
              label="我行责任截至日"
liyixun committed
1141
              prop="gidgrp.rec.liadat"
liyixun committed
1142
            >
liyixun committed
1143
              <c-date-picker
liyixun committed
1144
                :disabled="
liyixun committed
1145 1146
                  model.gidgrp.rec.hndtyp != 'OC' ||
                  model.gidgrp.rec.liaflg == 'X'
liyixun committed
1147
                "
liyixun committed
1148 1149 1150
                type="date"
                v-model="model.gidgrp.rec.liadat"
                style="width: 90%"
wangna committed
1151
                placeholder="请选择我行责任截至日"
liyixun committed
1152
              ></c-date-picker>
liyixun committed
1153 1154
            </el-form-item>
          </c-col>
liyixun committed
1155 1156 1157 1158 1159 1160 1161 1162 1163 1164
          <c-col
            :span="7"
            v-if="model.gitp.swiftflg == 'N'"
            class="centerLable"
          >
            <c-checkbox
              v-model="model.gidgrp.rec.liaflg"
              :disabled="
                model.gidgrp.rec.hndtyp != 'OC' ||
                model.gidgrp.rec.expflg == 'X'
liyixun committed
1165
              "
wangna committed
1166
              >我行责任敞口</c-checkbox
liyixun committed
1167 1168
            >
          </c-col>
liyixun committed
1169 1170 1171 1172 1173 1174 1175 1176
          <c-col
            :span="3"
            v-if="model.gitp.swiftflg == 'N'"
            class="centerLable"
          >
            <c-button size="small" type="primary" @click="onGitpYptxy" disabled>
              协议签署
            </c-button>
liyixun committed
1177
          </c-col>
liyixun committed
1178 1179 1180 1181
        </c-col>

        <c-col :span="24">
          <c-col :span="14">
liyixun committed
1182
            <el-form-item
liyixun committed
1183
              v-if="model.gitp.swiftflg == ''"
wangna committed
1184
              label="我行责任截至日"
liyixun committed
1185
              prop="gidgrp.rec.liadat"
liyixun committed
1186
            >
liyixun committed
1187 1188 1189 1190
              <c-date-picker
                type="date"
                v-model="model.gidgrp.rec.liadat"
                style="width: 90%"
wangna committed
1191
                placeholder="请选择我行责任截至日"
liyixun committed
1192
              ></c-date-picker>
liyixun committed
1193 1194
            </el-form-item>
          </c-col>
liyixun committed
1195 1196
          <c-col :span="7" v-if="model.gitp.swiftflg == ''" class="centerLable">
            <c-checkbox v-model="model.gidgrp.rec.liaflg"
wangna committed
1197
              >我行责任敞口</c-checkbox
liyixun committed
1198
            >
liyixun committed
1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215
          </c-col>
          <c-col :span="3" v-if="model.gitp.swiftflg == ''" class="centerLable">
            <c-button size="small" type="primary" @click="onGitpYptxy" 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
              type="date"
              v-model="model.gidgrp.rec.inudat"
              style="width: 100%"
wangna committed
1216
              placeholder="请选择保函生效日"
liyixun committed
1217 1218 1219 1220 1221 1222
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item
            v-if="model.gitp.swiftflg != 'Y'"
wangna committed
1223
            label="抵押标志"
liyixun committed
1224 1225 1226 1227 1228
            prop="gidgrp.rec.guaflg"
          >
            <c-select
              v-model="model.gidgrp.rec.guaflg"
              style="width: 100%"
wangna committed
1229
              placeholder="请选择抵押标志"
liyixun committed
1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241
            >
              <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 :span="24">
liyixun committed
1242 1243 1244 1245 1246
          <c-col :span="12">
            <el-form-item
              v-if="model.gitp.swiftflg != 'Y'"
              label="被保证人"
              prop="gidgrp.gidcxm.warran"
liyixun committed
1247
            >
liyixun committed
1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279
              <c-input
                :disabled="
                  model.gidgrp.rec.hndtyp != 'OT' &&
                  model.gidgrp.rec.fenlishi == ''
                "
                v-model="model.gidgrp.gidcxm.warran"
                maxlength="40"
                placeholder="请输入被保证人"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="12">
            <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>
liyixun committed
1280 1281 1282 1283 1284 1285 1286
        </c-col>
      </c-col>
      <!-- ============右边================= -->
      <c-col :span="11" :offset="1">
        <c-col :span="24">
          <el-form-item
            v-if="model.gitp.swiftflg != 'Y'"
wangna committed
1287
            label="简略信息"
liyixun committed
1288 1289 1290 1291 1292
            prop="gidgrp.rec.nam"
          >
            <c-input
              v-model="model.gidgrp.rec.nam"
              maxlength="40"
wangna committed
1293
              placeholder="请输入简略信息"
liyixun committed
1294 1295 1296 1297 1298 1299 1300
              :disabled="model.gitp.swiftflg == ''"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item
            v-if="model.gitp.swiftflg != 'Y'"
wangna committed
1301
            label="申请人参考号"
liyixun committed
1302 1303 1304 1305 1306 1307
            prop="gidgrp.apl.pts.ref"
          >
            <c-input
              :disabled="model.gidgrp.ghd.segtyp == '02'"
              v-model="model.gidgrp.apl.pts.ref"
              maxlength="16"
wangna committed
1308
              placeholder="请输入申请人参考号"
liyixun committed
1309 1310 1311 1312 1313 1314
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item
            v-if="model.gitp.swiftflg != 'Y'"
wangna committed
1315
            label="申请人"
liyixun committed
1316 1317 1318 1319 1320 1321
            prop="gidgrp.apl.pts.extkey"
          >
            <c-fullbox>
              <c-input
                v-model="model.gidgrp.apl.pts.extkey"
                maxlength="16"
wangna committed
1322
                placeholder="请输入"
liyixun committed
1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341
                @keyup.enter.native="
                  showGridPromptDialog(`gidgrp.apl.pts.extkey`)
                "
              >
              </c-input>
              <template slot="footer">
                <c-button
                  style="margin: 0 10px 0 10px; padding: 0 12px"
                  size="small"
                  type="primary"
                >
                  <span style="font-family: '宋体'; font-weight: bold">i</span>
                </c-button>
                <c-button
                  :disabled="model.gidgrp.rec.hndtyp != 'OT'"
                  size="small"
                  type="primary"
                  @click="onAplpDet"
                >
wangna committed
1342
                  详情
liyixun committed
1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357
                </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="
                model.gidgrp.rec.hndtyp != 'OT' ||
                model.gidgrp.apl.pts.adrblk != ''
liyixun committed
1358
              "
liyixun committed
1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375
              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.gidgrp.rec.hndtyp == 'OL' ||
                model.gidgrp.rec.hndtyp == '') &&
              model.gitp.swiftflg != 'Y'
            "
wangna committed
1376
            label="通知行或收报行参考号"
liyixun committed
1377 1378 1379 1380 1381
            prop="gidgrp.adv.pts.ref"
          >
            <c-input
              v-model="model.gidgrp.adv.pts.ref"
              maxlength="16"
wangna committed
1382
              placeholder="请输入通知行或收报行参考号"
liyixun committed
1383 1384 1385 1386 1387 1388 1389 1390 1391 1392
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item
            v-if="
              (model.gidgrp.rec.hndtyp == 'OL' ||
                model.gidgrp.rec.hndtyp == '') &&
              model.gitp.swiftflg != 'Y'
            "
wangna committed
1393
            label="通知行或收报行(即转开行)"
liyixun committed
1394 1395 1396
            prop="gidgrp.adv.pts.extkey"
          >
            <c-fullbox>
liyixun committed
1397
              <c-input
liyixun committed
1398 1399
                v-model="model.gidgrp.adv.pts.extkey"
                maxlength="16"
wangna committed
1400
                placeholder="请输入"
liyixun committed
1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414
                @keyup.enter.native="
                  showGridPromptDialog(`gidgrp.adv.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 size="small" type="primary" @click="onAdvpDet">
wangna committed
1415
                  详情
liyixun committed
1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449
                </c-button>
              </template>
            </c-fullbox>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item
            v-if="
              (model.gidgrp.rec.hndtyp == 'OL' ||
                model.gidgrp.rec.hndtyp == '') &&
              model.gitp.swiftflg != 'Y'
            "
            label="地址名称"
            prop="gidgrp.adv.pts.adrblk"
          >
            <c-input
              :disabled="model.gidgrp.adv.pts.adrblk != ''"
              rows="4"
              type="textarea"
              v-model="model.gidgrp.adv.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.gidgrp.rec.hndtyp == 'OC' ||
                model.gidgrp.rec.hndtyp == 'OT') &&
              model.gitp.swiftflg != 'Y'
            "
wangna committed
1450
            label="开证行"
liyixun committed
1451 1452 1453 1454 1455
            prop="gidgrp.iss.pts.ref"
          >
            <c-input
              v-model="model.gidgrp.iss.pts.ref"
              maxlength="16"
wangna committed
1456
              placeholder="请输入开证行"
liyixun committed
1457 1458 1459 1460 1461 1462 1463 1464 1465 1466
            ></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'
            "
wangna committed
1467
            label="开证行"
liyixun committed
1468 1469 1470 1471 1472 1473
            prop="gidgrp.iss.pts.extkey"
          >
            <c-fullbox>
              <c-input
                v-model="model.gidgrp.iss.pts.extkey"
                maxlength="16"
wangna committed
1474
                placeholder="请输入"
liyixun committed
1475 1476 1477
                @keyup.enter.native="
                  showGridPromptDialog(`gidgrp.iss.pts.extkey`)
                "
liyixun committed
1478
              ></c-input>
liyixun committed
1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492
              <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"
                >
wangna committed
1493
                  详情
liyixun committed
1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519
                </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>
liyixun committed
1520

liyixun committed
1521 1522 1523
        <c-col :span="24">
          <el-form-item
            v-if="model.gitp.swiftflg != 'Y'"
wangna committed
1524
            label="受益人参考号"
liyixun committed
1525 1526 1527 1528 1529
            prop="gidgrp.ben.pts.ref"
          >
            <c-input
              v-model="model.gidgrp.ben.pts.ref"
              maxlength="16"
wangna committed
1530
              placeholder="请输入受益人参考号"
liyixun committed
1531 1532 1533 1534 1535 1536
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item
            v-if="model.gitp.swiftflg != 'Y'"
wangna committed
1537
            label="受益人"
liyixun committed
1538 1539 1540
            prop="gidgrp.ben.pts.extkey"
          >
            <c-fullbox>
liyixun committed
1541
              <c-input
liyixun committed
1542
                v-model="model.gidgrp.ben.pts.extkey"
liyixun committed
1543
                maxlength="16"
wangna committed
1544
                placeholder="请输入"
liyixun committed
1545 1546 1547
                @keyup.enter.native="
                  showGridPromptDialog(`gidgrp.ben.pts.extkey`)
                "
liyixun committed
1548
              ></c-input>
liyixun committed
1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562
              <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"
                >
wangna committed
1563
                  详情
liyixun committed
1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588
                </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"
              v-model="model.gidgrp.ben.pts.adrblk"
              maxlength="140"
              show-word-limit
              placeholder="请输入地址名称"
            ></c-input>
          </el-form-item>
        </c-col>
liyixun committed
1589

liyixun committed
1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610
        <c-col :span="24">
          <el-form-item
            v-if="model.gitp.swiftflg != 'Y'"
            label="是否对外担保"
            prop="gidgrp.rec.fingua"
          >
            <c-select
              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>
liyixun committed
1611 1612 1613 1614
        <c-col
          :span="24"
          v-if="model.gidgrp.cbs.max.cur == 'CNY' && model.gitp.swiftflg != 'Y'"
        >
liyixun committed
1615
          <c-col :span="20">
liyixun committed
1616
            <el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
liyixun committed
1617
              <c-select
liyixun committed
1618
                :disabled="
liyixun committed
1619 1620
                  model.gidgrp.rec.fingua == 'N' ||
                  model.gidgrp.rec.fingua == ''
liyixun committed
1621
                "
liyixun committed
1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633
                v-model="model.gidgrp.rec.cfaguatyp"
                style="width: 90%"
                placeholder="请选择对外担保类型"
              >
                <el-option
                  v-for="item in codes.cfaguatyp"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
liyixun committed
1634 1635
            </el-form-item>
          </c-col>
liyixun committed
1636
          <c-col :span="4" class="centerLable">
liyixun committed
1637 1638 1639 1640 1641 1642 1643
            <c-checkbox
              label="跨境人民币保函"
              disabled
              v-model="model.gidgrp.rec.cmtflg"
              >跨境人民币保函</c-checkbox
            >
          </c-col>
liyixun committed
1644
        </c-col>
liyixun committed
1645

liyixun committed
1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657
        <c-col
          :span="24"
          v-if="model.gitp.swiftflg != 'Y' && model.gidgrp.cbs.max.cur != 'CNY'"
        >
          <el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
            <c-select
              :disabled="
                model.gidgrp.rec.fingua == 'N' || model.gidgrp.rec.fingua == ''
              "
              v-model="model.gidgrp.rec.cfaguatyp"
              style="width: 100%"
              placeholder="请选择对外担保类型"
liyixun committed
1658
            >
liyixun committed
1659 1660 1661 1662 1663 1664 1665 1666 1667 1668
              <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>
liyixun committed
1669

liyixun committed
1670 1671 1672
        <c-col :span="24">
          <el-form-item
            v-if="model.gitp.swiftflg == 'Y'"
wangna committed
1673
            label="客户委托我行日期"
liyixun committed
1674 1675 1676 1677 1678 1679
            prop="gidgrp.rec.orddat"
          >
            <c-date-picker
              type="date"
              v-model="model.gidgrp.rec.orddat"
              style="width: 100%"
wangna committed
1680
              placeholder="请选择客户委托我行日期"
liyixun committed
1681 1682 1683 1684 1685 1686 1687
            ></c-date-picker>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item
            v-if="model.gitp.swiftflg == 'Y'"
wangna committed
1688
            label="生效日期"
liyixun committed
1689 1690 1691 1692 1693 1694
            prop="gidgrp.rec.opndat"
          >
            <c-date-picker
              type="date"
              v-model="model.gidgrp.rec.opndat"
              style="width: 100%"
wangna committed
1695
              placeholder="请选择生效日期"
liyixun committed
1696 1697 1698 1699 1700 1701 1702
            ></c-date-picker>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item
            v-if="model.gitp.swiftflg == 'Y'"
wangna committed
1703
            label="到期类型"
liyixun committed
1704 1705 1706 1707 1708
            prop="gidgrp.rec.exptyp"
          >
            <c-select
              v-model="model.gidgrp.rec.exptyp"
              style="width: 100%"
wangna committed
1709
              placeholder="请选择到期类型"
liyixun committed
1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722
            >
              <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">
liyixun committed
1723
            <el-form-item
liyixun committed
1724
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
1725
              label="保函效期"
liyixun committed
1726
              prop="gidgrp.rec.expdat"
liyixun committed
1727
            >
1728
              <c-date-picker
liyixun committed
1729
                :disabled="model.gidgrp.rec.exptyp == 'OPEN'"
1730
                type="date"
liyixun committed
1731 1732
                v-model="model.gidgrp.rec.expdat"
                style="width: 90%"
wangna committed
1733
                placeholder="请选择保函效期"
1734 1735 1736
              ></c-date-picker>
            </el-form-item>
          </c-col>
liyixun committed
1737 1738 1739 1740 1741 1742
          <c-col
            :span="4"
            v-if="model.gitp.swiftflg == 'Y'"
            class="centerLable"
          >
            <c-checkbox disabled v-model="model.gidgrp.rec.expflg"
wangna committed
1743
              >保函效期敞口</c-checkbox
liyixun committed
1744 1745 1746
            >
          </c-col>
        </c-col>
liyixun committed
1747

liyixun committed
1748 1749 1750 1751
        <c-col :span="24">
          <c-col :span="20">
            <c-form-item
              v-if="model.gitp.swiftflg == 'Y' && model.gitp.exptxtmodflg == ''"
wangna committed
1752
              label="到期条件"
liyixun committed
1753
              prop="gidgrp.blk.exptxt"
liyixun committed
1754
            >
liyixun committed
1755 1756 1757 1758 1759 1760 1761
              <c-input
                type="textarea"
                rows="4"
                disabled
                v-model="model.gidgrp.blk.exptxt"
                maxlength="780"
                show-word-limit
wangna committed
1762
                placeholder="请输入到期条件"
liyixun committed
1763 1764 1765 1766 1767 1768
              ></c-input>
            </c-form-item>
            <c-form-item
              v-if="
                model.gitp.swiftflg == 'Y' && model.gitp.exptxtmodflg == 'X'
              "
wangna committed
1769
              label="到期条件"
liyixun committed
1770 1771 1772 1773 1774 1775 1776 1777 1778
              prop="gidgrp.blk.atxexptxt"
            >
              <c-input
                type="textarea"
                rows="4"
                v-model="model.gidgrp.blk.atxexptxt"
                maxlength="780"
                @blur="atxexpBlur"
                show-word-limit
wangna committed
1779
                placeholder="请输入到期条件"
liyixun committed
1780 1781
              ></c-input>
            </c-form-item>
1782
          </c-col>
liyixun committed
1783 1784
          <c-col :span="4">
            <c-checkbox
liyixun committed
1785
              v-if="model.gitp.swiftflg == 'Y'"
liyixun committed
1786 1787 1788 1789 1790 1791 1792
              v-model="model.gitp.exptxtmodflg"
              :disabled="
                model.gidgrp.rec.exptyp == 'FIXD' ||
                model.gidgrp.rec.exptyp == 'OPEN' ||
                model.gidgrp.rec.exptyp == ''
              "
              style="margin: 0 0 0 10px"
wangna committed
1793
              >是否手工修改保函文本</c-checkbox
liyixun committed
1794
            >
liyixun committed
1795 1796 1797 1798 1799 1800 1801 1802
            <c-button
              v-if="model.gitp.swiftflg == 'Y'"
              disabled
              size="small"
              type="primary"
              style="margin: 5px 0 0 10px"
              @click="onGitpButdifexptxt"
            >
wangna committed
1803
              查看系统文本
liyixun committed
1804 1805 1806 1807 1808 1809 1810 1811 1812
            </c-button>
            <c-button
              v-if="model.gitp.swiftflg == 'Y'"
              disabled
              size="small"
              type="primary"
              style="margin: 5px 0 0 10px"
              @click="onGitpButdifhisexptxt"
            >
wangna committed
1813
              查看历史文本
liyixun committed
1814
            </c-button>
liyixun committed
1815
          </c-col>
liyixun committed
1816
        </c-col>
liyixun committed
1817

liyixun committed
1818 1819 1820
        <c-col :span="24">
          <el-form-item
            v-if="model.gitp.swiftflg == 'Y'"
wangna committed
1821
            label="责任类型 "
liyixun committed
1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833
            prop="gidgrp.rec.liatypc"
          >
            <c-select
              :disabled="
                !(
                  model.gidgrp.rec.hndtyp == 'OC' ||
                  model.gidgrp.rec.purpos == 'ISCO' ||
                  model.gidgrp.rec.purpos == 'ICCO'
                )
              "
              v-model="model.gidgrp.rec.liatypc"
              style="width: 100%"
wangna committed
1834
              placeholder="请选择责任类型 "
liyixun committed
1835 1836 1837 1838 1839 1840
            >
              <el-option
                v-for="item in codes.liatypc"
                :key="item.value"
                :label="item.label"
                :value="item.value"
liyixun committed
1841
              >
liyixun committed
1842 1843 1844 1845
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>
liyixun committed
1846

liyixun committed
1847 1848
        <c-col :span="24">
          <c-col :span="20">
liyixun committed
1849 1850
            <el-form-item
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
1851
              label="我行责任截至日"
liyixun committed
1852
              prop="gidgrp.rec.liadat"
liyixun committed
1853
            >
liyixun committed
1854
              <c-date-picker
liyixun committed
1855
                :disabled="
liyixun committed
1856 1857
                  model.gidgrp.rec.liatypc == 'OPEN' ||
                  model.gidgrp.rec.liatypc == ''
liyixun committed
1858
                "
liyixun committed
1859 1860 1861
                type="date"
                v-model="model.gidgrp.rec.liadat"
                style="width: 90%"
wangna committed
1862
                placeholder="请选择我行责任截至日"
liyixun committed
1863
              ></c-date-picker>
liyixun committed
1864 1865
            </el-form-item>
          </c-col>
liyixun committed
1866 1867 1868 1869 1870 1871
          <c-col
            :span="4"
            v-if="model.gitp.swiftflg == 'Y'"
            class="centerLable"
          >
            <c-checkbox disabled v-model="model.gidgrp.rec.liaflg"
wangna committed
1872
              >我行责任敞口</c-checkbox
liyixun committed
1873 1874
            >
          </c-col>
liyixun committed
1875
        </c-col>
1876

liyixun committed
1877 1878 1879 1880 1881 1882
        <c-col :span="24">
          <c-col :span="20">
            <el-form-item
              v-if="
                model.gitp.swiftflg == 'Y' && model.gitp.liatxtcmodflg == ''
              "
wangna committed
1883
              label="责任状况"
liyixun committed
1884 1885 1886 1887
              prop="gidgrp.blk.liatxtc"
            >
              <c-input
                type="textarea"
liyixun committed
1888
                disabled
liyixun committed
1889 1890 1891 1892
                rows="4"
                v-model="model.gidgrp.blk.liatxtc"
                maxlength="780"
                show-word-limit
wangna committed
1893
                placeholder="请输入责任状况"
liyixun committed
1894 1895 1896 1897 1898 1899
              ></c-input>
            </el-form-item>
            <el-form-item
              v-if="
                model.gitp.swiftflg == 'Y' && model.gitp.liatxtcmodflg == 'X'
              "
wangna committed
1900
              label="责任状况"
liyixun committed
1901 1902 1903 1904 1905 1906 1907 1908
              prop="gidgrp.blk.atxliatxtc"
            >
              <c-input
                type="textarea"
                rows="4"
                v-model="model.gidgrp.blk.atxliatxtc"
                maxlength="780"
                show-word-limit
wangna committed
1909
                placeholder="请输入责任状况"
liyixun committed
1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924
                @blur="atxliatxtcBlur"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="4">
            <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"
              style="margin: 0 0 0 10px"
              @change="liamodflgChange"
wangna committed
1925
              >是否手工修改保函文本</c-checkbox
liyixun committed
1926 1927 1928 1929 1930 1931 1932 1933 1934
            >
            <c-button
              v-if="model.gitp.swiftflg == 'Y'"
              disabled
              size="small"
              type="primary"
              style="margin: 5px 0 0 10px"
              @click="onGitpButdifliatxtc"
            >
wangna committed
1935
              查看系统文本
liyixun committed
1936 1937 1938 1939 1940 1941 1942 1943 1944
            </c-button>
            <c-button
              v-if="model.gitp.swiftflg == 'Y'"
              disabled
              size="small"
              type="primary"
              style="margin: 5px 0 0 10px"
              @click="onGitpButdifhisliatxtc"
            >
wangna committed
1945
              查看历史文本
liyixun committed
1946
            </c-button>
1947 1948 1949
          </c-col>
        </c-col>
      </c-col>
liyixun committed
1950 1951
    </c-col>
    <!-- </c-row> -->
liyixun committed
1952
  </div>
1953 1954
</template>
<script>
liyixun committed
1955
import Api from "~/service/Api";
1956
import commonProcess from "~/mixin/commonProcess";
liyixun committed
1957 1958
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
1959
import Ptap from "~/views/Public/Ptap";
liyixun committed
1960
import Utils from "~/utils";
1961 1962

export default {
liyixun committed
1963 1964 1965 1966 1967 1968 1969 1970 1971 1972
  components: { "c-ptap": Ptap },
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  computed: {
    flag() {
      return this.model.gidgrp.apl.pts.extkey == "";
1973
    },
1974
  },
liyixun committed
1975 1976 1977 1978 1979 1980 1981 1982 1983
  watch: {
    "model.gidgrp.rec.expflg": function () {
      if (
        this.model.gidgrp.rec.expflg == "X" &&
        this.model.gidgrp.rec.hndtyp == "OC"
      ) {
        this.model.gidgrp.rec.liaflg = "X";
      }
    },
panziyi committed
1984 1985 1986 1987 1988
    "model.gidgrp.rec.gartyp": function() {
    if(this.model.gidgrp.rec.gartyp=='1'){
      this.model.gidgrp.rec.gtxinr="<NILTXT>"
    }
  }
1989
  },
liyixun committed
1990 1991 1992 1993 1994 1995
  methods: {
    ...Event,
    onSeainf(data) {
      this.$emit("onSeainf", data);
    },
    valueChange() {
1996
      if (this.onlySearch) return;
1997
    },
liyixun committed
1998 1999 2000
    async atxexpBlur() {
      let rtnmsg = await this.executeRule("gidgrp.blk.atxexptxt");
      if (rtnmsg.respCode == SUCCESS) {
2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015
        Utils.copyValueFromVO(this.model, rtnmsg.data);
      }
    },

    async atxliatxtcBlur() {
      let rtnmsg = await this.executeRule("gidgrp.blk.atxliatxtc");
      if (rtnmsg.respCode == SUCCESS) {
        Utils.copyValueFromVO(this.model, rtnmsg.data);
      }
    },

    async liamodflgChange() {
      let rtnmsg = await this.executeRule("gitp.liatxtcmodflg");
      if (rtnmsg.respCode == SUCCESS) {
        Utils.copyValueFromVO(this.model, rtnmsg.data);
liyixun committed
2016
      }
2017
    },
liyixun committed
2018 2019 2020 2021 2022 2023 2024

    async hndtypChange() {
      let rtnmsg = await this.executeRule("gidgrp.rec.hndtyp");
      if (rtnmsg.respCode == SUCCESS) {
        Utils.copyValueFromVO(this.model, rtnmsg.data);
      }
    },
liyixun committed
2025 2026 2027
  },
  created: function () {},
};
2028 2029 2030
</script>
<style>
</style>