Clop.vue 4.01 KB
Newer Older
1 2
<template>
  <div class="eibs-tab">
李少勇 committed
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
    <!-- ==================左边================ -->
    <c-col :span="12" style="padding-right: 20px">
      <c-col :span="24">
        <el-form-item :label="$t('crtp.业务编号')" prop="crdgrp.rec.ownref">
          <c-input v-model="model.crdgrp.rec.ownref" maxlength="16"></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item :label="$t('crtp.经办柜员')" prop="crtp.usr.extkey">
          <c-input v-model="model.crtp.usr.extkey" maxlength="8"></c-input>
        </el-form-item>
      </c-col>
      <!-- S0000026 : 清算币种及金额 -->
      <c-col :span="24" class="custom-box-wrap">
18 19 20 21 22 23 24 25 26 27
        <el-form-item
          :label="$t('crtp.清算币种及金额')"
          prop="crdgrp.cbs.max.cur"
        >
          <c-select-cur
            v-model="model.crdgrp.cbs.max.cur"
            style="width: 115px"
            placeholder="请选择币种"
            dbCode="curtxt"
          >
李少勇 committed
28 29 30 31
          </c-select-cur>
        </el-form-item>
        <div class="box-3">
          <el-form-item label-width="5px" prop="crdgrp.cbs.max.amt">
32 33 34 35 36
            <c-input-currency
              v-model="model.crdgrp.cbs.max.amt"
              :currency="model.crdgrp.cbs.max.cur"
              style="width: 100%"
            >
李少勇 committed
37 38 39 40 41 42 43
            </c-input-currency>
          </el-form-item>
        </div>
      </c-col>
      <!-- S0000028 : 业务种类 -->
      <c-col :span="24">
        <el-form-item :label="$t('crtp.业务种类')" prop="crdgrp.rec.rcvobjtyp">
44 45 46 47 48 49
          <c-select
            dbCode="CBOTXT"
            :filterKey="['CPD', 'BCD', 'BRD', 'GID']"
            v-model="model.crdgrp.rec.rcvobjtyp"
            style="width: 100%"
          >
李少勇 committed
50 51 52 53 54 55
          </c-select>
        </el-form-item>
      </c-col>
      <!-- S0000033 : 账户行 -->
      <!-- S0000034 : Ref. -->
      <c-col :span="24">
56 57 58 59 60 61 62 63 64
        <c-ptap
          :model="model"
          :isAdrblk="false"
          :haveAdrLabel="true"
          :requiredExtkey="true"
          :isAdrVisible="false"
          :argadr="{ title: '账户行', grp: 'crdgrp', rol: 'acc' }"
          ptytyp="C"
        ></c-ptap>
李少勇 committed
65 66 67 68 69 70
      </c-col>
    </c-col>
    <!-- ============右边================= -->
    <c-col :span="12" style="padding-left: 20px">
      <c-col :span="24">
        <el-form-item label="清算类型" prop="crdgrp.rec.crttyp">
71 72 73 74 75
          <c-select
            :code="crttyp"
            v-model="model.crdgrp.rec.crttyp"
            style="width: 100%"
          >
李少勇 committed
76 77 78 79 80
          </c-select>
        </el-form-item>
      </c-col>
      <!-- S0000027 : 前手付汇业务编号 -->
      <c-col :span="24">
81 82 83 84
        <el-form-item
          :label="$t('crtp.前手付汇业务编号')"
          prop="crdgrp.rec.msgref"
        >
李少勇 committed
85 86 87
          <c-input v-model="model.crdgrp.rec.msgref" maxlength="16"></c-input>
        </el-form-item>
      </c-col>
李少勇 committed
88

李少勇 committed
89 90
      <!-- S0000029 : 业务所属机构 -->
      <c-col :span="24">
91 92 93 94 95
        <el-form-item
          :label="$t('crtp.业务所属机构')"
          prop="crdgrp.rec.rcvbchinr"
        >
          <c-select v-model="model.crdgrp.rec.rcvbchinr" style="width: 100%">
李少勇 committed
96 97 98 99
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="24">
100 101 102 103 104 105 106 107
        <c-ptap
          :model="model"
          :isAdrblk="false"
          :haveAdrLabel="true"
          :requiredExtkey="true"
          :argadr="{ title: '收报行', grp: 'crdgrp', rol: 'rcv' }"
          ptytyp="C"
        ></c-ptap>
李少勇 committed
108
      </c-col>
109 110 111 112
    </c-col>
  </div>
</template>
<script>
113 114
import Api from "~/service/Api";
import Event from "../event";
115 116

export default {
117
  inject: ["root"],
118 119 120 121
  props: ["model", "codes"],
  mixins: [Event],
  data() {
    return {
李少勇 committed
122 123
      crttyp: [
        {
124 125
          label: "汇出清算",
          value: "汇出清算",
李少勇 committed
126 127
        },
        {
128 129
          label: "退汇清算",
          value: "退汇清算",
李少勇 committed
130 131
        },
        {
132 133
          label: "转汇清算",
          value: "转汇清算",
李少勇 committed
134
        },
135 136
      ],
    };
137 138
  },
  methods: {},
139 140
  created: function () {},
};
141 142
</script>
<style></style>