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

      <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">
Wuyuqiu committed
60 61 62 63 64
          <c-fullbox>
            <c-input
              v-model="model.ledgrp.cbs.nom1.cur"
              maxlength="3"
              style="width: 50%"
wangna committed
65
              placeholder="请输入信用证金额"
Wuyuqiu committed
66 67 68 69 70
              disabled
            ></c-input>
            <c-input
              v-model="model.ledgrp.cbs.nom1.amt"
              style="width: 50%"
wangna committed
71
              placeholder="请输入"
72
              class="m-input-currency"
Wuyuqiu committed
73 74 75 76 77 78 79
              disabled
            ></c-input>
            <template slot="footer">
              <c-checkbox
                v-model="model.lttp.aamp.aammod.addamtflg"
                style="margin-left: 10px"
                disabled
wangna committed
80
                >附加金额</c-checkbox
Wuyuqiu committed
81 82 83 84
              >
            </template>
          </c-fullbox>
        </el-form-item>
85
      </c-col> -->
Wuyuqiu committed
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">
Wuyuqiu committed
116 117 118 119 120
          <c-fullbox>
            <c-input
              v-model="model.ledgrp.cbs.opn1.cur"
              maxlength="3"
              style="width: 50%"
wangna committed
121
              placeholder="请输入余额"
Wuyuqiu committed
122 123 124 125 126
              disabled
            ></c-input>
            <c-input
              v-model="model.ledgrp.cbs.opn1.amt"
              style="width: 50%"
wangna committed
127
              placeholder="请输入"
128
              class="m-input-currency"
Wuyuqiu committed
129 130 131 132 133 134 135
              disabled
            ></c-input>
            <template slot="footer">
              <c-checkbox
                v-model="model.ledgrp.rec.revflg"
                style="margin-left: 10px"
                disabled
wangna committed
136
                >循环信用证</c-checkbox
Wuyuqiu committed
137 138 139 140
              >
            </template>
          </c-fullbox>
        </el-form-item>
141
      </c-col> -->
Wuyuqiu committed
142
      <c-col :span="24">
wangna committed
143
        <el-form-item label="被授权的银行当事人" prop="ledgrp.avbnam">
Wuyuqiu committed
144 145 146
          <c-input
            v-model="model.ledgrp.avbnam"
            style="width: 100%"
wangna committed
147
            placeholder="请输入被授权的银行当事人"
Wuyuqiu committed
148 149 150
            disabled
          >
          </c-input>
孟冬雪 committed
151
        </el-form-item>
Wuyuqiu committed
152 153 154 155 156 157 158 159
      </c-col>
      <c-col :span="24">
        <el-form-item label="by" prop="ledgrp.rec.avbby">
          <c-fullbox>
            <c-input
              v-model="model.ledgrp.rec.avbby"
              maxlength="3"
              style="width: 100%"
wangna committed
160
              placeholder="请输入"
Wuyuqiu committed
161
              disabled
162
              :code="codes.avbby"
Wuyuqiu committed
163 164 165 166 167 168
            ></c-input>
            <template slot="footer">
              <c-checkbox
                v-model="model.ledgrp.rec.redclsflg"
                style="margin-left: 10px"
                disabled
jianglong committed
169
                >红/绿条款</c-checkbox
Wuyuqiu committed
170 171 172
              >
            </template>
          </c-fullbox>
孟冬雪 committed
173
        </el-form-item>
Wuyuqiu committed
174 175 176
      </c-col>
      <c-col :span="24">
        <c-col :span="12">
wangna committed
177
          <el-form-item label="开证日期" prop="ledgrp.rec.opndat">
Wuyuqiu committed
178 179 180 181
            <c-date-picker
              type="date"
              v-model="model.ledgrp.rec.opndat"
              style="width: 100%"
wangna committed
182
              placeholder="请选择开证日期"
Wuyuqiu committed
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">
Wuyuqiu committed
189 190 191 192
            <c-date-picker
              type="date"
              v-model="model.ledgrp.rec.shpdat"
              style="width: 100%"
wangna committed
193
              placeholder="请选择装运日期"
Wuyuqiu committed
194 195 196 197 198 199 200
              disabled
            ></c-date-picker>
          </el-form-item>
        </c-col>
      </c-col>
      <c-col :span="24">
        <c-col :span="12">
wangna committed
201
          <el-form-item label="到期日及其到期地点" prop="ledgrp.rec.expdat">
Wuyuqiu committed
202 203 204 205
            <c-date-picker
              type="date"
              v-model="model.ledgrp.rec.expdat"
              style="width: 100%"
wangna committed
206
              placeholder="请选择到期日及其到期地点"
Wuyuqiu committed
207 208 209 210 211 212 213 214 215
              disabled
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item label="" prop="ledgrp.rec.expplc">
            <c-input
              v-model="model.ledgrp.rec.expplc"
              style="width: 100%"
wangna committed
216
              placeholder=""
Wuyuqiu committed
217 218 219 220 221 222
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>
      <c-col :span="24">
wangna committed
223
        <el-form-item label="信用证类型" prop="ledgrp.rec.lcrtyp">
Wuyuqiu committed
224 225 226
          <c-select
            v-model="model.ledgrp.rec.lcrtyp"
            style="width: 100%"
wangna committed
227
            placeholder="请选择信用证类型"
Wuyuqiu committed
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 -->
Wuyuqiu committed
243
    <c-col :span="12" style="padding-left: 20px;" >
Wuyuqiu committed
244
      <c-col :span="24">
wangna committed
245
        <el-form-item label="简略信息" prop="ledgrp.rec.nam">
Wuyuqiu committed
246 247 248
          <c-input
            v-model="model.ledgrp.rec.nam"
            maxlength="40"
wangna committed
249
            placeholder="请输入简略信息"
Wuyuqiu committed
250 251
            disabled
          ></c-input>
252
        </el-form-item>
Wuyuqiu committed
253 254 255 256 257 258
      </c-col>

      <c-col :span="24">
        <c-ptsmsg
          :model="model"
          :argadr="{
wangna committed
259
            title: '申请人',
Wuyuqiu committed
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: '原始信用证开证行',
Wuyuqiu committed
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: '受益人',
Wuyuqiu committed
286 287 288 289 290 291 292 293 294
            grp: 'ledgrp',
            rol: 'ben',
          }"
          :disabled="true"
          :enRef="true"
          :enNam="true"
        ></c-ptsmsg>
      </c-col>
      <c-col :span="24">
Wuyuqiu committed
295
        <el-form-item label="" prop="lttp.letp0.cnftxt">
Wuyuqiu committed
296
          <c-input
Wuyuqiu committed
297
            v-model="model.lttp.letp0.cnftxt"
Wuyuqiu committed
298
            style="width: 100%"
wangna committed
299
            placeholder="请选择信用证类型"
Wuyuqiu committed
300 301 302
            disabled
          >
          </c-input>
孟冬雪 committed
303
        </el-form-item>
Wuyuqiu committed
304 305
      </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">
327 328 329
            <c-select
              v-model="model.ltdgrp.cbs.max.cur"
              style="width: 100%"
wangna committed
330
              placeholder="请选择此笔转让证的金额"
331 332 333 334 335 336 337 338
              disabled
              :code="codes.curtxt1"
            >
            </c-select>
          </el-form-item>
        </c-col>

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

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

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

export default {
Wuyuqiu committed
398 399 400 401 402 403
  components: { "c-ptsmsg": Ptsmsg },
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
404
      columns: [
wangna committed
405 406 407 408 409 410 411
        '2 1 "类型" 145',
        '4 2 "信用证编号" 150',
        '7 3 "币种" 140',
        '8 4 "余额" 150 2 8 1 7',
        '5 5 "装运日期" 150 4 7 1',
        '6 6 "到期" 150 4 7 1',
        '3 7 "名称" 150',
412 413 414
        '9 8 "Info" 150 5 6:1 0 I',
      ],
      data: [],
Wuyuqiu committed
415 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>