Utlp1.vue 15.1 KB
Newer Older
fanyanyan committed
1 2
<template>
  <div class="eibs-tab">
3 4 5
    <!-- left -->
    <c-col :span="11">
      <c-col :span="24">
Wuyuqiu committed
6
        <el-form-item
wangna committed
7
          label="信用证编号"
Wuyuqiu committed
8 9 10 11
          prop="ledgrp.rec.ownref"
          style="width: 100%"
        >
          <c-fullbox>
fanyanyan committed
12 13
            <c-input
              v-model="model.ledgrp.rec.ownref"
Wuyuqiu committed
14
              maxlength="8"
wangna committed
15
              placeholder="请输入信用证编号"
Wuyuqiu committed
16
              :disabled="true"
fanyanyan committed
17
            ></c-input>
Wuyuqiu committed
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
            <template slot="footer">
              <c-button
                style="margin-left: 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf"
              >
                <span
                  style="
                    font-size: 15px;
                    font-family: '宋体';
                    font-weight: bold;
                  "
                  >i</span
                >
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
37 38
      </c-col>
      <c-col :span="24">
Wuyuqiu committed
39
        <el-form-item
wangna committed
40
          label="转让信用证编号"
Wuyuqiu committed
41 42 43 44
          prop="ltdgrp.rec.ownref"
          style="width: 100%"
        >
          <c-fullbox>
fanyanyan committed
45 46
            <c-input
              v-model="model.ltdgrp.rec.ownref"
Wuyuqiu committed
47
              maxlength="8"
wangna committed
48
              placeholder="请输入转让信用证编号"
Wuyuqiu committed
49
              :disabled="true"
fanyanyan committed
50
            ></c-input>
Wuyuqiu committed
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
            <template slot="footer">
              <c-button
                style="margin-left: 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf"
              >
                <span
                  style="
                    font-size: 15px;
                    font-family: '宋体';
                    font-weight: bold;
                  "
                  >i</span
                >
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
70 71
      </c-col>
      <c-col :span="24">
wangna committed
72
        <el-form-item label="信用证金额" prop="ltdgrp.cbs.nom1.cur">
73 74
          <c-fullbox>
            <c-input
fanyanyan committed
75 76
              v-model="model.ltdgrp.cbs.nom1.cur"
              maxlength="3"
77
              style="width: 50%"
wangna committed
78
              placeholder="请输入信用证金额"
79 80
              disabled
            ></c-input>
fanyanyan committed
81 82
            <c-input
              v-model="model.ltdgrp.cbs.nom1.amt"
83
              style="width: 50%"
wangna committed
84
              placeholder="请输入"
85
              disabled
fanyanyan committed
86
            ></c-input>
87 88 89 90 91
            <template slot="footer">
              <c-checkbox
                v-model="model.bttp.aammod.addamtflg"
                style="margin-left: 10px"
                disabled
wangna committed
92
                >附加金额</c-checkbox
93 94 95 96 97 98 99
              >
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>

      <c-col :span="24">
wangna committed
100
        <el-form-item label="余额" prop="ltdgrp.cbs.opn1.cur">
101 102
          <c-fullbox>
            <c-input
fanyanyan committed
103 104
              v-model="model.ltdgrp.cbs.opn1.cur"
              maxlength="3"
105
              style="width: 50%"
wangna committed
106
              placeholder="请输入余额"
107
              disabled
fanyanyan committed
108 109
            ></c-input>
            <c-input
110 111
              v-model="model.ltdgrp.cbs.opn1.amt"
              style="width: 50%"
wangna committed
112
              placeholder="请输入"
113
              disabled
fanyanyan committed
114
            ></c-input>
115 116 117 118 119
          </c-fullbox>
        </el-form-item>
      </c-col>

      <c-col :span="24">
wangna committed
120
        <c-form-item label="被授权的银行当事人" prop="ltdgrp.avbnam">
121 122 123
          <c-input
            v-model="model.ltdgrp.avbnam"
            maxlength="40"
wangna committed
124
            placeholder="请输入被授权的银行当事人"
125 126 127 128 129 130 131 132 133 134 135 136 137
            disabled
          ></c-input>
        </c-form-item>
      </c-col>

      <c-col :span="24">
        <c-col :span="12">
          <el-form-item label="by" prop="ltdgrp.rec.avbby">
            <c-fullbox>
              <c-select
                v-model="model.ltdgrp.rec.avbby"
                maxlength="3"
                style="width: 100%"
138
                placeholder="请输入"
139 140 141 142
                disabled
                :code="codes.avbby"
              ></c-select>
            </c-fullbox>
fanyanyan committed
143 144
          </el-form-item>
        </c-col>
145
        <c-col :span="12">
wangna committed
146
          <el-form-item label="装运日期" prop="ltdgrp.rec.shpdat">
fanyanyan committed
147 148 149 150
            <c-date-picker
              type="date"
              v-model="model.ltdgrp.rec.shpdat"
              style="width: 100%"
wangna committed
151
              placeholder="请选择装运日期"
152
              disabled
fanyanyan committed
153 154 155
            ></c-date-picker>
          </el-form-item>
        </c-col>
156 157 158 159
      </c-col>

      <c-col :span="24">
        <c-col :span="12">
wangna committed
160
          <el-form-item label="开证日期及其形式" prop="ltdgrp.rec.opndat">
fanyanyan committed
161 162 163 164
            <c-date-picker
              type="date"
              v-model="model.ltdgrp.rec.opndat"
              style="width: 100%"
wangna committed
165
              placeholder="请选择开证日期及其形式"
166
              disabled
fanyanyan committed
167 168 169
            ></c-date-picker>
          </el-form-item>
        </c-col>
170 171 172 173
        <c-col :span="12">
          <c-input
            v-model="model.ltdgrp.rec.lcrtyp"
            maxlength="40"
174
            placeholder="请输入"
175 176 177
            disabled
            :code="codes.lcrtyp1"
          ></c-input>
fanyanyan committed
178
        </c-col>
179 180 181 182
      </c-col>

      <c-col :span="24">
        <c-col :span="12">
wangna committed
183
          <el-form-item label="到期日及其到期地点" prop="ltdgrp.rec.expdat">
fanyanyan committed
184 185 186 187
            <c-date-picker
              type="date"
              v-model="model.ltdgrp.rec.expdat"
              style="width: 100%"
188
              placeholder="请选择到期日"
189
              disabled
fanyanyan committed
190 191 192 193
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <c-col :span="12">
194 195 196
          <c-input
            v-model="model.ltdgrp.rec.expplc"
            maxlength="40"
197
            placeholder="请输入到期地点"
198 199 200 201 202 203 204 205 206
            disabled
          ></c-input>
        </c-col>
      </c-col>
    </c-col>

    <!-- right -->
    <c-col :span="11" :offset="1">
      <c-col :span="24">
wangna committed
207
        <el-form-item label="简略信息" prop="ledgrp.rec.nam">
208 209 210
          <c-input
            v-model="model.ledgrp.rec.nam"
            maxlength="40"
wangna committed
211
            placeholder="请输入简略信息"
212 213 214 215 216
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
wangna committed
217
        <el-form-item label="简略信息" prop="ltdgrp.rec.nam">
218 219 220
          <c-input
            v-model="model.ltdgrp.rec.nam"
            maxlength="40"
wangna committed
221
            placeholder="请输入简略信息"
222 223 224 225 226 227 228 229
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <c-ptsmsg
          :model="model"
          :argadr="{
wangna committed
230
            title: '第一受益人',
231 232 233 234 235
            grp: 'btdgrp',
            rol: 'be1',
          }"
          :enRef="true"
          :enNam="true"
Wuyuqiu committed
236 237
          :disabled="false"
          :disabled1="true"
238 239 240 241 242 243
        ></c-ptsmsg>
      </c-col>
      <c-col :span="24">
        <c-ptsmsg
          :model="model"
          :argadr="{
wangna committed
244
            title: '第二受益人',
245 246 247 248 249
            grp: 'btdgrp',
            rol: 'be2',
          }"
          :enRef="true"
          :enNam="true"
Wuyuqiu committed
250 251
          :disabled="false"
          :disabled1="true"
252 253 254 255 256 257
        ></c-ptsmsg>
      </c-col>
      <c-col :span="24">
        <c-ptsmsg
          :model="model"
          :argadr="{
wangna committed
258
            title: '寄单行',
259 260 261 262 263
            grp: 'btdgrp',
            rol: 'prb',
          }"
          :enRef="true"
          :enNam="true"
Wuyuqiu committed
264 265
          :disabled="false"
          :disabled1="true"
266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281
        ></c-ptsmsg>
      </c-col>
    </c-col>

    <c-col :span="24">
      <el-form-item style="margin-left: -150px">
        <el-divider />
      </el-form-item>
    </c-col>

    <!-- next part -->
    <!-- left -->
    <c-col :span="11">
      <c-col :span="24">
        <c-col :span="20">
          <el-form-item
282
            label="单据编号"
283 284 285
            prop="btdgrp.rec.ownref"
            style="width: 100%"
          >
fanyanyan committed
286 287 288
            <c-input
              v-model="model.btdgrp.rec.ownref"
              maxlength="16"
289
              placeholder="请输入单据编号"
290 291
              style="width: 95%"
              disabled
fanyanyan committed
292 293 294
            ></c-input>
          </el-form-item>
        </c-col>
295 296 297 298 299 300 301 302 303 304 305
        <c-col :span="1">
          <c-button
            style="margin: 0 10px 0 0; padding: 0 12px"
            size="small"
            type="primary"
            @click="onSeainf"
          >
            <span
              style="font-size: 15px; font-family: '宋体'; font-weight: bold"
              >i</span
            >
fanyanyan committed
306 307
          </c-button>
        </c-col>
308 309 310 311 312 313 314 315 316 317
        <c-col :span="2" :offset="1" style="text-align: right">
          <c-button
            style="margin: 0 0"
            size="small"
            type="primary"
            @click="onBttmodButgetref"
            :disabled="
              model.ltdgrp.rec.inr && !model.btdgrp.rec.ownref ? false : true
            "
          >
318
            获取
319
          </c-button>
fanyanyan committed
320
        </c-col>
321 322 323
      </c-col>
      <c-col :span="24">
        <el-form-item
324
          label="单据类型"
325 326 327 328 329 330
          prop="btdgrp.rec.doctypcod"
          style="width: 100%"
        >
          <c-select
            v-model="model.btdgrp.rec.doctypcod"
            style="width: 100%"
331
            placeholder="请选择单据类型"
332 333 334 335 336 337 338 339 340 341 342 343 344 345 346
            disabled
          >
            <el-option
              v-for="item in codes.doctypcod1"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <c-col :span="12">
347
          <el-form-item label="到单单据本金" prop="btdgrp.cbs.max.cur">
348
            <c-input
fanyanyan committed
349
              v-model="model.btdgrp.cbs.max.cur"
350
              maxlength="3"
351
              placeholder="请输入"
352 353
              disabled
            ></c-input>
fanyanyan committed
354 355
          </el-form-item>
        </c-col>
356 357
        <c-col :span="12">
          <el-form-item label="" label-width="5px" prop="btdgrp.cbs.max.amt">
fanyanyan committed
358 359
            <c-input
              v-model="model.btdgrp.cbs.max.amt"
wangna committed
360
              placeholder="请输入"
fanyanyan committed
361 362 363
            ></c-input>
          </el-form-item>
        </c-col>
364 365 366 367
      </c-col>

      <c-col :span="24">
        <c-col :span="12">
wangna committed
368
          <el-form-item label="到单附加金额" prop="btdgrp.cbs.opn2.cur">
369
            <c-input
fanyanyan committed
370
              v-model="model.btdgrp.cbs.opn2.cur"
371
              maxlength="3"
372
              placeholder="请输入"
373 374
              disabled
            ></c-input>
fanyanyan committed
375 376
          </el-form-item>
        </c-col>
377 378
        <c-col :span="12">
          <el-form-item label="" label-width="5px" prop="btdgrp.cbs.max2.amt">
fanyanyan committed
379 380
            <c-input
              v-model="model.btdgrp.cbs.max2.amt"
wangna committed
381
              placeholder="请输入"
fanyanyan committed
382 383 384
            ></c-input>
          </el-form-item>
        </c-col>
385 386 387
      </c-col>

      <c-col :span="24">
fanyanyan committed
388 389
        <c-col :span="12">
          <el-form-item
390
            label="收单日期(第二受益人)"
fanyanyan committed
391 392 393 394 395 396
            prop="btdgrp.rec.rcvdatbe2"
          >
            <c-date-picker
              type="date"
              v-model="model.btdgrp.rec.rcvdatbe2"
              style="width: 100%"
397
              placeholder="请选择收单日期"
fanyanyan committed
398 399 400 401
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <c-col :span="12">
402
          <el-form-item label="交单日期" prop="btdgrp.rec.orddatbe2">
fanyanyan committed
403 404 405 406
            <c-date-picker
              type="date"
              v-model="model.btdgrp.rec.orddatbe2"
              style="width: 100%"
407
              placeholder="请选择交单日期"
fanyanyan committed
408 409 410
            ></c-date-picker>
          </el-form-item>
        </c-col>
411 412
      </c-col>
      <c-col :span="24">
fanyanyan committed
413
        <c-col :span="12">
414
          <el-form-item label="到单付款到期日" prop="btdgrp.rec.matdat">
fanyanyan committed
415 416 417 418
            <c-date-picker
              type="date"
              v-model="model.btdgrp.rec.matdat"
              style="width: 100%"
419
              placeholder="请选择到单付款到期日"
fanyanyan committed
420 421 422 423
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <c-col :span="12">
424
          <el-form-item label="最迟装船日期" prop="btdgrp.rec.shpdat">
fanyanyan committed
425 426 427 428
            <c-date-picker
              type="date"
              v-model="model.btdgrp.rec.shpdat"
              style="width: 100%"
429
              placeholder="请选择最迟装船日期"
fanyanyan committed
430 431 432 433 434
            ></c-date-picker>
          </el-form-item>
        </c-col>
      </c-col>

435
      <c-col :span="24">
436
        <el-form-item label="到单付款期限" prop="btdgrp.blk.matper">
437 438 439 440 441
          <c-input
            type="textarea"
            v-model="model.btdgrp.blk.matper"
            maxlength="65"
            show-word-limit
442
            placeholder="请输入到单付款期限"
443 444 445
          ></c-input>
        </el-form-item>
      </c-col>
fanyanyan committed
446

447 448
      <c-col :span="24">
        <el-form-item
449
          label="此笔转让证的原始到单金额"
450 451 452 453
          prop="ltdgrp.rec.utlnbr"
        >
          <c-input
            v-model.number="model.ltdgrp.rec.utlnbr"
454
            placeholder="请输入此笔转让证的原始到单金额"
455 456 457 458 459
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>
fanyanyan committed
460

461 462 463
    <!-- right -->
    <c-col :span="11" :offset="1">
      <c-col :span="24">
464
        <el-form-item label="描述" prop="btdgrp.rec.nam">
465 466 467
          <c-input
            v-model="model.btdgrp.rec.nam"
            maxlength="40"
468
            placeholder="请输入描述"
469 470 471 472 473
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
wangna committed
474
        <el-form-item label="交单行" prop="btdgrp.rec.docprbrol">
475 476 477
          <c-select
            v-model="model.btdgrp.rec.docprbrol"
            style="width: 100%"
wangna committed
478
            placeholder="请选择交单行"
479 480 481
            @change="selectOrCheckboxRule('btdgrp.rec.docprbrol')"
          >
            <el-option
Wuyuqiu committed
482
              v-for="item in codes.docprbrol2"
483 484 485 486 487 488 489 490
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
fanyanyan committed
491

492 493 494 495 496 497 498 499 500 501
      <c-col :span="24">
        <c-ptap
          :model="model"
          :argadr="{
            title: '',
            grp: 'btdgrp',
            rol: 'prb',
          }"
          :noRef="true"
          :disabled="!(model.btdgrp.rec.docprbrol == 'PRB')"
Wuyuqiu committed
502
          :disabledExtkey="model.btdgrp.rec.docprbrol == 'ADT'||model.btdgrp.rec.docprbrol == 'BE2'"
503 504 505 506 507
          @onSeainf="onSeainf"
          @onAplpDet="onBenpDet"
        >
        </c-ptap>
      </c-col>
fanyanyan committed
508 509 510 511 512
    </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api";
wangren committed
513
import commonProcess from "~/mixin/commonProcess";
fanyanyan committed
514 515
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttdck/Event";
516 517
import Ptsmsg from "~/views/Public/Ptsmsg";
import Ptap from "~/views/Public/Ptap";
fanyanyan committed
518 519

export default {
520
  components: { "c-ptsmsg": Ptsmsg, "c-ptap": Ptap },
fanyanyan committed
521 522
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
523
  mixins: [commonProcess],
fanyanyan committed
524 525 526 527
  data() {
    return {};
  },
  methods: { ...Event },
528 529 530 531 532
  computed: {
    flag() {
      return this.model.mtabut.coninf.usr.extkey == "";
    },
  },
fanyanyan committed
533 534 535 536 537
  created: function () {},
};
</script>
<style>
</style>