Ameps20.vue 30.4 KB
Newer Older
liyixun committed
1
<template>
huangxin committed
2
  <div class="eibs">
3 4
    <!-- ============左边================= -->
<c-col :span="12" style="padding-right: 20px;">
liyixun committed
5 6 7
          <c-col :span="24">
            <c-form-item
              v-if="model.gitp.swiftflg == 'N'"
wangna committed
8
              label="保函编号"
liyixun committed
9 10 11 12 13 14
              prop="gidgrp.rec.ownref"
            >
              <c-input
                disabled
                v-model="model.gidgrp.rec.ownref"
                maxlength="16"
wangna committed
15
                placeholder="请输入保函编号"
liyixun committed
16 17 18 19 20 21 22
              ></c-input>
            </c-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'N'"
wangna committed
23
              label="修改日期"
liyixun committed
24 25 26 27 28 29
              prop="trnmod.swiadd.amedat"
            >
              <c-date-picker
                type="date"
                v-model="model.trnmod.swiadd.amedat"
                style="width: 100%"
wangna committed
30
                placeholder="请选择修改日期"
liyixun committed
31 32 33 34 35 36 37
              ></c-date-picker>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'N'"
wangna committed
38
              label="申请修改日期"
liyixun committed
39 40 41 42 43 44
              prop="gitamep.orddat"
            >
              <c-date-picker
                type="date"
                v-model="model.gitamep.orddat"
                style="width: 100%"
wangna committed
45
                placeholder="请选择申请修改日期"
liyixun committed
46 47 48 49 50
              ></c-date-picker>
            </el-form-item>
          </c-col>

          <c-col :span="24">
liyixun committed
51
            <c-col :span="12">
liyixun committed
52 53
              <c-form-item
                v-if="model.gitp.swiftflg == 'N'"
wangna committed
54
                label="原保函金额"
liyixun committed
55 56 57 58 59 60
                prop="oldgidgrp.cbs.max.cur"
              >
                <c-input
                  disabled
                  v-model="model.oldgidgrp.cbs.max.cur"
                  maxlength="3"
wangna committed
61
                  placeholder="请输入原保函金额"
liyixun committed
62 63 64 65 66 67 68 69 70 71 72 73
                ></c-input>
              </c-form-item>
            </c-col>
            <c-col :span="12">
              <c-form-item
                v-if="model.gitp.swiftflg == 'N'"
                label-width="5px"
                prop="oldgidgrp.cbs.max.amt"
              >
                <c-input
                  disabled
                  v-model="model.oldgidgrp.cbs.max.amt"
wangna committed
74
                  placeholder="请输入"
liyixun committed
75 76 77 78
                ></c-input>
              </c-form-item>
            </c-col>
          </c-col>
liyixun committed
79

liyixun committed
80 81 82 83
          <c-col :span="24">
            <c-col :span="12">
              <c-form-item
                v-if="model.gitp.swiftflg == 'N'"
wangna committed
84
                label="修改金额"
liyixun committed
85 86 87 88 89 90
                prop="trnmod.swiadd.amecur"
              >
                <c-input
                  disabled
                  v-model="model.trnmod.swiadd.amecur"
                  maxlength="3"
wangna committed
91
                  placeholder="请输入修改金额"
liyixun committed
92 93 94 95 96 97 98 99 100 101 102
                ></c-input>
              </c-form-item>
            </c-col>
            <c-col :span="12">
              <c-form-item
                v-if="model.gitp.swiftflg == 'N'"
                label-width="5px"
                prop="trnmod.swiadd.ameamt"
              >
                <c-input
                  v-model="model.trnmod.swiadd.ameamt"
wangna committed
103
                  placeholder="请输入"
liyixun committed
104
                  @blur="ameamtBlur"
liyixun committed
105 106 107 108 109 110
                  @keyup.enter.native="
                  defaultFunction(
                    'trnmod.swiadd.newamt',
                    model.trnmod.swiadd.newamt
                  )
                "
liyixun committed
111 112 113 114 115 116 117 118 119
                ></c-input>
              </c-form-item>
            </c-col>
          </c-col>

          <c-col :span="24">
            <c-col :span="12">
              <c-form-item
                v-if="model.gitp.swiftflg == 'N'"
wangna committed
120
                label="保函币种和金额"
liyixun committed
121 122 123 124 125 126
                prop="trnmod.swiadd.newcur"
              >
                <c-input
                  disabled
                  v-model="model.trnmod.swiadd.newcur"
                  maxlength="3"
wangna committed
127
                  placeholder="请选择保函金额"
liyixun committed
128 129 130 131 132 133 134 135 136 137 138
                ></c-input>
              </c-form-item>
            </c-col>
            <c-col :span="12">
              <c-form-item
                v-if="model.gitp.swiftflg == 'N'"
                label-width="5px"
                prop="trnmod.swiadd.newamt"
              >
                <c-input
                  v-model="model.trnmod.swiadd.newamt"
wangna committed
139
                  placeholder="请输入"
liyixun committed
140
                  @blur="newamtBlur"
liyixun committed
141 142 143 144 145 146
                  @keyup.enter.native="
                  eventFunction(
                    'trnmod.swiadd.newamt',
                    model.trnmod.swiadd.newamt
                  )
                "
liyixun committed
147 148 149 150 151 152 153 154 155
                ></c-input>
              </c-form-item>
            </c-col>
          </c-col>

          <c-col :span="24">
            <c-col :span="12">
              <c-form-item
                v-if="model.gitp.swiftflg == 'N'"
wangna committed
156
                label="币种"
liyixun committed
157 158 159 160 161 162
                prop="gidgrp.cbs.max2.cur"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.cbs.max2.cur"
                  maxlength="3"
wangna committed
163
                  placeholder="请输入币种"
liyixun committed
164 165 166
                ></c-input>
              </c-form-item>
            </c-col>
liyixun committed
167

liyixun committed
168 169 170 171 172 173 174 175 176
            <c-col :span="12">
              <c-form-item
                v-if="model.gitp.swiftflg == 'N'"
                label-width="5px"
                prop="trnmod.swiadd.addamt"
              >
                <c-input
                  disabled
                  v-model="model.trnmod.swiadd.addamt"
wangna committed
177
                  placeholder="请输入"
liyixun committed
178 179 180 181 182 183 184 185
                ></c-input>
              </c-form-item>
            </c-col>
          </c-col>

          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'N'"
wangna committed
186
              label="保函修改的收件人"
liyixun committed
187 188 189 190 191 192
              prop="gitamep.ramrol"
            >
              <c-select
                v-model="model.gitamep.ramrol"
                :disabled="model.trnmod.swiadd.amemsgdonflg == ''"
                style="width: 100%"
wangna committed
193
                placeholder="请输入保函修改的收件人"
liyixun committed
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208
              >
                <el-option
                  v-for="item in codes.ramrol"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <c-form-item
              v-if="model.gitp.swiftflg == 'N'"
wangna committed
209
              label="承保金额"
liyixun committed
210 211 212 213 214 215 216
              prop="trnmod.swiadd.addamtcov"
            >
              <c-input
                type="textarea"
                v-model="model.trnmod.swiadd.addamtcov"
                maxlength="35"
                show-word-limit
wangna committed
217
                placeholder="请输入承保金额"
liyixun committed
218 219 220 221 222 223 224
              ></c-input>
            </c-form-item>
          </c-col>

          <c-col :span="24">
            <c-form-item
              v-if="model.gitp.swiftflg == 'N'"
wangna committed
225
              label="修改内容 :77C:"
liyixun committed
226 227 228 229 230 231
              prop="gitamep.ametxt"
            >
              <c-input
                disabled
                type="textarea"
                v-model="model.gitamep.ametxt"
liyixun committed
232
                maxlength="32500"
liyixun committed
233
                show-word-limit
wangna committed
234
                placeholder="请输入修改内容 :77C:"
liyixun committed
235 236 237 238 239 240 241
              ></c-input>
            </c-form-item>
          </c-col>

          <c-col :span="24">
            <c-form-item
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
242
              label="保函编号"
liyixun committed
243 244 245 246 247 248
              prop="gidgrp.rec.ownref"
            >
              <c-input
                disabled
                v-model="model.gidgrp.rec.ownref"
                maxlength="16"
wangna committed
249
                placeholder="请输入保函编号"
liyixun committed
250 251 252 253 254 255 256
              ></c-input>
            </c-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
257
              label="修改报文的目的"
liyixun committed
258 259 260 261 262 263
              prop="trnmod.swiadd.purposamein"
            >
              <c-select
                disabled
                v-model="model.trnmod.swiadd.purposamein"
                style="width: 100%"
wangna committed
264
                placeholder="请输入修改报文的目的"
liyixun committed
265 266 267 268 269 270 271 272 273 274 275 276 277 278 279
              >
                <el-option
                  v-for="item in codes.purposamein"
                  :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-show="model.gitp.swiftflg == 'Y'"
wangna committed
280
              label="修改目的"
liyixun committed
281 282 283 284 285
              prop="trnmod.swiadd.purposame"
            >
              <c-select
                v-model="model.trnmod.swiadd.purposame"
                style="width: 100%"
wangna committed
286
                placeholder="请输入修改目的"
liyixun committed
287 288 289 290 291 292 293 294 295
                :code="getValues('trnmod.swiadd.purposame')"
              >
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
296
              label="修改日期"
liyixun committed
297 298 299 300 301 302
              prop="trnmod.swiadd.amedat"
            >
              <c-date-picker
                type="date"
                v-model="model.trnmod.swiadd.amedat"
                style="width: 100%"
wangna committed
303
                placeholder="请选择修改日期"
liyixun committed
304 305 306 307 308 309 310
              ></c-date-picker>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
311
              label="申请修改日期"
liyixun committed
312 313 314 315 316 317
              prop="trnmod.swiadd.orddat"
            >
              <c-date-picker
                type="date"
                v-model="model.trnmod.swiadd.orddat"
                style="width: 100%"
wangna committed
318
                placeholder="请选择申请修改日期"
liyixun committed
319 320 321 322 323 324 325
              ></c-date-picker>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <c-form-item
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
326
              label="修改次数"
liyixun committed
327 328 329 330 331
              prop="trnmod.swiadd.amenbr"
            >
              <c-input
                disabled
                v-model="model.trnmod.swiadd.amenbr"
wangna committed
332
                placeholder="请输入修改次数"
liyixun committed
333 334 335 336 337 338 339
              ></c-input>
            </c-form-item>
          </c-col>

          <c-col :span="24">
            <c-form-item
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
340
              label="实际修改次数 "
liyixun committed
341 342 343 344
              prop="gidgrp.rec.amenbr"
            >
              <c-input
                v-model="model.gidgrp.rec.amenbr"
wangna committed
345
                placeholder="请输入实际修改次数 "
liyixun committed
346 347 348 349 350 351 352 353
              ></c-input>
            </c-form-item>
          </c-col>

          <c-col :span="24">
            <c-col :span="12">
              <c-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
354
                label="原保函金额"
liyixun committed
355 356 357 358 359 360
                prop="oldgidgrp.cbs.max.cur"
              >
                <c-input
                  disabled
                  v-model="model.oldgidgrp.cbs.max.cur"
                  maxlength="3"
wangna committed
361
                  placeholder="请输入原保函金额"
liyixun committed
362 363 364 365 366 367 368 369 370 371 372 373
                ></c-input>
              </c-form-item>
            </c-col>
            <c-col :span="12">
              <c-form-item
                v-if="model.gitp.swiftflg == 'Y'"
                label-width="5px"
                prop="oldgidgrp.cbs.max.amt"
              >
                <c-input
                  disabled
                  v-model="model.oldgidgrp.cbs.max.amt"
wangna committed
374
                  placeholder="请输入"
liyixun committed
375 376
                ></c-input>
              </c-form-item>
liyixun committed
377
            </c-col>
liyixun committed
378 379 380 381 382
          </c-col>
          <c-col :span="24">
            <c-col :span="12">
              <c-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
383
                label="修改金额"
liyixun committed
384 385 386 387 388 389
                prop="trnmod.swiadd.amecur"
              >
                <c-input
                  disabled
                  v-model="model.trnmod.swiadd.amecur"
                  maxlength="3"
wangna committed
390
                  placeholder="请输入修改金额"
liyixun committed
391 392 393 394 395 396 397 398 399 400 401
                ></c-input>
              </c-form-item>
            </c-col>
            <c-col :span="12">
              <c-form-item
                v-if="model.gitp.swiftflg == 'Y'"
                label-width="5px"
                prop="trnmod.swiadd.ameamt"
              >
                <c-input
                  v-model="model.trnmod.swiadd.ameamt"
wangna committed
402
                  placeholder="请输入"
liyixun committed
403
                  @blur="ameamtBlur"
liyixun committed
404 405 406 407 408 409
                  @keyup.enter.native="
                  defaultFunction(
                    'trnmod.swiadd.newamt',
                    model.trnmod.swiadd.newamt
                  )
                "
liyixun committed
410 411 412 413 414 415 416 417
                ></c-input>
              </c-form-item>
            </c-col>
          </c-col>
          <c-col :span="24">
            <c-col :span="12">
              <c-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
418
                label="保函币种和金额"
liyixun committed
419 420 421 422 423 424
                prop="trnmod.swiadd.newcur"
              >
                <c-input
                  disabled
                  v-model="model.trnmod.swiadd.newcur"
                  maxlength="3"
wangna committed
425
                  placeholder="请选择保函金额"
liyixun committed
426 427 428 429 430 431 432 433 434 435 436
                ></c-input>
              </c-form-item>
            </c-col>
            <c-col :span="12">
              <c-form-item
                v-if="model.gitp.swiftflg == 'Y'"
                label-width="5px"
                prop="trnmod.swiadd.newamt"
              >
                <c-input
                  v-model="model.trnmod.swiadd.newamt"
wangna committed
437
                  placeholder="请输入"
liyixun committed
438
                  @blur="newamtBlur"
liyixun committed
439 440 441 442 443 444
                  @keyup.enter.native="
                  eventFunction(
                    'trnmod.swiadd.newamt',
                    model.trnmod.swiadd.newamt
                  )
                "
liyixun committed
445 446 447 448 449 450 451
                ></c-input>
              </c-form-item>
            </c-col>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
452
              label="保函修改的收件人"
liyixun committed
453 454 455 456 457 458
              prop="gitamep.ramrol"
            >
              <c-select
                v-model="model.gitamep.ramrol"
                :disabled="model.trnmod.swiadd.amemsgdonflg == ''"
                style="width: 100%"
wangna committed
459
                placeholder="请输入保函修改的收件人"
liyixun committed
460 461 462 463 464 465 466 467 468 469 470 471 472 473
              >
                <el-option
                  v-for="item in codes.ramrol"
                  :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'"
wangna committed
474
              label="减少/清偿原因"
liyixun committed
475 476 477 478 479
              prop="trnmod.swiadd.redrea"
            >
              <c-select
                v-model="model.trnmod.swiadd.redrea"
                style="width: 100%"
wangna committed
480
                placeholder="请输入减少/清偿原因"
liyixun committed
481 482 483 484 485 486 487 488 489 490 491 492
              >
                <el-option
                  v-for="item in codes.redrea"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>
        </c-col>
493 494
        <!-- ============右边================= -->
        <c-col :span="12" style="padding-left: 20px;">
liyixun committed
495 496 497
          <c-col :span="24">
            <c-form-item
              v-if="model.gitp.swiftflg == 'N'"
wangna committed
498
              label="简略信息"
liyixun committed
499 500 501 502 503 504
              prop="gidgrp.rec.nam"
            >
              <c-input
                disabled
                v-model="model.gidgrp.rec.nam"
                maxlength="40"
wangna committed
505
                placeholder="请输入简略信息"
liyixun committed
506 507 508 509 510 511 512
              ></c-input>
            </c-form-item>
          </c-col>

          <c-col :span="24">
            <c-form-item
              v-if="model.gitp.swiftflg == 'N'"
wangna committed
513
              label="修改次数"
liyixun committed
514 515 516 517
              prop="trnmod.swiadd.amenbr"
            >
              <c-input
                v-model="model.trnmod.swiadd.amenbr"
wangna committed
518
                placeholder="请输入修改次数"
liyixun committed
519 520 521 522 523 524 525
              ></c-input>
            </c-form-item>
          </c-col>

          <c-col :span="24">
            <c-form-item
              v-if="model.gitp.swiftflg == 'N'"
wangna committed
526
              label="实际修改次数"
liyixun committed
527 528 529 530 531
              prop="gitamep.amenbr"
            >
              <c-input
                disabled
                v-model="model.gitamep.amenbr"
wangna committed
532
                placeholder="请输入实际修改次数"
liyixun committed
533 534 535 536 537 538 539
              ></c-input>
            </c-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'N'"
wangna committed
540
              label="旧到期日期"
liyixun committed
541 542 543 544 545 546 547
              prop="oldgidgrp.rec.expdat"
            >
              <c-date-picker
                disabled
                type="date"
                v-model="model.oldgidgrp.rec.expdat"
                style="width: 100%"
wangna committed
548
                placeholder="请选择旧到期日期"
liyixun committed
549 550 551 552 553 554 555
              ></c-date-picker>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'N'"
wangna committed
556
              label="责任截至日"
liyixun committed
557 558 559 560 561 562 563
              prop="oldgidgrp.rec.liadat"
            >
              <c-date-picker
                disabled
                type="date"
                v-model="model.oldgidgrp.rec.liadat"
                style="width: 100%"
wangna committed
564
                placeholder="请选择责任截至日"
liyixun committed
565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589
              ></c-date-picker>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <c-form-item
              v-if="model.gitp.swiftflg == 'N'"
              label="变更次数"
              prop="gitamep.amenumjmg"
            >
              <c-input
                disabled
                v-model="model.gitamep.amenumjmg"
                maxlength="2"
                placeholder="请输入变更次数"
              ></c-input>
            </c-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item
              v-if="
                model.gitp.swiftflg == 'N' &&
                model.trnmod.swiadd.newexpflg == ''
              "
wangna committed
590
              label="新到期日"
liyixun committed
591 592 593 594 595 596
              prop="trnmod.swiadd.newexpdat"
            >
              <c-date-picker
                type="date"
                v-model="model.trnmod.swiadd.newexpdat"
                style="width: 100%"
wangna committed
597
                placeholder="请输入"
liyixun committed
598 599 600 601 602 603 604 605
              ></c-date-picker>
            </el-form-item>

            <c-form-item
              v-if="
                model.gitp.swiftflg == 'N' &&
                model.trnmod.swiadd.newexpflg == 'X'
              "
wangna committed
606
              label="新到期日"
liyixun committed
607 608 609 610 611 612
              prop="gitamep.expnewtxt"
            >
              <c-input
                :disabled="model.trnmod.swiadd.newexpflg == 'X'"
                v-model="model.gitamep.expnewtxt"
                maxlength="11"
wangna committed
613
                placeholder="请输入新到期日"
liyixun committed
614 615 616 617 618 619 620
              ></c-input>
            </c-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'N'"
wangna committed
621
              label="新责任期"
liyixun committed
622 623 624 625 626 627 628
              prop="trnmod.swiadd.newliadat"
            >
              <c-date-picker
                disabled
                type="date"
                v-model="model.trnmod.swiadd.newliadat"
                style="width: 100%"
wangna committed
629
                placeholder="请输入新责任期"
liyixun committed
630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650
              ></c-date-picker>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'N'"
              label="核销日期"
              prop="gidgrp.rec.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 :span="24">
651
            <c-col :span="22">
liyixun committed
652 653
              <c-form-item
                v-if="model.gitp.swiftflg == 'N'"
wangna committed
654
                label="修改内容文本:"
liyixun committed
655 656 657 658 659 660
                prop="trnmod.swiadd.ameblk"
              >
                <c-input
                  type="textarea"
                  rows="4"
                  v-model="model.trnmod.swiadd.ameblk"
liyixun committed
661
                  maxlength="55250"
liyixun committed
662
                  show-word-limit
wangna committed
663
                  placeholder="请输入修改内容文本"
liyixun committed
664 665 666
                ></c-input>
              </c-form-item>
            </c-col>
667
            <c-col :span="2">
liyixun committed
668 669 670 671 672
              <c-button
                v-if="model.gitp.swiftflg == 'N'"
                style="margin: 5px 0 0 10px"
                size="small"
                type="primary"
673
                icon="el-icon-more"
liyixun committed
674 675 676 677 678 679 680
                @click="onAmebutButtxmsel"
              >
              </c-button>
            </c-col>
          </c-col>

          <c-col :span="24">
681 682
            <c-col :span="12">
              <el-form-item label=" " prop="trnmod.swiadd.newexpflg" label-width="120px" style=" float:left;">
liyixun committed
683 684 685 686
              <c-checkbox
                v-if="model.gitp.swiftflg == 'N'"
                v-model="model.trnmod.swiadd.newexpflg"
                @change="newexpflgChange"
wangna committed
687
                >是否无效期限制</c-checkbox
liyixun committed
688
              >
689
            </el-form-item>
liyixun committed
690
            </c-col>
691 692
            <c-col :span="12">
              <el-form-item label=" " prop="trnmod.swiadd.newliaflg" label-width="120px" style=" float:right;">
liyixun committed
693 694 695 696
              <c-checkbox
                v-if="model.gitp.swiftflg == 'N'"
                disabled
                v-model="model.trnmod.swiadd.newliaflg"
wangna committed
697
                >是否无效期限制</c-checkbox
liyixun committed
698
              >
699
            </el-form-item>
liyixun committed
700 701 702 703
            </c-col>
          </c-col>

          <c-col :span="24">
704 705
            <c-col :span="12">
              <el-form-item label=" " prop="gitamep.cre767flg" label-width="120px" style=" float:left;">
liyixun committed
706 707 708 709
              <c-checkbox
                disabled
                v-if="model.gitp.swiftflg == 'N'"
                v-model="model.gitamep.cre767flg"
wangna committed
710
                >是否生成通知报文</c-checkbox
liyixun committed
711
              >
712
            </el-form-item>
liyixun committed
713
            </c-col>
714 715
            <c-col :span="12">
              <el-form-item label=" " prop="gitamep.prtflg" label-width="120px" style=" float:right;">
liyixun committed
716 717 718 719
              <c-checkbox
                disabled
                v-if="model.gitp.swiftflg == 'N'"
                v-model="model.gitamep.prtflg"
wangna committed
720
                >是否选择输入保函全部内容</c-checkbox
liyixun committed
721
              >
722
            </el-form-item>
liyixun committed
723 724 725 726
            </c-col>
          </c-col>

          <c-col :span="24">
727 728
            <c-col :span="12">
              <el-form-item label=" " prop="gitamep.clsclmflg" label-width="120px" style=" float:left;">
liyixun committed
729 730 731 732
              <c-checkbox
                disabled
                v-if="model.gitp.swiftflg == 'N'"
                v-model="model.gitamep.clsclmflg"
wangna committed
733
                >关闭索赔</c-checkbox
liyixun committed
734
              >
735
            </el-form-item>
liyixun committed
736 737 738 739 740 741 742
            </c-col>
          </c-col>

          <!-- 右边为swift格式 -->
          <c-col :span="24">
            <c-form-item
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
743
              label="修改内容 :77C:"
liyixun committed
744 745 746 747 748 749 750
              prop="gitamep.ametxt"
            >
              <c-input
                type="textarea"
                :disabled="model.gitamep.ametxtflg == ''"
                v-model="model.gitamep.ametxt"
                rows="4"
liyixun committed
751
                maxlength="32500"
liyixun committed
752
                show-word-limit
wangna committed
753
                placeholder="请输入修改内容 :77C:"
liyixun committed
754 755 756 757 758 759 760
              ></c-input>
            </c-form-item>
          </c-col>
          <c-col :span="24">
            <c-col :span="20">
              <c-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
761
                label="修改内容文本:"
liyixun committed
762 763 764 765 766 767 768
                prop="trnmod.swiadd.ameblk"
              >
                <c-input
                  :disabled="model.gitamep.prtflg == 'X'"
                  type="textarea"
                  rows="4"
                  v-model="model.trnmod.swiadd.ameblk"
liyixun committed
769
                  maxlength="55250"
liyixun committed
770
                  show-word-limit
wangna committed
771
                  placeholder="请输入修改内容文本"
liyixun committed
772 773 774 775 776 777 778 779
                ></c-input>
              </c-form-item>
            </c-col>
            <c-col :span="4">
              <c-checkbox
                v-if="model.gitp.swiftflg == 'Y'"
                style="margin: 0 0 0 10px"
                v-model="model.gitamep.amebut.chkast"
wangna committed
780
                >允许</c-checkbox
liyixun committed
781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797
              >
              <c-button
                v-if="model.gitp.swiftflg == 'Y'"
                style="margin: 5px 0 0 10px"
                size="small"
                type="primary"
                icon="el-icon-search"
                @click="onAmebutButtxmsel"
              >
                ...
              </c-button>
            </c-col>
          </c-col>

          <c-col :span="24">
            <c-form-item
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
798
              label="附加承保金额"
liyixun committed
799 800 801 802 803 804 805
              prop="trnmod.swiadd.addamtcovs20"
            >
              <c-input
                type="textarea"
                rows="4"
                :disabled="model.trnmod.swiadd.addamtflg == ''"
                v-model="model.trnmod.swiadd.addamtcovs20"
liyixun committed
806
                maxlength="780"
liyixun committed
807
                show-word-limit
wangna committed
808
                placeholder="请输入附加承保金额"
liyixun committed
809 810 811 812 813 814 815 816
              ></c-input>
            </c-form-item>
          </c-col>

          <c-col :span="24">
            <c-col :span="12">
              <c-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
817
                label="附加金额"
liyixun committed
818 819 820 821 822
                prop="trnmod.swiadd.addcur"
              >
                <c-input
                  v-model="model.trnmod.swiadd.addcur"
                  maxlength="3"
wangna committed
823
                  placeholder="请输入附加金额"
liyixun committed
824 825 826 827 828 829 830 831 832 833 834 835
                ></c-input>
              </c-form-item>
            </c-col>
            <c-col :span="12">
              <c-form-item
                v-if="model.gitp.swiftflg == 'Y'"
                label-width="5px"
                prop="trnmod.swiadd.addamt"
              >
                <c-input
                  :disabled="model.trnmod.swiadd.addamtflg == ''"
                  v-model="model.trnmod.swiadd.addamt"
wangna committed
836
                  placeholder="请输入附加金额"
liyixun committed
837 838 839 840 841 842 843
                  @blur="addamtBlur"
                  @keyup.enter.native="
                  defaultFunction(
                    'trnmod.swiadd.addamt',
                    model.trnmod.swiadd.addamt
                  )
                "
liyixun committed
844 845 846 847 848 849 850 851 852 853 854
                ></c-input>
              </c-form-item>
            </c-col>
          </c-col>

          <c-col :span="24">
            <c-col :span="6" :offset="6">
              <c-checkbox
                v-if="model.gitp.swiftflg == 'Y'"
                v-model="model.trnmod.swiadd.reqcan"
                @change="reqChange"
wangna committed
855
                >撤销请求</c-checkbox
liyixun committed
856 857 858 859 860 861
              >
            </c-col>
            <c-col :span="6" :offset="6">
              <c-checkbox
                v-if="model.gitp.swiftflg == 'Y'"
                v-model="model.trnmod.swiadd.amemsgdonflg"
wangna committed
862
                >是否生成通知报文</c-checkbox
liyixun committed
863 864 865 866 867 868
              >
            </c-col>
          </c-col>
          <c-col :span="24">
            <c-col :span="6" :offset="6">
              <c-checkbox
liyixun committed
869
                disabled
liyixun committed
870 871
                v-if="model.gitp.swiftflg == 'Y'"
                v-model="model.gitamep.prtflg"
wangna committed
872
                >是否选择输入保函全部内容</c-checkbox
liyixun committed
873
              >
liyixun committed
874
            </c-col>
liyixun committed
875 876 877 878 879
            <c-col :span="6" :offset="6">
              <c-checkbox
                disabled
                v-if="model.gitp.swiftflg == 'Y'"
                v-model="model.gitamep.clsclmflg"
wangna committed
880
                >关闭索赔</c-checkbox
liyixun committed
881 882 883 884 885 886 887 888
              >
            </c-col>
          </c-col>
          <c-col :span="24">
            <c-col :span="6" :offset="6">
              <c-checkbox
                v-if="model.gitp.swiftflg == 'Y'"
                v-model="model.trnmod.swiadd.addamtflg"
liyixun committed
889
                @change="addamtflgChange"
wangna committed
890
                >附加金额</c-checkbox
liyixun committed
891 892 893 894 895 896 897
              >
            </c-col>
            <c-col :span="6" :offset="6">
              <c-checkbox
                v-if="model.gitp.swiftflg == 'Y'"
                :disabled="model.trnmod.swiadd.amemsgdonflg == ''"
                v-model="model.gitamep.ametxtflg"
wangna committed
898
                >是否修改修改内容</c-checkbox
liyixun committed
899 900 901
              >
            </c-col>
          </c-col>
liyixun committed
902
        </c-col>
liyixun committed
903 904 905
  </div>
</template>
<script>
liyixun committed
906
import Api from "~/service/Api";
liyixun committed
907
import commonProcess from "~/mixin/commonProcess";
liyixun committed
908 909
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Getame/Event";
liyixun committed
910
import Utils from "~/utils";
liyixun committed
911 912

export default {
liyixun committed
913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  methods: {
    ...Event,
    async reqChange() {
      let rtnmsg = await this.executeRule("gitamep.ametxt");
      if (rtnmsg.respCode == SUCCESS) {
        Utils.copyValueFromVO(this.model, rtnmsg.data);
      }
    },

    async newexpflgChange() {
      let rtnmsg = await this.executeRule("swiadd.newexpflg");
      if (rtnmsg.respCode == SUCCESS) {
        Utils.copyValueFromVO(this.model, rtnmsg.data);
      }
liyixun committed
933
    },
liyixun committed
934

liyixun committed
935 936 937 938 939 940 941 942 943 944 945 946 947
    async newamtBlur() {
      let rtnmsg = await this.executeRule("trnmod.swiadd.newamt");
      if (rtnmsg.respCode == SUCCESS) {
        Utils.copyValueFromVO(this.model, rtnmsg.data);
      }
    },

    async ameamtBlur() {
      let rtnmsg = await this.executeDefault("trnmod.swiadd.newamt");
      if (rtnmsg.respCode == SUCCESS) {
        Utils.copyValueFromVO(this.model, rtnmsg.data);
      }
    },
liyixun committed
948 949 950 951 952 953 954 955 956 957 958 959 960 961

    async addamtBlur() {
      let rtnmsg = await this.executeDefault("trnmod.swiadd.addamt");
      if (rtnmsg.respCode == SUCCESS) {
        Utils.copyValueFromVO(this.model, rtnmsg.data);
      }
    },

    async addamtflgChange() {
      let rtnmsg = await this.executeDefault("trnmod.swiadd.addamt");
      if (rtnmsg.respCode == SUCCESS) {
        Utils.copyValueFromVO(this.model, rtnmsg.data);
      }
    },
liyixun committed
962 963 964
  },
  created: function () {},
};
liyixun committed
965 966 967
</script>
<style>
</style>