Lttinf.vue 12.3 KB
Newer Older
孟冬雪 committed
1
<template>
2
  <div class="eibs">
3 4 5
    <!-- 顶部 -->
    <c-col :span="24">
      <el-form-item
wangna committed
6
        label="出口信用证转账:"
7 8 9 10 11 12
        prop="lttp.lttinf"
        style="width: 100%"
      >
      </el-form-item>
    </c-col>
    <!-- left -->
Wuyuqiu committed
13
    <c-col :span="12" style="padding-right: 20px;">
孟冬雪 committed
14
      <c-col :span="24">
15
        <el-form-item
wangna committed
16
          label="转让信用证业务编号"
17 18 19 20 21 22
          prop="ledgrp.rec.ownref"
          style="width: 100%"
        >
          <c-input
            v-model="model.ledgrp.rec.ownref"
            maxlength="16"
23
            placeholder="请输入信用证参考号"
24 25 26 27
            style="width: 100%"
            disabled
          ></c-input>
        </el-form-item>
孟冬雪 committed
28
      </c-col>
29 30

      <c-col :span="24">
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
        <c-col :span="12">
          <el-form-item label="信用证金额" prop="ledgrp.cbs.nom1.cur">
            <c-select
              v-model="model.ledgrp.cbs.nom1.cur"
              maxlength="3"
              placeholder="请输入信用证金额"
              :code="codes.curtxt1"
              disabled
            ></c-select>
          </el-form-item>
        </c-col>
        <c-col :span="8">
          <el-form-item label="" label-width="5px" prop="ledgrp.cbs.nom1.amt">
            <c-input
              v-model="model.ledgrp.cbs.nom1.amt"
              class="m-input-currency"
              placeholder="请输入金额"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="4">
          <c-checkbox v-model="model.lttp.aamp.aammod.addamtflg" disabled
            >附加金额</c-checkbox
          >
        </c-col>
      </c-col>
      <!-- <c-col :span="24">
wangna committed
59
        <el-form-item label="信用证金额" prop="ledgrp.cbs.nom1.cur">
60 61
          <c-fullbox>
            <c-input
孟冬雪 committed
62
              v-model="model.ledgrp.cbs.nom1.cur"
63 64
              maxlength="3"
              style="width: 50%"
wangna committed
65
              placeholder="请输入信用证金额"
66 67
              disabled
            ></c-input>
孟冬雪 committed
68 69
            <c-input
              v-model="model.ledgrp.cbs.nom1.amt"
70
              style="width: 50%"
wangna committed
71
              placeholder="请输入"
72 73
              class="m-input-currency"
              disabled
孟冬雪 committed
74
            ></c-input>
75 76 77 78 79
            <template slot="footer">
              <c-checkbox
                v-model="model.lttp.aamp.aammod.addamtflg"
                style="margin-left: 10px"
                disabled
wangna committed
80
                >附加金额</c-checkbox
81 82 83 84
              >
            </template>
          </c-fullbox>
        </el-form-item>
85
      </c-col> -->
86
      <c-col :span="24">
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
        <c-col :span="12">
          <el-form-item label="余额" prop="ledgrp.cbs.opn1.cur">
            <c-select
              v-model="model.ledgrp.cbs.opn1.cur"
              maxlength="3"
              placeholder="请输入余额"
              :code="codes.curtxt1"
              disabled
            ></c-select>
          </el-form-item>
        </c-col>
        <c-col :span="8">
          <el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn1.amt">
            <c-input
              v-model="model.ledgrp.cbs.opn1.amt"
              class="m-input-currency"
              placeholder="请输入金额"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="3" :offset="1">
          <c-checkbox v-model="model.ledgrp.rec.revflg" disabled
            >循环信用证</c-checkbox
          >
        </c-col>
      </c-col>
      <!-- <c-col :span="24">
wangna committed
115
        <el-form-item label="余额" prop="ledgrp.cbs.opn1.cur">
116 117
          <c-fullbox>
            <c-input
孟冬雪 committed
118
              v-model="model.ledgrp.cbs.opn1.cur"
119 120
              maxlength="3"
              style="width: 50%"
wangna committed
121
              placeholder="请输入余额"
122 123
              disabled
            ></c-input>
孟冬雪 committed
124 125
            <c-input
              v-model="model.ledgrp.cbs.opn1.amt"
126
              style="width: 50%"
wangna committed
127
              placeholder="请输入"
128 129
              class="m-input-currency"
              disabled
孟冬雪 committed
130
            ></c-input>
131 132 133 134 135
            <template slot="footer">
              <c-checkbox
                v-model="model.ledgrp.rec.revflg"
                style="margin-left: 10px"
                disabled
wangna committed
136
                >循环信用证</c-checkbox
137 138 139 140
              >
            </template>
          </c-fullbox>
        </el-form-item>
141
      </c-col> -->
142
      <c-col :span="24">
wangna committed
143
        <el-form-item label="被授权的银行当事人" prop="ledgrp.avbnam">
144 145 146
          <c-input
            v-model="model.ledgrp.avbnam"
            style="width: 100%"
wangna committed
147
            placeholder="请输入被授权的银行当事人"
148
            disabled
孟冬雪 committed
149
          >
150 151 152 153 154 155
          </c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="by" prop="ledgrp.rec.avbby">
          <c-fullbox>
孟冬雪 committed
156 157
            <c-input
              v-model="model.ledgrp.rec.avbby"
158
              maxlength="3"
孟冬雪 committed
159
              style="width: 100%"
wangna committed
160
              placeholder="请输入"
161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
              disabled
              :code="codes.avbby"
            ></c-input>
            <template slot="footer">
              <c-checkbox
                v-model="model.ledgrp.rec.redclsflg"
                style="margin-left: 10px"
                disabled
                >红/绿条款</c-checkbox
              >
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <c-col :span="12">
wangna committed
177
          <el-form-item label="开证日期" prop="ledgrp.rec.opndat">
孟冬雪 committed
178 179 180 181
            <c-date-picker
              type="date"
              v-model="model.ledgrp.rec.opndat"
              style="width: 100%"
wangna committed
182
              placeholder="请选择开证日期"
183 184 185 186 187
              disabled
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <c-col :span="12">
wangna committed
188
          <el-form-item label="装运日期" prop="ledgrp.rec.shpdat">
189 190 191 192
            <c-date-picker
              type="date"
              v-model="model.ledgrp.rec.shpdat"
              style="width: 100%"
wangna committed
193
              placeholder="请选择装运日期"
194
              disabled
孟冬雪 committed
195 196 197
            ></c-date-picker>
          </el-form-item>
        </c-col>
198 199 200
      </c-col>
      <c-col :span="24">
        <c-col :span="12">
wangna committed
201
          <el-form-item label="到期日及其到期地点" prop="ledgrp.rec.expdat">
孟冬雪 committed
202 203 204 205
            <c-date-picker
              type="date"
              v-model="model.ledgrp.rec.expdat"
              style="width: 100%"
wangna committed
206
              placeholder="请选择到期日及其到期地点"
207
              disabled
孟冬雪 committed
208 209 210
            ></c-date-picker>
          </el-form-item>
        </c-col>
211 212
        <c-col :span="12">
          <el-form-item label="" prop="ledgrp.rec.expplc">
孟冬雪 committed
213 214
            <c-input
              v-model="model.ledgrp.rec.expplc"
215
              style="width: 100%"
wangna committed
216
              placeholder=""
217
              disabled
孟冬雪 committed
218 219 220
            ></c-input>
          </el-form-item>
        </c-col>
221 222
      </c-col>
      <c-col :span="24">
wangna committed
223
        <el-form-item label="信用证类型" prop="ledgrp.rec.lcrtyp">
224 225 226
          <c-select
            v-model="model.ledgrp.rec.lcrtyp"
            style="width: 100%"
wangna committed
227
            placeholder="请选择信用证类型"
228 229 230 231 232 233 234 235 236 237 238 239 240 241 242
            disabled
          >
            <el-option
              v-for="item in codes.lcrtyp1"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
    </c-col>

    <!-- right -->
243
    <c-col :span="12" style="padding-left: 20px;" >
244
      <c-col :span="24">
wangna committed
245
        <el-form-item label="简略信息" prop="ledgrp.rec.nam">
246 247 248
          <c-input
            v-model="model.ledgrp.rec.nam"
            maxlength="40"
wangna committed
249
            placeholder="请输入简略信息"
250 251 252 253 254 255 256 257 258
            disabled
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <c-ptsmsg
          :model="model"
          :argadr="{
wangna committed
259
            title: '申请人',
260 261 262 263 264 265 266 267 268 269 270 271
            grp: 'ledgrp',
            rol: 'apl',
          }"
          :disabled="true"
          :enRef="true"
          :enNam="true"
        ></c-ptsmsg>
      </c-col>
      <c-col :span="24">
        <c-ptsmsg
          :model="model"
          :argadr="{
wangna committed
272
            title: '原始信用证开证行',
273 274 275 276 277 278 279 280 281 282 283 284
            grp: 'ledgrp',
            rol: 'iss',
          }"
          :disabled="true"
          :enRef="true"
          :enNam="true"
        ></c-ptsmsg>
      </c-col>
      <c-col :span="24">
        <c-ptsmsg
          :model="model"
          :argadr="{
wangna committed
285
            title: '受益人',
286 287 288 289 290 291 292 293 294 295 296 297 298
            grp: 'ledgrp',
            rol: 'ben',
          }"
          :disabled="true"
          :enRef="true"
          :enNam="true"
        ></c-ptsmsg>
      </c-col>
      <c-col :span="24">
        <el-form-item label="" prop="lttp.letp0.cnftxt">
          <c-input
            v-model="model.lttp.letp0.cnftxt"
            style="width: 100%"
wangna committed
299
            placeholder="请选择信用证类型"
300 301 302 303 304 305
            disabled
          >
          </c-input>
        </el-form-item>
      </c-col>
    </c-col>
wangna committed
306

307 308 309
    <c-col :span="23" style="height: 24px; margin-left: 9px">
      <el-form-item
        class="formItemLabel"
wangna committed
310
        label="利用上面的信息开立可转让的背对背信用证"
311
        label-width="248px"
312 313 314
      >
      </el-form-item>
    </c-col>
315
    <c-col :span="24" style="margin:0 0 10px 0px">
316 317 318 319 320 321 322
      <c-istream-table
        :list="model.lttp.leltb2b.litb2bstm.rows || []"
        :columns="columns"
      ></c-istream-table>
    </c-col>
    <!-- 底部 -->
    <!-- left -->
Wuyuqiu committed
323
    <c-col :span="12" style="padding-right: 20px;">
324 325
      <c-col :span="24">
        <c-col :span="12">
wangna committed
326
          <el-form-item label="此笔转让证的金额" prop="ltdgrp.cbs.max.cur">
孟冬雪 committed
327
            <c-select
328
              v-model="model.ltdgrp.cbs.max.cur"
孟冬雪 committed
329
              style="width: 100%"
wangna committed
330
              placeholder="请选择此笔转让证的金额"
331 332
              disabled
              :code="codes.curtxt1"
孟冬雪 committed
333 334 335 336 337
            >
            </c-select>
          </el-form-item>
        </c-col>

338
        <c-col :span="12">
339
          <el-form-item label="" label-width="5px" prop="ltdgrp.cbs.opn1.amt">
孟冬雪 committed
340
            <c-input
341
              v-model="model.ltdgrp.cbs.opn1.amt"
wangna committed
342
              placeholder="请输入"
343 344
              class="m-input-currency"
              disabled
孟冬雪 committed
345 346 347
            ></c-input>
          </el-form-item>
        </c-col>
348
      </c-col>
孟冬雪 committed
349

350
      <c-col :span="24">
wangna committed
351
          <el-form-item label="已经转让的总额" prop="lttp.totamt">
孟冬雪 committed
352
            <c-input
353 354
              v-model="model.lttp.totamt"
              style="width: 100%"
wangna committed
355
              placeholder="请选择已经转让的总额"
356 357 358 359
              class="m-input-currency"
              disabled
            >
            </c-input>
孟冬雪 committed
360 361
          </el-form-item>
        </c-col>
362 363 364
    </c-col>

    <!-- right -->
Wuyuqiu committed
365
    <c-col :span="12" style="padding-left: 20px;">
潘际乾 committed
366
      <c-col :span="24">
wangna committed
367
        <el-form-item label="装运日期" prop="ltdgrp.rec.shpdat">
孟冬雪 committed
368 369
          <c-date-picker
            type="date"
370
            v-model="model.ltdgrp.rec.shpdat"
孟冬雪 committed
371
            style="width: 100%"
wangna committed
372
            placeholder="请选择装运日期"
孟冬雪 committed
373
          ></c-date-picker>
孟冬雪 committed
374
        </el-form-item>
孟冬雪 committed
375
      </c-col>
376
      <c-col :span="24">
wangna committed
377
        <el-form-item label="有效期" prop="ltdgrp.rec.expdat">
378 379 380 381
          <c-date-picker
            type="date"
            v-model="model.ltdgrp.rec.expdat"
            style="width: 100%"
wangna committed
382
            placeholder="请选择有效期"
383 384
            disabled
          ></c-date-picker>
孟冬雪 committed
385
        </el-form-item>
孟冬雪 committed
386
      </c-col>
387
    </c-col>
孟冬雪 committed
388
  </div>
孟冬雪 committed
389 390
</template>
<script>
391
import Api from "~/service/Api";
wangren committed
392
import commonProcess from "~/mixin/commonProcess";
393 394
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttopn/Event";
395
import Ptsmsg from "~/views/Public/Ptsmsg";
孟冬雪 committed
396 397

export default {
398
  components: { "c-ptsmsg": Ptsmsg },
孟冬雪 committed
399 400
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
401
  mixins: [commonProcess],
孟冬雪 committed
402
  data() {
403 404
    return {
      columns: [
wangna committed
405 406 407 408
        '2 1 "类型" 145',
        '4 2 "信用证编号" 150',
        '7 3 "币种" 140',
        '8 4 "余额" 150 2 8 1 7',
409 410
        '5 5 "装运日期" 150 4 7 1',
        '6 6 "到期" 150 4 7 1',
wangna committed
411
        '3 7 "名称" 150',
412 413 414 415
        '9 8 "Info" 150 5 6:1 0 I',
      ],
      data: [],
    };
孟冬雪 committed
416 417 418 419
  },
  methods: { ...Event },
  created: function () {},
};
孟冬雪 committed
420 421
</script>
<style>
422 423 424 425
.formItemLabel >>> .el-form-item__label {
  text-align: left;
  font-weight: bold;
}
孟冬雪 committed
426
</style>