Ameps20.vue 30.5 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
                ></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"
              >
lianyang committed
71 72
              <!-- 不确定能否回显负金额,因此空为disabled,故暂定能显示负金额 -->
                <c-input-currency-min
liyixun committed
73 74
                  disabled
                  v-model="model.oldgidgrp.cbs.max.amt"
wangna committed
75
                  placeholder="请输入"
lianyang committed
76 77
                  class="input-currency-left"
                ></c-input-currency-min>
liyixun committed
78 79 80
              </c-form-item>
            </c-col>
          </c-col>
liyixun committed
81

liyixun committed
82 83 84 85
          <c-col :span="24">
            <c-col :span="12">
              <c-form-item
                v-if="model.gitp.swiftflg == 'N'"
wangna committed
86
                label="修改金额"
liyixun committed
87 88 89 90 91 92
                prop="trnmod.swiadd.amecur"
              >
                <c-input
                  disabled
                  v-model="model.trnmod.swiadd.amecur"
                  maxlength="3"
wangna committed
93
                  placeholder="请输入修改金额"
liyixun committed
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"
              >
lianyang committed
103
                <c-input-currency-min
liyixun committed
104
                  v-model="model.trnmod.swiadd.ameamt"
wangna committed
105
                  placeholder="请输入"
liyixun committed
106
                  @blur="ameamtBlur"
lianyang committed
107 108 109
                  @keyup.enter.native="$event.target.blur()"
                  class="input-currency-left"
                ></c-input-currency-min>
liyixun committed
110 111 112 113 114 115 116 117
              </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
118
                label="保函币种和金额"
liyixun committed
119 120 121 122 123 124
                prop="trnmod.swiadd.newcur"
              >
                <c-input
                  disabled
                  v-model="model.trnmod.swiadd.newcur"
                  maxlength="3"
wangna committed
125
                  placeholder="请选择保函金额"
liyixun committed
126 127 128 129 130 131 132 133 134
                ></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"
              >
lianyang committed
135
                <c-input-currency-min
liyixun committed
136
                  v-model="model.trnmod.swiadd.newamt"
wangna committed
137
                  placeholder="请输入"
liyixun committed
138
                  @blur="newamtBlur"
lianyang committed
139 140 141
                  @keyup.enter.native="$event.target.blur()"
                  class="input-currency-left"
                ></c-input-currency-min>
liyixun committed
142 143 144 145 146 147 148 149
              </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
150
                label="币种"
liyixun committed
151 152 153 154 155 156
                prop="gidgrp.cbs.max2.cur"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.cbs.max2.cur"
                  maxlength="3"
wangna committed
157
                  placeholder="请输入币种"
liyixun committed
158 159 160
                ></c-input>
              </c-form-item>
            </c-col>
liyixun committed
161

liyixun committed
162 163 164 165 166 167
            <c-col :span="12">
              <c-form-item
                v-if="model.gitp.swiftflg == 'N'"
                label-width="5px"
                prop="trnmod.swiadd.addamt"
              >
lianyang committed
168 169
              <!-- 不确定能否回显负金额,因此空为disabled,故暂定能显示负金额 -->
                <c-input-currency-min
liyixun committed
170 171
                  disabled
                  v-model="model.trnmod.swiadd.addamt"
wangna committed
172
                  placeholder="请输入"
lianyang committed
173 174
                  class="input-currency-left"
                ></c-input-currency-min>
liyixun committed
175 176 177 178 179 180 181
              </c-form-item>
            </c-col>
          </c-col>

          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'N'"
wangna committed
182
              label="保函修改的收件人"
liyixun committed
183 184 185 186 187 188
              prop="gitamep.ramrol"
            >
              <c-select
                v-model="model.gitamep.ramrol"
                :disabled="model.trnmod.swiadd.amemsgdonflg == ''"
                style="width: 100%"
wangna committed
189
                placeholder="请输入保函修改的收件人"
liyixun committed
190 191 192 193 194 195 196 197 198 199 200 201 202 203 204
              >
                <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
205
              label="承保金额"
liyixun committed
206 207 208 209 210 211 212
              prop="trnmod.swiadd.addamtcov"
            >
              <c-input
                type="textarea"
                v-model="model.trnmod.swiadd.addamtcov"
                maxlength="35"
                show-word-limit
wangna committed
213
                placeholder="请输入承保金额"
liyixun committed
214 215 216 217 218 219 220
              ></c-input>
            </c-form-item>
          </c-col>

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

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

          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
253
              label="修改报文的目的"
liyixun committed
254 255 256 257 258 259
              prop="trnmod.swiadd.purposamein"
            >
              <c-select
                disabled
                v-model="model.trnmod.swiadd.purposamein"
                style="width: 100%"
wangna committed
260
                placeholder="请输入修改报文的目的"
liyixun committed
261 262 263 264 265 266 267 268 269 270 271 272 273 274 275
              >
                <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
276
              label="修改目的"
liyixun committed
277 278 279 280 281
              prop="trnmod.swiadd.purposame"
            >
              <c-select
                v-model="model.trnmod.swiadd.purposame"
                style="width: 100%"
wangna committed
282
                placeholder="请输入修改目的"
liyixun committed
283 284 285 286 287 288 289 290 291
                :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
292
              label="修改日期"
liyixun committed
293 294 295 296 297 298
              prop="trnmod.swiadd.amedat"
            >
              <c-date-picker
                type="date"
                v-model="model.trnmod.swiadd.amedat"
                style="width: 100%"
wangna committed
299
                placeholder="请选择修改日期"
liyixun committed
300 301 302 303 304 305 306
              ></c-date-picker>
            </el-form-item>
          </c-col>

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

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

          <c-col :span="24">
            <c-form-item
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
336
              label="实际修改次数 "
liyixun committed
337 338 339 340
              prop="gidgrp.rec.amenbr"
            >
              <c-input
                v-model="model.gidgrp.rec.amenbr"
wangna committed
341
                placeholder="请输入实际修改次数 "
liyixun committed
342 343 344 345 346 347 348 349
              ></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
350
                label="原保函金额"
liyixun committed
351 352 353 354 355 356
                prop="oldgidgrp.cbs.max.cur"
              >
                <c-input
                  disabled
                  v-model="model.oldgidgrp.cbs.max.cur"
                  maxlength="3"
wangna committed
357
                  placeholder="请输入原保函金额"
liyixun committed
358 359 360 361 362 363 364 365 366
                ></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"
              >
lianyang committed
367 368
              <!-- 不确定能否回显负金额,因此空为disabled,故暂定能显示负金额 -->
              <c-input-currency-min
liyixun committed
369 370
                  disabled
                  v-model="model.oldgidgrp.cbs.max.amt"
wangna committed
371
                  placeholder="请输入"
lianyang committed
372 373
                  class="input-currency-left"
                ></c-input-currency-min>
liyixun committed
374
              </c-form-item>
liyixun committed
375
            </c-col>
liyixun committed
376 377 378 379 380
          </c-col>
          <c-col :span="24">
            <c-col :span="12">
              <c-form-item
                v-if="model.gitp.swiftflg == 'Y'"
wangna committed
381
                label="修改金额"
liyixun committed
382 383 384 385 386 387
                prop="trnmod.swiadd.amecur"
              >
                <c-input
                  disabled
                  v-model="model.trnmod.swiadd.amecur"
                  maxlength="3"
wangna committed
388
                  placeholder="请输入修改金额"
liyixun committed
389 390 391 392 393 394 395 396 397
                ></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"
              >
lianyang committed
398
                <c-input-currency-min
liyixun committed
399
                  v-model="model.trnmod.swiadd.ameamt"
wangna committed
400
                  placeholder="请输入"
liyixun committed
401
                  @blur="ameamtBlur"
lianyang committed
402 403 404
                  @keyup.enter.native="$event.target.blur()"
                  class="input-currency-left"
                ></c-input-currency-min>
liyixun committed
405 406 407 408 409 410 411
              </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
412
                label="保函币种和金额"
liyixun committed
413 414 415 416 417 418
                prop="trnmod.swiadd.newcur"
              >
                <c-input
                  disabled
                  v-model="model.trnmod.swiadd.newcur"
                  maxlength="3"
wangna committed
419
                  placeholder="请选择保函金额"
liyixun committed
420 421 422 423 424 425 426 427 428 429 430
                ></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
431
                  placeholder="请输入"
liyixun committed
432
                  @blur="newamtBlur"
lianyang committed
433
                  @keyup.enter.native="$event.target.blur()"
liyixun committed
434 435 436 437 438 439 440
                ></c-input>
              </c-form-item>
            </c-col>
          </c-col>
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
441
              label="保函修改的收件人"
liyixun committed
442 443 444 445 446 447
              prop="gitamep.ramrol"
            >
              <c-select
                v-model="model.gitamep.ramrol"
                :disabled="model.trnmod.swiadd.amemsgdonflg == ''"
                style="width: 100%"
wangna committed
448
                placeholder="请输入保函修改的收件人"
liyixun committed
449 450 451 452 453 454 455 456 457 458 459 460 461 462
              >
                <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
463
              label="减少/清偿原因"
liyixun committed
464 465 466 467 468
              prop="trnmod.swiadd.redrea"
            >
              <c-select
                v-model="model.trnmod.swiadd.redrea"
                style="width: 100%"
wangna committed
469
                placeholder="请输入减少/清偿原因"
liyixun committed
470 471 472 473 474 475 476 477 478 479 480 481
              >
                <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>
482 483
        <!-- ============右边================= -->
        <c-col :span="12" style="padding-left: 20px;">
liyixun committed
484 485 486
          <c-col :span="24">
            <c-form-item
              v-if="model.gitp.swiftflg == 'N'"
wangna committed
487
              label="简略信息"
liyixun committed
488 489 490 491 492 493
              prop="gidgrp.rec.nam"
            >
              <c-input
                disabled
                v-model="model.gidgrp.rec.nam"
                maxlength="40"
wangna committed
494
                placeholder="请输入简略信息"
liyixun committed
495 496 497 498 499 500 501
              ></c-input>
            </c-form-item>
          </c-col>

          <c-col :span="24">
            <c-form-item
              v-if="model.gitp.swiftflg == 'N'"
wangna committed
502
              label="修改次数"
liyixun committed
503 504 505 506
              prop="trnmod.swiadd.amenbr"
            >
              <c-input
                v-model="model.trnmod.swiadd.amenbr"
wangna committed
507
                placeholder="请输入修改次数"
liyixun committed
508 509 510 511 512 513 514
              ></c-input>
            </c-form-item>
          </c-col>

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

          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'N'"
wangna committed
529
              label="旧到期日期"
liyixun committed
530 531 532 533 534 535 536
              prop="oldgidgrp.rec.expdat"
            >
              <c-date-picker
                disabled
                type="date"
                v-model="model.oldgidgrp.rec.expdat"
                style="width: 100%"
wangna committed
537
                placeholder="请选择旧到期日期"
liyixun committed
538 539 540 541 542 543 544
              ></c-date-picker>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'N'"
wangna committed
545
              label="责任截至日"
liyixun committed
546 547 548 549 550 551 552
              prop="oldgidgrp.rec.liadat"
            >
              <c-date-picker
                disabled
                type="date"
                v-model="model.oldgidgrp.rec.liadat"
                style="width: 100%"
wangna committed
553
                placeholder="请选择责任截至日"
liyixun committed
554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578
              ></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
579
              label="新到期日"
liyixun committed
580 581 582 583 584 585
              prop="trnmod.swiadd.newexpdat"
            >
              <c-date-picker
                type="date"
                v-model="model.trnmod.swiadd.newexpdat"
                style="width: 100%"
wangna committed
586
                placeholder="请输入"
liyixun committed
587 588 589 590 591 592 593 594
              ></c-date-picker>
            </el-form-item>

            <c-form-item
              v-if="
                model.gitp.swiftflg == 'N' &&
                model.trnmod.swiadd.newexpflg == 'X'
              "
wangna committed
595
              label="新到期日"
liyixun committed
596 597 598 599 600 601
              prop="gitamep.expnewtxt"
            >
              <c-input
                :disabled="model.trnmod.swiadd.newexpflg == 'X'"
                v-model="model.gitamep.expnewtxt"
                maxlength="11"
wangna committed
602
                placeholder="请输入新到期日"
liyixun committed
603 604 605 606 607 608 609
              ></c-input>
            </c-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.swiftflg == 'N'"
wangna committed
610
              label="新责任期"
liyixun committed
611 612 613 614 615 616 617
              prop="trnmod.swiadd.newliadat"
            >
              <c-date-picker
                disabled
                type="date"
                v-model="model.trnmod.swiadd.newliadat"
                style="width: 100%"
wangna committed
618
                placeholder="请输入新责任期"
liyixun committed
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639
              ></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">
640
            <c-col :span="22">
liyixun committed
641 642
              <c-form-item
                v-if="model.gitp.swiftflg == 'N'"
wangna committed
643
                label="修改内容文本:"
liyixun committed
644 645 646 647 648 649
                prop="trnmod.swiadd.ameblk"
              >
                <c-input
                  type="textarea"
                  rows="4"
                  v-model="model.trnmod.swiadd.ameblk"
liyixun committed
650
                  maxlength="55250"
liyixun committed
651
                  show-word-limit
wangna committed
652
                  placeholder="请输入修改内容文本"
liyixun committed
653 654 655
                ></c-input>
              </c-form-item>
            </c-col>
656
            <c-col :span="2">
liyixun committed
657 658 659 660 661
              <c-button
                v-if="model.gitp.swiftflg == 'N'"
                style="margin: 5px 0 0 10px"
                size="small"
                type="primary"
662
                icon="el-icon-more"
liyixun committed
663 664 665 666 667 668 669
                @click="onAmebutButtxmsel"
              >
              </c-button>
            </c-col>
          </c-col>

          <c-col :span="24">
670 671
            <c-col :span="12">
              <el-form-item label=" " prop="trnmod.swiadd.newexpflg" label-width="120px" style=" float:left;">
liyixun committed
672 673 674 675
              <c-checkbox
                v-if="model.gitp.swiftflg == 'N'"
                v-model="model.trnmod.swiadd.newexpflg"
                @change="newexpflgChange"
wangna committed
676
                >是否无效期限制</c-checkbox
liyixun committed
677
              >
678
            </el-form-item>
liyixun committed
679
            </c-col>
680 681
            <c-col :span="12">
              <el-form-item label=" " prop="trnmod.swiadd.newliaflg" label-width="120px" style=" float:right;">
liyixun committed
682 683 684 685
              <c-checkbox
                v-if="model.gitp.swiftflg == 'N'"
                disabled
                v-model="model.trnmod.swiadd.newliaflg"
wangna committed
686
                >是否无效期限制</c-checkbox
liyixun committed
687
              >
688
            </el-form-item>
liyixun committed
689 690 691 692
            </c-col>
          </c-col>

          <c-col :span="24">
693 694
            <c-col :span="12">
              <el-form-item label=" " prop="gitamep.cre767flg" label-width="120px" style=" float:left;">
liyixun committed
695 696 697 698
              <c-checkbox
                disabled
                v-if="model.gitp.swiftflg == 'N'"
                v-model="model.gitamep.cre767flg"
wangna committed
699
                >是否生成通知报文</c-checkbox
liyixun committed
700
              >
701
            </el-form-item>
liyixun committed
702
            </c-col>
703 704
            <c-col :span="12">
              <el-form-item label=" " prop="gitamep.prtflg" label-width="120px" style=" float:right;">
liyixun committed
705 706 707 708
              <c-checkbox
                disabled
                v-if="model.gitp.swiftflg == 'N'"
                v-model="model.gitamep.prtflg"
wangna committed
709
                >是否选择输入保函全部内容</c-checkbox
liyixun committed
710
              >
711
            </el-form-item>
liyixun committed
712 713 714 715
            </c-col>
          </c-col>

          <c-col :span="24">
716 717
            <c-col :span="12">
              <el-form-item label=" " prop="gitamep.clsclmflg" label-width="120px" style=" float:left;">
liyixun committed
718 719 720 721
              <c-checkbox
                disabled
                v-if="model.gitp.swiftflg == 'N'"
                v-model="model.gitamep.clsclmflg"
wangna committed
722
                >关闭索赔</c-checkbox
liyixun committed
723
              >
724
            </el-form-item>
liyixun committed
725 726 727 728 729 730 731
            </c-col>
          </c-col>

          <!-- 右边为swift格式 -->
          <c-col :span="24">
            <c-form-item
              v-if="model.gitp.swiftflg == 'Y'"
wangna committed
732
              label="修改内容 :77C:"
liyixun committed
733 734 735 736 737 738 739
              prop="gitamep.ametxt"
            >
              <c-input
                type="textarea"
                :disabled="model.gitamep.ametxtflg == ''"
                v-model="model.gitamep.ametxt"
                rows="4"
liyixun committed
740
                maxlength="32500"
liyixun committed
741
                show-word-limit
wangna committed
742
                placeholder="请输入修改内容 :77C:"
liyixun committed
743 744 745 746 747 748 749
              ></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
750
                label="修改内容文本:"
liyixun committed
751 752 753 754 755 756 757
                prop="trnmod.swiadd.ameblk"
              >
                <c-input
                  :disabled="model.gitamep.prtflg == 'X'"
                  type="textarea"
                  rows="4"
                  v-model="model.trnmod.swiadd.ameblk"
liyixun committed
758
                  maxlength="55250"
liyixun committed
759
                  show-word-limit
wangna committed
760
                  placeholder="请输入修改内容文本"
liyixun committed
761 762 763 764 765 766 767 768
                ></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
769
                >允许</c-checkbox
liyixun committed
770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786
              >
              <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
787
              label="附加承保金额"
liyixun committed
788 789 790 791 792 793 794
              prop="trnmod.swiadd.addamtcovs20"
            >
              <c-input
                type="textarea"
                rows="4"
                :disabled="model.trnmod.swiadd.addamtflg == ''"
                v-model="model.trnmod.swiadd.addamtcovs20"
liyixun committed
795
                maxlength="780"
liyixun committed
796
                show-word-limit
wangna committed
797
                placeholder="请输入附加承保金额"
liyixun committed
798 799 800 801 802 803 804 805
              ></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
806
                label="附加金额"
liyixun committed
807 808 809 810 811
                prop="trnmod.swiadd.addcur"
              >
                <c-input
                  v-model="model.trnmod.swiadd.addcur"
                  maxlength="3"
wangna committed
812
                  placeholder="请输入附加金额"
liyixun committed
813 814 815 816 817 818 819 820 821
                ></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"
              >
lianyang committed
822
                <c-input-currency-min
liyixun committed
823 824
                  :disabled="model.trnmod.swiadd.addamtflg == ''"
                  v-model="model.trnmod.swiadd.addamt"
wangna committed
825
                  placeholder="请输入附加金额"
liyixun committed
826
                  @blur="addamtBlur"
lianyang committed
827 828 829
                  @keyup.enter.native="$event.target.blur()"
                  class="input-currency-left"
                ></c-input-currency-min>
liyixun committed
830 831 832 833 834 835 836 837 838 839
              </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
840
                >撤销请求</c-checkbox
liyixun committed
841 842 843 844 845 846
              >
            </c-col>
            <c-col :span="6" :offset="6">
              <c-checkbox
                v-if="model.gitp.swiftflg == 'Y'"
                v-model="model.trnmod.swiadd.amemsgdonflg"
wangna committed
847
                >是否生成通知报文</c-checkbox
liyixun committed
848 849 850 851 852 853
              >
            </c-col>
          </c-col>
          <c-col :span="24">
            <c-col :span="6" :offset="6">
              <c-checkbox
liyixun committed
854
                disabled
liyixun committed
855 856
                v-if="model.gitp.swiftflg == 'Y'"
                v-model="model.gitamep.prtflg"
wangna committed
857
                >是否选择输入保函全部内容</c-checkbox
liyixun committed
858
              >
liyixun committed
859
            </c-col>
liyixun committed
860 861 862 863 864
            <c-col :span="6" :offset="6">
              <c-checkbox
                disabled
                v-if="model.gitp.swiftflg == 'Y'"
                v-model="model.gitamep.clsclmflg"
wangna committed
865
                >关闭索赔</c-checkbox
liyixun committed
866 867 868 869 870 871 872 873
              >
            </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
874
                @change="addamtflgChange"
wangna committed
875
                >附加金额</c-checkbox
liyixun committed
876 877 878 879 880 881 882
              >
            </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
883
                >是否修改修改内容</c-checkbox
liyixun committed
884 885 886
              >
            </c-col>
          </c-col>
liyixun committed
887
        </c-col>
liyixun committed
888 889 890
  </div>
</template>
<script>
liyixun committed
891
import Api from "~/service/Api";
liyixun committed
892
import commonProcess from "~/mixin/commonProcess";
liyixun committed
893 894
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Getame/Event";
liyixun committed
895
import Utils from "~/utils";
liyixun committed
896 897

export default {
liyixun committed
898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917
  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
918
    },
liyixun committed
919

liyixun committed
920 921 922 923 924 925 926 927 928 929 930 931 932
    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
933 934 935 936 937 938 939 940 941 942 943 944 945 946

    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
947 948 949
  },
  created: function () {},
};
liyixun committed
950 951 952
</script>
<style>
</style>