Amep.vue 16.6 KB
Newer Older
孟冬雪 committed
1
<template>
2
  <div class="eibs">
3 4
    <!-- ======================= 左边 ========================= -->
    <c-col :span="12" style="padding-right: 20px">
5
      <c-col :span="24">
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
        <el-form-item
          label="转让信用证业务编号"
          prop="ltdgrp.rec.ownref"
          style="width: 100%"
        >
          <c-fullbox>
            <c-input
              v-model="model.ltdgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入转让信用证业务编号"
              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"
                icon="el-icon-info"
27
              >
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="修改日期" prop="trnmod.swiadd.amedat">
          <c-date-picker
            type="date"
            v-model="model.trnmod.swiadd.amedat"
            style="width: 100%"
            placeholder="请选择修改日期"
          ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <c-col :span="13">
          <el-form-item label="原始数据" prop="ltdgrp.cbs.nom1.cur">
            <c-select
              v-model="model.ltdgrp.cbs.nom1.cur"
              maxlength="3"
              placeholder="请选择"
              :code="codes.curtxt1"
              disabled
            ></c-select>
孟冬雪 committed
53 54
          </el-form-item>
        </c-col>
55 56 57 58 59 60
        <c-col :span="11">
          <el-form-item
            label=""
            label-width="5px"
            prop="oldltdgrp.cbs.nom1.amt"
          >
孟冬雪 committed
61
            <c-input
62
              v-model="model.oldltdgrp.cbs.nom1.amt"
63
              placeholder="请输入"
64 65 66
              style="width: 100%"
              @keyup.enter.native="$event.target.blur()"
              class="m-input-currency"
67
              disabled
68
            ></c-input>
孟冬雪 committed
69 70 71
          </el-form-item>
        </c-col>
      </c-col>
72
      <c-col :span="24">
73 74 75 76
        <c-col :span="13">
          <el-form-item label="修改" prop="trnmod.swiadd.amecur">
            <c-select
              v-model="model.trnmod.swiadd.amecur"
77
              style="width: 100%"
78 79 80
              :code="codes.curtxt1"
              placeholder="请选择修改"
              disabled
81
            >
82 83
            </c-select>
          </el-form-item>
孟冬雪 committed
84
        </c-col>
85 86 87 88 89 90 91 92 93 94 95 96
        <c-col :span="11">
          <el-form-item label="" label-width="5px" prop="trnmod.swiadd.ameamt">
            <c-input
              v-model="model.trnmod.swiadd.ameamt"
              placeholder="请输入"
              @keyup.enter.native="$event.target.blur()"
              @blur="ameamtOtherDefault"
              style="width: 100%"
              class="m-input-currency"
            ></c-input>
            <!-- 回车失去焦点,失去焦点会自动触发默认事件:@keyup.enter.native="$event.target.blur()" -->
          </el-form-item>
孟冬雪 committed
97 98 99
        </c-col>
      </c-col>
      <c-col :span="24">
100
        <c-col :span="13">
WuBing committed
101
          <el-form-item label="新数据" prop="trnmod.swiadd.newcur">
孟冬雪 committed
102
            <c-select
103
              v-model="model.trnmod.swiadd.newcur"
104
              style="width: 100%"
105
              :code="codes.curtxt1"
孟冬雪 committed
106
              disabled
107
              placeholder="请选择"
孟冬雪 committed
108 109 110 111 112
            >
            </c-select>
          </el-form-item>
        </c-col>

113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136
        <c-col :span="11">
          <el-form-item label="" label-width="5px" prop="trnmod.swiadd.newamt">
            <c-input
              v-model="model.trnmod.swiadd.newamt"
              placeholder="请输入"
              @keyup.enter.native="eventFunction('trnmod.swiadd.newamt')"
              style="width: 100%"
              class="m-input-currency"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>
      <c-col :span="24">
        <el-form-item label="适用金额规范" prop="trnmod.swiadd.nomspc">
          <c-select
            v-model="model.trnmod.swiadd.nomspc"
            style="width: 100%"
            placeholder="请选择适用金额规范"
            :code="codes.nomspc"
            disabled
          >
          </c-select>
        </el-form-item>
      </c-col>
137
      <c-col :span="24">
wangna committed
138
        <el-form-item label="到期日" prop="oldltdgrp.rec.expdat">
孟冬雪 committed
139 140 141 142
          <c-date-picker
            type="date"
            v-model="model.oldltdgrp.rec.expdat"
            style="width: 100%"
wangna committed
143
            placeholder="请选择到期日"
144
            disabled
孟冬雪 committed
145 146 147
          ></c-date-picker>
        </el-form-item>
      </c-col>
148
      <c-col :span="24">
wangna committed
149
        <el-form-item label="新有效期" prop="trnmod.swiadd.newexpdat">
孟冬雪 committed
150 151
          <c-date-picker
            type="date"
152
            v-model="model.trnmod.swiadd.newexpdat"
孟冬雪 committed
153
            style="width: 100%"
wangna committed
154
            placeholder="请选择新有效期"
孟冬雪 committed
155 156 157 158
          ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="24">
wangna committed
159
        <el-form-item label="报文的目的" prop="trnmod.swiadd.purpos">
160 161 162
          <c-select
            v-model="model.trnmod.swiadd.purpos"
            style="width: 100%"
wangna committed
163
            placeholder="请选择报文的目的"
164 165 166 167
            :code="codes.purpos5"
          >
          </c-select>
        </el-form-item>
孟冬雪 committed
168
      </c-col>
169 170
      <c-col :span="24">
        <!-- 交单期 -->
WuBing committed
171
        <c-col :span="12">
172 173 174 175 176 177 178 179
          <el-form-item label="交单期" prop="oldltdgrp.rec.prepers18">
            <c-input
              v-model.number="model.oldltdgrp.rec.prepers18"
              placeholder="请输入交单期"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
WuBing committed
180 181 182 183
        <c-col  :span="1" style="margin-left: -80px">
        <el-form-item label="天"> </el-form-item>
        </c-col>
        <c-col :span="11" style="float: right">
184 185 186 187 188 189 190 191 192 193 194 195 196
          <el-form-item
            label=""
            label-width="5px"
            prop="oldltdgrp.rec.prepertxts18"
          >
            <c-input
              v-model="model.oldltdgrp.rec.prepertxts18"
              maxlength="35"
              placeholder="请输入"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
孟冬雪 committed
197
      </c-col>
198
      <c-col :span="24">
WuBing committed
199
        <c-col :span="11">
200 201 202 203 204 205 206
          <el-form-item label="新交单期" prop="trnmod.swiadd.prepers18">
            <c-input
              v-model.number="model.trnmod.swiadd.prepers18"
              placeholder="请输入新交单期"
            ></c-input>
          </el-form-item>
        </c-col>
WuBing committed
207 208 209
        <c-col  :span="1" style="margin-left: -80px">
        <el-form-item label="天"> </el-form-item>
        </c-col>
孟冬雪 committed
210

WuBing committed
211
        <c-col :span="12" style="float: right">
212 213 214 215 216 217 218 219 220
          <el-form-item label="交单期文本" prop="trnmod.swiadd.prepertxts18">
            <c-input
              v-model="model.trnmod.swiadd.prepertxts18"
              maxlength="35"
              placeholder="请输入交单期文本"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>
221
      <c-col :span="24">
wangna committed
222
        <el-form-item label="修改收费方式" prop="trnmod.swiadd.trnchato">
223 224 225
          <c-select
            v-model="model.trnmod.swiadd.trnchato"
            style="width: 100%"
wangna committed
226
            placeholder="请选择修改收费方式"
227 228 229 230 231 232
            :code="codes.trnchato"
          >
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="24">
233
        <el-form-item label="收费详情" prop="trnmod.swiadd.trnfeetxt">
孟冬雪 committed
234
          <c-input
235 236
            type="textarea"
            v-model="model.trnmod.swiadd.trnfeetxt"
孟冬雪 committed
237
            maxlength="35"
238
            show-word-limit
wangna committed
239
            placeholder="请输入收费详情"
240
            :disabled="model.trnmod.swiadd.trnchato != 'OTHR'"
孟冬雪 committed
241 242 243
          ></c-input>
        </el-form-item>
      </c-col>
244 245
    </c-col>

246 247
    <!-- ======================= 右边 ========================= -->
    <c-col :span="12" style="padding-left: 20px">
248
      <c-col :span="24">
249
        <el-form-item label="简略信息" prop="ltdgrp.rec.nam">
250
          <c-input
251 252 253 254 255 256 257
            v-model="model.ltdgrp.rec.nam"
            style="width: 100%"
            maxlength="40"
            placeholder="请输入简略信息"
            disabled
          >
          </c-input>
258 259
        </el-form-item>
      </c-col>
260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325
      <c-col :span="24">
        <c-col :span="12">
          <el-form-item label="未收到的修改" prop="trnmod.swiadd.amenbr">
            <c-input
              v-model.number="model.trnmod.swiadd.amenbr"
              style="width: 100%"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item label="实际修改编号" prop="lttamep.amenbr">
            <c-input
              v-model.number="model.lttamep.amenbr"
              placeholder="请输入实际修改编号"
              style="width: 100%"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>
      <c-col :span="24">
        <c-col :span="12">
          <c-col :span="17">
            <el-form-item
              label="浮动(+/-)"
              prop="oldltdgrp.rec.nomtop"
            >
              <c-input
                v-model.number="model.oldltdgrp.rec.nomtop"
                placeholder="请输入上浮比例"
                style="width: 100%"
                disabled
              ></c-input>
            </el-form-item>
          </c-col>

          <c-col :span="7">
            <el-form-item
              label=""
              label-width="5px"
              prop="oldltdgrp.rec.nomton"
            >
              <c-input
                v-model.number="model.oldltdgrp.rec.nomton"
                placeholder="请输入下浮比例"
                style="width: 100%"
                disabled
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>
          <c-col :span="12">
            <el-form-item
              label="最大金额"
              prop="oldltdgrp.cbs.max.amt"
            >
              <c-input
                v-model="model.oldltdgrp.cbs.max.amt"
                placeholder="请输入金额"
                style="width: 100%"
                disabled
                class="m-input-currency"
              ></c-input>
            </el-form-item>
          </c-col>
      </c-col>
326 327

      <c-col :span="24">
328 329
        <c-col :span="10">
          <el-form-item
WuBing committed
330 331
            label="修改总金额"
            prop="ltdgrp.cbs.nom1.cur"
332 333
          >
            <c-select
WuBing committed
334
              v-model="model.ltdgrp.cbs.nom1.cur"
335 336
              style="width: 100%"
              placeholder="请选择"
WuBing committed
337
              :code="codes.curtxt1"
338 339 340 341 342 343 344
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="14">
          <el-form-item label="" label-width="5px" prop="lttamep.engamt">
WuBing committed
345
            <c-input-currency-min
346 347 348 349
              v-model="model.lttamep.engamt"
              placeholder="请输入"
              disabled
              class="m-input-currency"
WuBing committed
350
            ></c-input-currency-min>
351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406
          </el-form-item>
        </c-col>
      </c-col>

      <c-col :span="24">
        <c-col :span="12">
          <c-col :span="17">
            <el-form-item
              label="浮动(+/-)"
              prop="trnmod.swiadd.newnomtop"
            >
              <c-input
                v-model.number="model.trnmod.swiadd.newnomtop"
                placeholder="请输入"
                style="width: 100%"
                @keyup.enter.native="$event.target.blur()"
              ></c-input>
            </el-form-item>
          </c-col>

          <c-col :span="7">
            <el-form-item
              label=""
              label-width="5px"
              prop="trnmod.swiadd.newnomton"
            >
              <c-input
                v-model.number="model.trnmod.swiadd.newnomton"
                placeholder="请输入"
                style="width: 100%"
                @keyup.enter.native="$event.target.blur()"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>
          <c-col :span="12">
            <el-form-item label="最大金额" prop="lttamep.maxamt">
              <c-input
                v-model="model.lttamep.maxamt"
                placeholder="请输入金额"
                disabled
                class="m-input-currency"
              ></c-input>
            </el-form-item>
          </c-col>
      </c-col>

      <c-col :span="24">
        <el-form-item label="装运日期" prop="oldltdgrp.rec.shpdat">
          <c-date-picker
            type="date"
            v-model="model.oldltdgrp.rec.shpdat"
            style="width: 100%"
            placeholder="请选择装运日期"
            disabled
          ></c-date-picker>
孟冬雪 committed
407
        </el-form-item>
408
      </c-col>
孟冬雪 committed
409 410

      <c-col :span="24">
411 412 413 414 415 416 417
        <el-form-item label="新装运日期" prop="trnmod.swiadd.newshpdat">
          <c-date-picker
            type="date"
            v-model="model.trnmod.swiadd.newshpdat"
            style="width: 100%"
            placeholder="请选择新装运日期"
          ></c-date-picker>
418 419 420 421 422 423
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <c-col :span="13">
          <el-form-item label="" prop="ltdgrp.cbs.max2.cur">
孟冬雪 committed
424
            <c-select
425 426
              v-model="model.ltdgrp.cbs.max2.cur"
              maxlength="3"
wangna committed
427
              placeholder="请选择"
428 429 430
              :code="codes.curtxt1"
              disabled
            ></c-select>
孟冬雪 committed
431 432
          </el-form-item>
        </c-col>
433 434 435 436
        <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
437
              placeholder="请输入"
438 439 440 441 442 443
              style="width: 100%"
              @keyup.enter.native="$event.target.blur()"
              class="m-input-currency"
              disabled
            ></c-input>
          </el-form-item>
孟冬雪 committed
444 445 446
        </c-col>
      </c-col>

447 448
      <c-col :span="24">
        <el-form-item label="" prop="trnmod.swiadd.addamtcov">
孟冬雪 committed
449 450 451 452 453
          <c-input
            type="textarea"
            v-model="model.trnmod.swiadd.addamtcov"
            maxlength="35"
            show-word-limit
454 455
            placeholder=""
            disabled
孟冬雪 committed
456 457 458
          ></c-input>
        </el-form-item>
      </c-col>
459

孟冬雪 committed
460
      <c-col :span="24">
461 462 463 464 465 466 467 468 469 470 471 472 473 474 475
        <c-col :span="12">
          <el-form-item label="" prop="lttp.aamp.aammod.addamtflg"  class="checkbox-left">
            <c-checkbox v-model="model.lttp.aamp.aammod.addamtflg" 
              >附加金额</c-checkbox
            >
          </el-form-item>
        </c-col>

        <c-col :span="12">
          <el-form-item label="" prop="trnmod.swiadd.reqcan"  class="checkbox-left">
            <c-checkbox v-model="model.trnmod.swiadd.reqcan"
              >取消请求</c-checkbox
            >
          </el-form-item>
        </c-col>
孟冬雪 committed
476
      </c-col>
477
    </c-col>
478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495

    <!-- 页面布局由上到下,不是直接分左右 -->

    <!-- =============================顶部============================ -->

    <!-- ====================第二行================= -->

    <!-- ===========第三行开始第三模块---金额部分============= -->

    <!-- Amount Specification -->

    <!-- ===================日期部分的左边================= -->

    <!-- ===================日期部分的右边================= -->

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

    <!-- ================================下部(右边)================================= -->
孟冬雪 committed
496 497 498 499
  </div>
</template>
<script>
import Api from "~/service/Api";
wangren committed
500
import commonProcess from "~/mixin/commonProcess";
孟冬雪 committed
501 502
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttame/Event";
WuBing committed
503
import Utils from "~/utils";
孟冬雪 committed
504 505 506 507

export default {
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
508
  mixins: [commonProcess],
孟冬雪 committed
509 510 511
  data() {
    return {};
  },
512 513 514 515 516 517 518 519 520 521 522
  methods: {
    ...Event,
    onSeainf() {},
    ameamtOtherDefault() {
      this.executeDefault("lttamep.swiadd.newamt").then((res) => {
        if (res.respCode == SUCCESS) {
          Utils.copyValueFromVO(this.model, res.data);
        }
      });
    },
  },
孟冬雪 committed
523 524 525 526
  created: function () {},
};
</script>
<style>
527
.lttame_amep_amt {
孟冬雪 committed
528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548
  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>