Confp.vue 9.17 KB
Newer Older
1 2 3
<template>
  <div class="eibs-tab">
    <c-row>
liyixun committed
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
      <c-col :span="24">
        <c-col :span="12">
          <c-col :span="24">
            <el-form-item label="">
              Received Confirmation Instructions:
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="Confirm. Instr." prop="gidgrp.rec.reccnfdet">
              <c-select
                disabled
                v-model="model.gidgrp.rec.reccnfdet"
                style="width: 100%"
                placeholder="请选择Confirm. Instr."
              >
                <el-option
                  v-for="item in codes.cnfsta"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>
29

liyixun committed
30 31 32 33 34 35 36 37 38 39
          <c-col :span="24">
            <el-form-item label="Confirm. Bank Ref." prop="gidgrp.cnr.pts.ref">
              <c-input
                disabled
                v-model="model.gidgrp.cnr.pts.ref"
                maxlength="16"
                placeholder="请输入Confirm. Bank Ref."
              ></c-input>
            </el-form-item>
          </c-col>
40

liyixun committed
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
          <c-col :span="24">
            <el-form-item label="Confirming. Bank" prop="gidgrp.cnr.pts.extkey">
              <c-fullbox>
                <c-input
                  disabled
                  v-model="model.gidgrp.cnr.pts.extkey"
                  maxlength="16"
                  placeholder="请输入External Key of Address"
                  @keyup.enter.native="
                    showGridPromptDialog(`gidgrp.cnr.pts.extkey`)
                  "
                ></c-input>
                <template slot="footer">
                  <c-button
                    style="margin: 0 10px 0 10px; padding: 0 12px"
                    size="small"
                    type="primary"
                  >
                    <span style="font-family: '宋体'; font-weight: bold"
                      >i</span
                    >
                  </c-button>
                  <c-button
                    disabled
                    size="small"
                    type="primary"
                    @click="onCnrpDet"
                  >
                    Details
                  </c-button>
                </template>
              </c-fullbox>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="地址名称" prop="gidgrp.cnr.pts.adrblk">
              <c-input
                disabled
                type="textarea"
                v-model="model.gidgrp.cnr.pts.adrblk"
                maxlength="35"
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="11" :offset="1">
          <c-col :span="24">
            <el-form-item label="">
              Outgoing Confirmation Instructions:
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="Confirm. Instr." prop="gidgrp.rec.cnfdet">
              <c-select
                v-model="model.gidgrp.rec.cnfdet"
                style="width: 100%"
                placeholder="请选择Confirm. Instr."
              >
                <el-option
                  v-for="item in codes.cnfdet"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>
111

liyixun committed
112 113 114 115 116 117 118 119 120 121
          <c-col :span="24">
            <el-form-item label="Confirm. Bank Ref. " prop="gidgrp.con.pts.ref">
              <c-input
                disabled
                v-model="model.gidgrp.con.pts.ref"
                maxlength="16"
                placeholder="请输入Confirm. Bank Ref. "
              ></c-input>
            </el-form-item>
          </c-col>
122

liyixun committed
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
          <c-col :span="24">
            <el-form-item label="Confirming. Bank" prop="gidgrp.con.pts.extkey">
              <c-fullbox>
                <c-input
                  disabled
                  v-model="model.gidgrp.con.pts.extkey"
                  maxlength="16"
                  placeholder="请输入External Key of Address"
                  @keyup.enter.native="
                    showGridPromptDialog(`gidgrp.con.pts.extkey`)
                  "
                ></c-input>
                <template slot="footer">
                  <c-button
                    style="margin: 0 10px 0 10px; padding: 0 12px"
                    size="small"
                    type="primary"
                  >
                    <span style="font-family: '宋体'; font-weight: bold"
                      >i</span
                    >
                  </c-button>
                  <c-button
                    disabled
                    size="small"
                    type="primary"
                    @click="onConpDet"
                  >
                    Details
                  </c-button>
                </template>
              </c-fullbox>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="地址名称" prop="gidgrp.con.dbfadrblkcn">
              <c-input
                disabled
                type="textarea"
                v-model="model.gidgrp.con.dbfadrblkcn"
                maxlength="35"
                show-word-limit
                placeholder="请输入Chinese address"
              ></c-input>
            </el-form-item>
          </c-col>
169
        </c-col>
liyixun committed
170
      </c-col>
171 172 173
    </c-row>

    <c-row>
liyixun committed
174 175 176 177 178 179 180
      <c-col :span="24">
        <c-col :span="12">
          <c-col :span="24">
            <el-form-item v-if="model.gidgrp.rec.purposin == 'ISSU'" label="">
              Own confirmation details:
            </el-form-item>
          </c-col>
181

liyixun committed
182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202
          <c-col :span="24">
            <el-form-item
              v-if="model.gidgrp.rec.purposin == 'ISSU'"
              label="Confirmation Status "
              prop="gidgrp.rec.cnfsta"
            >
              <c-select
                v-model="model.gidgrp.rec.cnfsta"
                style="width: 100%"
                placeholder="请选择Confirmation Status "
              >
                <el-option
                  v-for="item in codes.cnfsta"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>
203

liyixun committed
204 205 206 207 208 209 210 211 212 213 214 215 216 217
          <c-col :span="24">
            <c-col :span="10">
              <el-form-item
                v-if="model.gidgrp.rec.purposin == 'ISSU'"
                label="Confirmation Amount"
                prop="gidgrp.cbs.cnf.cur"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.cbs.cnf.cur"
                  maxlength="3"
                  placeholder="请输入Confirmation Amount"
                ></c-input>
              </el-form-item>
218 219
            </c-col>

liyixun committed
220
            <c-col v-if="model.gidgrp.rec.purposin == 'ISSU'" :span="4">
liyixun committed
221
              <el-form-item label-width="5px" prop="gidgrp.cbs.cnf.amt">
liyixun committed
222 223 224 225
              <c-input
                v-model="model.gidgrp.cbs.cnf.amt"
                placeholder="请输入Balance"
              ></c-input>
liyixun committed
226
              </el-form-item>
liyixun committed
227 228 229 230 231 232 233 234 235
            </c-col>
            <c-col
              v-if="model.gidgrp.rec.purposin == 'ISSU'"
              :span="2"
              style="margin-left: 20px"
            >
              <span>or</span>
            </c-col>
            <c-col v-if="model.gidgrp.rec.purposin == 'ISSU'" :span="4">
liyixun committed
236
              <el-form-item label-width="5px" prop="gidgrp.rec.partcon">
liyixun committed
237 238 239 240
              <c-input
                v-model="model.gidgrp.rec.partcon"
                placeholder="请输入Partial Confirmation"
              ></c-input>
liyixun committed
241
              </el-form-item>
242
            </c-col>
liyixun committed
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265
            <c-col
              v-if="model.gidgrp.rec.purposin == 'ISSU'"
              :span="2"
              style="margin-left: 20px"
            >
              <span>%</span>
            </c-col>
          </c-col>

          <c-col :span="24">
            <el-form-item
              v-if="model.gidgrp.rec.purposin == 'ISSU'"
              label="Confirmation Date"
              prop="gidgrp.rec.cnfdat"
            >
              <c-date-picker
                type="date"
                v-model="model.gidgrp.rec.cnfdat"
                style="width: 100%"
                placeholder="请选择Confirmation Date"
              ></c-date-picker>
            </el-form-item>
          </c-col>
266
        </c-col>
liyixun committed
267 268
        <c-col :span="11" :offset="1"> </c-col>
      </c-col>
269
    </c-row>
liyixun committed
270
  </div>
271 272
</template>
<script>
liyixun committed
273
import Api from "~/service/Api";
274
import commonProcess from "~/mixin/commonProcess";
liyixun committed
275 276
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
277 278

export default {
liyixun committed
279 280 281 282 283 284 285 286 287
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  methods: { ...Event },
  created: function () {},
};
288 289 290
</script>
<style>
</style>