Amep.vue 18.5 KB
Newer Older
孟冬雪 committed
1 2
<template>
  <div class="eibs-tab">
3 4 5 6 7 8
    <!-- 页面布局由上到下,不是直接分左右 -->
    
      <!-- =============================顶部============================ -->
      <c-col :span="24">
        <c-col :span="11">
          <el-form-item
wangna committed
9
            label="转让信用证业务编号"
10 11 12 13 14 15 16
            prop="ltdgrp.rec.ownref"
            style="width: 100%"
          >
            <c-fullbox>
              <c-input
                v-model="model.ltdgrp.rec.ownref"
                maxlength="16"
wangna committed
17
                placeholder="请输入转让信用证业务编号"
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
                style="width: 95%"
                :disabled="true"
              >
              </c-input>
              <template slot="footer">
                <c-button
                  style="margin: 0 0 0 0; padding: 0 10px"
                  size="small"
                  type="primary"
                  @click="onSeainf"
                >
                  <span
                    style="
                      font-size: 15px;
                      font-family: '宋体';
                      font-weight: bold;
                    "
                    >i</span
                  >
                </c-button>
              </template>
            </c-fullbox>
孟冬雪 committed
40 41
          </el-form-item>
        </c-col>
42
        <c-col :span="11" :offset="1">
wangna committed
43
          <el-form-item label="简略信息" prop="ltdgrp.rec.nam">
孟冬雪 committed
44
            <c-input
45 46 47 48 49 50 51
              text-align="middle"
              v-model="model.ltdgrp.rec.nam"
              maxlength="40"
              placeholder="请输入"
              disabled
            >
            </c-input>
孟冬雪 committed
52 53 54
          </el-form-item>
        </c-col>
      </c-col>
55 56 57 58 59
    
    <!-- ====================第二行================= -->
    
      <c-col :span="24">
        <c-col :span="11">
wangna committed
60
          <el-form-item label="修改日期" prop="trnmod.swiadd.amedat">
61 62 63 64
            <c-date-picker
              type="date"
              v-model="model.trnmod.swiadd.amedat"
              style="width: 100%"
wangna committed
65
              placeholder="请选择修改日期"
66 67 68 69 70 71
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <c-col :span="11" :offset="1">
          <c-col :span="12">
            <el-form-item
wangna committed
72
              label="未收到的修改"
73 74 75 76 77 78 79 80 81
              prop="trnmod.swiadd.amenbr"
            >
              <c-input
                v-model.number="model.trnmod.swiadd.amenbr"
                style="width: 90%"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="11" :offset="1">
wangna committed
82
            <el-form-item label="实际修改编号" prop="lttamep.amenbr">
83 84
              <c-input
                v-model.number="model.lttamep.amenbr"
wangna committed
85
                placeholder="请输入实际修改编号"
86 87 88 89 90 91 92 93 94 95 96
                style="width: 100%"
                disabled
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>
      </c-col>
    

    <!-- ===========第三行开始第三模块---金额部分============= -->
    
潘际乾 committed
97
      <c-col :span="24">
孟冬雪 committed
98
        <c-col :span="11">
wangna committed
99
          <span class="lttame_amep_amt">面额</span>
孟冬雪 committed
100 101
          <c-col :span="24">
            <c-col :span="13">
wangna committed
102
              <el-form-item label="原始数据" prop="ltdgrp.cbs.nom1.cur">
孟冬雪 committed
103 104 105
                <c-select
                  v-model="model.ltdgrp.cbs.nom1.cur"
                  maxlength="3"
wangna committed
106
                  placeholder="请选择"
107
                  :code="codes.curtxt1"
孟冬雪 committed
108 109 110 111 112 113 114
                  disabled
                ></c-select>
              </el-form-item>
            </c-col>
            <c-col :span="11">
              <el-form-item
                label=""
115
                label-width="5px"
孟冬雪 committed
116 117
                prop="oldltdgrp.cbs.nom1.amt"
              >
118
                <c-input
孟冬雪 committed
119
                  v-model="model.oldltdgrp.cbs.nom1.amt"
wangna committed
120
                  placeholder="请输入"
121 122 123
                  style="width: 100%"
                  @keyup.enter.native="$event.target.blur()"
                  class="m-input-currency"
孟冬雪 committed
124
                  disabled
125
                ></c-input>
孟冬雪 committed
126 127 128 129
              </el-form-item>
            </c-col>

            <c-col :span="13">
wangna committed
130
              <el-form-item label="修改" prop="trnmod.swiadd.amecur">
孟冬雪 committed
131 132 133
                <c-select
                  v-model="model.trnmod.swiadd.amecur"
                  style="width: 100%"
134
                  :code="codes.curtxt1"
wangna committed
135
                  placeholder="请选择修改"
孟冬雪 committed
136 137 138 139 140 141 142 143
                  disabled
                >
                </c-select>
              </el-form-item>
            </c-col>
            <c-col :span="11">
              <el-form-item
                label=""
144
                label-width="5px"
孟冬雪 committed
145 146
                prop="trnmod.swiadd.ameamt"
              >
147
                <c-input
孟冬雪 committed
148
                  v-model="model.trnmod.swiadd.ameamt"
wangna committed
149
                  placeholder="请输入"
150 151 152 153 154 155
                  @keyup.enter.native="$event.target.blur()"
                  @blur="ameamtOtherDefault"
                  style="width: 100%"
                  class="m-input-currency"
                ></c-input>
                <!-- 回车失去焦点,失去焦点会自动触发默认事件:@keyup.enter.native="$event.target.blur()" -->
孟冬雪 committed
156 157 158 159
              </el-form-item>
            </c-col>

            <c-col :span="13">
wangna committed
160
              <el-form-item label="新日期" prop="trnmod.swiadd.newcur">
孟冬雪 committed
161 162 163
                <c-select
                  v-model="model.trnmod.swiadd.newcur"
                  style="width: 100%"
164
                  :code="codes.curtxt1"
孟冬雪 committed
165
                  disabled
wangna committed
166
                  placeholder="请选择"
孟冬雪 committed
167 168 169 170 171 172 173 174
                >
                </c-select>
              </el-form-item>
            </c-col>

            <c-col :span="11">
              <el-form-item
                label=""
175
                label-width="5px"
孟冬雪 committed
176 177
                prop="trnmod.swiadd.newamt"
              >
178
                <c-input
孟冬雪 committed
179
                  v-model="model.trnmod.swiadd.newamt"
wangna committed
180
                  placeholder="请输入"
181 182 183 184
                  @keyup.enter.native="eventFunction('trnmod.swiadd.newamt')"
                  style="width: 100%"
                  class="m-input-currency"
                ></c-input>
孟冬雪 committed
185 186 187 188 189
              </el-form-item>
            </c-col>
          </c-col>
        </c-col>

190
        <!-- Tolerance +/- % -->
孟冬雪 committed
191 192 193 194 195 196
        <c-col :span="4" :offset="1">
          <span class="lttame_amed_nomtx">Tolerance +/- %</span>
          <c-col :span="24">
            <c-col :span="12">
              <el-form-item
                label=""
197
                label-width="5px"
孟冬雪 committed
198 199 200
                prop="oldltdgrp.rec.nomtop"
              >
                <c-input
201
                  v-model.number="model.oldltdgrp.rec.nomtop"
wangna committed
202
                  placeholder="请输入"
203 204
                  style="width: 100%"
                  disabled
孟冬雪 committed
205 206 207 208 209 210 211
                ></c-input>
              </el-form-item>
            </c-col>

            <c-col :span="12">
              <el-form-item
                label=""
212
                label-width="5px"
孟冬雪 committed
213 214 215
                prop="oldltdgrp.rec.nomton"
              >
                <c-input
216
                  v-model.number="model.oldltdgrp.rec.nomton"
wangna committed
217
                  placeholder="请输入"
218 219
                  style="width: 100%"
                  disabled
孟冬雪 committed
220 221 222 223 224 225 226 227 228
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <span class="lttame_amed_newnomtx">Total Amendment</span>
            </c-col>
            <c-col :span="12">
              <el-form-item
                label=""
229
                label-width="5px"
孟冬雪 committed
230 231 232
                prop="trnmod.swiadd.newnomtop"
              >
                <c-input
233
                  v-model.number="model.trnmod.swiadd.newnomtop"
wangna committed
234
                  placeholder="请输入"
235 236
                  style="width: 100%"
                  @keyup.enter.native="$event.target.blur()"
孟冬雪 committed
237 238 239 240 241 242 243
                ></c-input>
              </el-form-item>
            </c-col>

            <c-col :span="12">
              <el-form-item
                label=""
244
                label-width="5px"
孟冬雪 committed
245 246 247
                prop="trnmod.swiadd.newnomton"
              >
                <c-input
248
                  v-model.number="model.trnmod.swiadd.newnomton"
wangna committed
249
                  placeholder="请输入"
250 251
                  style="width: 100%"
                  @keyup.enter.native="$event.target.blur()"
孟冬雪 committed
252 253 254 255 256 257 258 259
                ></c-input>
              </el-form-item>
            </c-col>
          </c-col>
        </c-col>
        <c-col :span="7">
          <span class="lttame_amed_nomtx">Maximum Amount</span>
          <c-col :span="24">
260
            <c-col :span="10">
孟冬雪 committed
261 262 263 264 265 266 267 268
              <el-form-item
                label=""
                label-width="20px"
                prop="oldltdgrp.cbs.max.cur"
              >
                <c-select
                  v-model="model.oldltdgrp.cbs.max.cur"
                  maxlength="3"
wangna committed
269
                  placeholder="请选择"
孟冬雪 committed
270 271 272 273 274
                  :code="codes.cur"
                  disabled
                ></c-select>
              </el-form-item>
            </c-col>
275
            <c-col :span="14">
孟冬雪 committed
276 277
              <el-form-item
                label=""
278
                label-width="5px"
孟冬雪 committed
279 280
                prop="oldltdgrp.cbs.max.amt"
              >
281
                <c-input
孟冬雪 committed
282
                  v-model="model.oldltdgrp.cbs.max.amt"
wangna committed
283
                  placeholder="请输入"
孟冬雪 committed
284 285
                  style="width: 100%"
                  disabled
286 287
                  class="m-input-currency"
                ></c-input>
孟冬雪 committed
288 289 290
              </el-form-item>
            </c-col>

291
            <c-col :span="10">
孟冬雪 committed
292 293 294 295
              <el-form-item label="" label-width="20px" prop="lttamep.engcur">
                <c-select
                  v-model="model.lttamep.engcur"
                  style="width: 100%"
wangna committed
296
                  placeholder="请选择"
孟冬雪 committed
297 298 299 300 301 302
                  :code="codes.cur"
                  disabled
                >
                </c-select>
              </el-form-item>
            </c-col>
303 304 305
            <c-col :span="14">
              <el-form-item label="" label-width="5px" prop="lttamep.engamt">
                <c-input
孟冬雪 committed
306
                  v-model="model.lttamep.engamt"
wangna committed
307
                  placeholder="请输入"
孟冬雪 committed
308
                  disabled
309 310
                  class="m-input-currency"
                ></c-input>
孟冬雪 committed
311 312 313
              </el-form-item>
            </c-col>

314
            <c-col :span="10">
孟冬雪 committed
315 316 317 318
              <el-form-item label="" label-width="20px" prop="lttamep.maxcur">
                <c-select
                  v-model="model.lttamep.maxcur"
                  style="width: 100%"
wangna committed
319
                  placeholder="请选择"
孟冬雪 committed
320 321 322 323 324 325
                  :code="codes.cur"
                  disabled
                >
                </c-select>
              </el-form-item>
            </c-col>
326 327 328
            <c-col :span="14">
              <el-form-item label="" label-width="5px" prop="lttamep.maxamt">
                <c-input
孟冬雪 committed
329
                  v-model="model.lttamep.maxamt"
wangna committed
330
                  placeholder="请输入"
孟冬雪 committed
331
                  disabled
332 333
                  class="m-input-currency"
                ></c-input>
孟冬雪 committed
334 335 336 337 338
              </el-form-item>
            </c-col>
          </c-col>
        </c-col>
      </c-col>
339 340 341 342
    

    <!-- Amount Specification -->
    
孟冬雪 committed
343 344 345
      <c-col :span="24">
        <c-col :span="11">
          <el-form-item
wangna committed
346
            label="适用金额规范"
孟冬雪 committed
347 348 349 350
            prop="trnmod.swiadd.nomspc"
          >
            <c-select
              v-model="model.trnmod.swiadd.nomspc"
351
              style="width: 100%"
wangna committed
352
              placeholder="请选择适用金额规范"
孟冬雪 committed
353 354 355 356 357 358 359
              :code="codes.nomspc"
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>
      </c-col>
360
    
孟冬雪 committed
361

362
    <!-- ===================日期部分的左边================= -->
孟冬雪 committed
363

364 365
    <c-col :span="11">
      <c-col :span="24">
wangna committed
366
        <el-form-item label="到期日" prop="oldltdgrp.rec.expdat">
孟冬雪 committed
367 368 369 370
          <c-date-picker
            type="date"
            v-model="model.oldltdgrp.rec.expdat"
            style="width: 100%"
wangna committed
371
            placeholder="请选择到期日"
372
            disabled
孟冬雪 committed
373 374 375
          ></c-date-picker>
        </el-form-item>
      </c-col>
376
      <c-col :span="24">
wangna committed
377
        <el-form-item label="新有效期" prop="trnmod.swiadd.newexpdat">
孟冬雪 committed
378 379
          <c-date-picker
            type="date"
380
            v-model="model.trnmod.swiadd.newexpdat"
孟冬雪 committed
381
            style="width: 100%"
wangna committed
382
            placeholder="请选择新有效期"
孟冬雪 committed
383 384 385
          ></c-date-picker>
        </el-form-item>
      </c-col>
386 387 388 389
    </c-col>
    <!-- ===================日期部分的右边================= -->
    <c-col :span="11" :offset="1">
      <c-col :span="24">
wangna committed
390
        <el-form-item label="装运日期" prop="oldltdgrp.rec.shpdat">
孟冬雪 committed
391 392
          <c-date-picker
            type="date"
393
            v-model="model.oldltdgrp.rec.shpdat"
孟冬雪 committed
394
            style="width: 100%"
wangna committed
395
            placeholder="请选择装运日期"
396
            disabled
孟冬雪 committed
397 398 399 400
          ></c-date-picker>
        </el-form-item>
      </c-col>

401
      <c-col :span="24">
wangna committed
402
        <el-form-item label="新装运日期" prop="trnmod.swiadd.newshpdat">
孟冬雪 committed
403 404 405 406
          <c-date-picker
            type="date"
            v-model="model.trnmod.swiadd.newshpdat"
            style="width: 100%"
wangna committed
407
            placeholder="请选择新装运日期"
孟冬雪 committed
408 409
          ></c-date-picker>
        </el-form-item>
410 411 412 413 414 415
      </c-col>
    </c-col>

    <!--==========================下部(左边)==================== -->

    <c-col :span="11">
孟冬雪 committed
416
      <c-col :span="24">
wangna committed
417
        <el-form-item label="报文的目的" prop="trnmod.swiadd.purpos">
418 419 420
          <c-select
            v-model="model.trnmod.swiadd.purpos"
            style="width: 100%"
wangna committed
421
            placeholder="请选择报文的目的"
422 423 424 425
            :code="codes.purpos5"
          >
          </c-select>
        </el-form-item>
孟冬雪 committed
426
      </c-col>
wangna committed
427
      <!-- 交单期 -->
428
      <c-col :span="13">
孟冬雪 committed
429
        <el-form-item
wangna committed
430
          label="交单期"
孟冬雪 committed
431 432 433
          prop="oldltdgrp.rec.prepers18"
        >
          <c-input
434
            v-model.number="model.oldltdgrp.rec.prepers18"
wangna committed
435
            placeholder="请输入交单期"
436
            disabled
孟冬雪 committed
437 438 439
          ></c-input>
        </el-form-item>
      </c-col>
440
      <c-col :span="11">
孟冬雪 committed
441
        <el-form-item
442 443 444
          label=""
          label-width="5px"
          prop="oldltdgrp.rec.prepertxts18"
孟冬雪 committed
445 446
        >
          <c-input
447 448
            v-model="model.oldltdgrp.rec.prepertxts18"
            maxlength="35"
wangna committed
449
            placeholder="请输入"
450
            disabled
孟冬雪 committed
451 452 453 454
          ></c-input>
        </el-form-item>
      </c-col>

455
      <c-col :span="24">
wangna committed
456
        <el-form-item label="修改收费方式" prop="trnmod.swiadd.trnchato">
457 458 459
          <c-select
            v-model="model.trnmod.swiadd.trnchato"
            style="width: 100%"
wangna committed
460
            placeholder="请选择修改收费方式"
461 462 463 464 465 466 467
            :code="codes.trnchato"
          >
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="24">
孟冬雪 committed
468
        <el-form-item
wangna committed
469
          label="收费详情"
470
          prop="trnmod.swiadd.trnfeetxt"
孟冬雪 committed
471 472
        >
          <c-input
473 474
            type="textarea"
            v-model="model.trnmod.swiadd.trnfeetxt"
孟冬雪 committed
475
            maxlength="35"
476
            show-word-limit
wangna committed
477
            placeholder="请输入收费详情"
478
            :disabled="model.trnmod.swiadd.trnchato!='OTHR'"
孟冬雪 committed
479 480 481
          ></c-input>
        </el-form-item>
      </c-col>
482 483 484
    </c-col>

    <!-- ================================下部(右边)================================= -->
孟冬雪 committed
485

486 487 488
    <c-col :span="11" :offset="1">
      <c-col :span="24">
        <el-form-item
wangna committed
489
          label="新交单期"
490 491 492 493
          prop="trnmod.swiadd.prepers18"
        >
          <c-input
            v-model.number="model.trnmod.swiadd.prepers18"
wangna committed
494
            placeholder="请输入新交单期"
495 496 497 498 499
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
孟冬雪 committed
500
        <el-form-item
wangna committed
501
          label="交单期文本"
孟冬雪 committed
502 503 504 505 506
          prop="trnmod.swiadd.prepertxts18"
        >
          <c-input
            v-model="model.trnmod.swiadd.prepertxts18"
            maxlength="35"
wangna committed
507
            placeholder="请输入交单期文本"
孟冬雪 committed
508 509
          ></c-input>
        </el-form-item>
510
      </c-col>
孟冬雪 committed
511 512

      <c-col :span="24">
513 514
        <el-form-item label="" prop="lttp.aamp.aammod.addamtflg">
          <c-checkbox v-model="model.lttp.aamp.aammod.addamtflg"
wangna committed
515
            >附加金额</c-checkbox
516 517 518 519 520 521 522
          >
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <c-col :span="13">
          <el-form-item label="" prop="ltdgrp.cbs.max2.cur">
孟冬雪 committed
523
            <c-select
524 525
              v-model="model.ltdgrp.cbs.max2.cur"
              maxlength="3"
wangna committed
526
              placeholder="请选择"
527 528 529
              :code="codes.curtxt1"
              disabled
            ></c-select>
孟冬雪 committed
530 531
          </el-form-item>
        </c-col>
532 533 534 535
        <c-col :span="11">
          <el-form-item label="" label-width="5px" prop="trnmod.swiadd.addamt">
            <c-input
              v-model="model.trnmod.swiadd.addamt"
wangna committed
536
              placeholder="请输入"
537 538 539 540 541 542
              style="width: 100%"
              @keyup.enter.native="$event.target.blur()"
              class="m-input-currency"
              disabled
            ></c-input>
          </el-form-item>
孟冬雪 committed
543 544 545
        </c-col>
      </c-col>

546 547
      <c-col :span="24">
        <el-form-item label="" prop="trnmod.swiadd.addamtcov">
孟冬雪 committed
548 549 550 551 552
          <c-input
            type="textarea"
            v-model="model.trnmod.swiadd.addamtcov"
            maxlength="35"
            show-word-limit
553 554
            placeholder=""
            disabled
孟冬雪 committed
555 556 557
          ></c-input>
        </el-form-item>
      </c-col>
558

孟冬雪 committed
559
      <c-col :span="24">
560 561
        <el-form-item label="" prop="trnmod.swiadd.reqcan">
          <c-checkbox v-model="model.trnmod.swiadd.reqcan"
wangna committed
562
            >取消请求</c-checkbox
563 564
          >
        </el-form-item>
孟冬雪 committed
565
      </c-col>
566
    </c-col>
孟冬雪 committed
567 568 569 570
  </div>
</template>
<script>
import Api from "~/service/Api";
wangren committed
571
import commonProcess from "~/mixin/commonProcess";
孟冬雪 committed
572 573 574 575 576 577
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttame/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
578
  mixins: [commonProcess],
孟冬雪 committed
579 580 581
  data() {
    return {};
  },
582 583 584 585 586 587 588 589 590 591 592
  methods: {
    ...Event,
    onSeainf() {},
    ameamtOtherDefault() {
      this.executeDefault("lttamep.swiadd.newamt").then((res) => {
        if (res.respCode == SUCCESS) {
          Utils.copyValueFromVO(this.model, res.data);
        }
      });
    },
  },
孟冬雪 committed
593 594 595 596
  created: function () {},
};
</script>
<style>
597
.lttame_amep_amt {
孟冬雪 committed
598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618
  margin-left: 150px;
  height: 16px;
  color: #606266;
  line-height: 16px;
  font-size: 12px;
}
.lttame_amed_nomtx {
  margin-left: 20px;
  height: 16px;
  color: #606266;
  line-height: 16px;
  font-size: 12px;
}
.lttame_amed_newnomtx {
  margin-left: 20px;
  height: 34px;
  line-height: 34px;
  color: #606266;
  font-size: 12px;
}
</style>