Confp.vue 10.2 KB
Newer Older
liyixun committed
1 2
<template>
  <div class="eibs-tab">
liyixun committed
3 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-row>
      <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>
liyixun committed
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>
liyixun committed
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 111
          <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
                :disabled="model.gidgrp.rec.legfrm != 'STBY'"
                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>
liyixun committed
112

liyixun committed
113 114 115 116 117 118 119 120 121 122
          <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>
liyixun committed
123

liyixun committed
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 169
          <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>
liyixun committed
170
        </c-col>
liyixun committed
171
      </c-col>
liyixun committed
172 173 174
    </c-row>

    <c-row>
liyixun committed
175 176 177 178 179 180 181 182 183 184 185 186 187
      <c-col :span="24">
        <c-col :span="12">
          <c-col :span="24">
            <el-form-item
              v-if="
                model.gidgrp.rec.purpos == 'ADVI' ||
                model.gidgrp.rec.purpos == 'ACNF'
              "
              label=""
            >
              Own confirmation details:
            </el-form-item>
          </c-col>
liyixun committed
188

liyixun committed
189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212
          <c-col :span="24">
            <el-form-item
              v-if="
                model.gidgrp.rec.purpos == 'ADVI' ||
                model.gidgrp.rec.purpos == 'ACNF'
              "
              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>
liyixun committed
213

liyixun committed
214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230
          <c-col :span="24">
            <c-col :span="10">
              <el-form-item
                v-if="
                  model.gidgrp.rec.purpos == 'ADVI' ||
                  model.gidgrp.rec.purpos == 'ACNF'
                "
                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>
liyixun committed
231 232
            </c-col>

liyixun committed
233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281
            <c-col
              v-if="
                model.gidgrp.rec.purpos == 'ADVI' ||
                model.gidgrp.rec.purpos == 'ACNF'
              "
              :span="4"
            >
              <!-- <el-form-item  prop="gidgrp.cbs.cnf.amt"> -->
              <c-input
                disabled
                v-model="model.gidgrp.cbs.cnf.amt"
                placeholder="请输入Balance"
              ></c-input>
              <!-- </el-form-item> -->
            </c-col>
            <c-col
              v-if="
                model.gidgrp.rec.purpos == 'ADVI' ||
                model.gidgrp.rec.purpos == 'ACNF'
              "
              :span="2"
              style="margin-left: 20px"
            >
              <span>or</span>
            </c-col>
            <c-col
              v-if="
                model.gidgrp.rec.purpos == 'ADVI' ||
                model.gidgrp.rec.purpos == 'ACNF'
              "
              :span="4"
            >
              <!-- <el-form-item  prop="gidgrp.rec.partcon"> -->
              <c-input
                disabled
                v-model="model.gidgrp.rec.partcon"
                placeholder="请输入Partial Confirmation"
              ></c-input>
              <!-- </el-form-item> -->
            </c-col>
            <c-col
              v-if="
                model.gidgrp.rec.purpos == 'ADVI' ||
                model.gidgrp.rec.purpos == 'ACNF'
              "
              :span="2"
              style="margin-left: 20px"
            >
              <span>%</span>
liyixun committed
282
            </c-col>
liyixun committed
283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302
          </c-col>

          <c-col :span="24">
            <el-form-item
              v-if="
                model.gidgrp.rec.purpos == 'ADVI' ||
                model.gidgrp.rec.purpos == 'ACNF'
              "
              label="Confirmation Date"
              prop="gidgrp.rec.cnfdat"
            >
              <c-date-picker
                disabled
                type="date"
                v-model="model.gidgrp.rec.cnfdat"
                style="width: 100%"
                placeholder="请选择Confirmation Date"
              ></c-date-picker>
            </el-form-item>
          </c-col>
liyixun committed
303
        </c-col>
liyixun committed
304 305
        <c-col :span="11" :offset="1"> </c-col>
      </c-col>
liyixun committed
306
    </c-row>
liyixun committed
307 308 309
  </div>
</template>
<script>
liyixun committed
310
import Api from "~/service/Api";
liyixun committed
311
import commonProcess from "~/mixin/commonProcess";
liyixun committed
312 313
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Getopn/Event";
liyixun committed
314 315

export default {
liyixun committed
316 317 318 319 320 321 322 323 324 325 326 327 328 329 330
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
      cnfdet: [
        { label: "MAYADD", value: "A" },
        { label: "CONFIRM", value: "C" },
        { label: "WITHOUT", value: "W" },
      ],
    };
  },
  methods: { ...Event },
  created: function () {},
};
liyixun committed
331 332 333
</script>
<style>
</style>