Amep.vue 10.8 KB
Newer Older
xsh committed
1
<template>
wangna committed
2 3 4 5
  <div class="eibs-tab">
    <el-col :span="11">
      <c-col :span="24">
        <el-form-item
6 7 8 9 10 11 12 13 14 15 16 17
          label="IBC Number"
          prop="bcdgrp.rec.ownref"
          style="width: 100%"
        >
          <c-fullbox>
            <c-input
              v-model="model.bcdgrp.rec.ownref"
              maxlength="8"
              disabled
              placeholder=""
            ></c-input>
            <template slot="footer">
wangna committed
18 19 20 21 22 23 24
              <c-button
                size="small"
                style="margin-left: 10px; padding: 0 10px"
                type="primary"
              >
                <span style="font-family: '宋体'; font-weight: bold">i</span>
              </c-button>
25 26
            </template>
          </c-fullbox>
wangna committed
27 28 29 30 31 32 33 34 35 36 37 38 39
        </el-form-item>
        <c-col :span="24">
          <el-form-item label="Amendment Date" prop="amedat">
            <c-date-picker
              type="date"
              v-model="model.amedat"
              style="width: 100%"
              placeholder="Amendment Date"
            >
            </c-date-picker>
          </el-form-item>
        </c-col>
        <!-- <el-form-item label="IBC Number" prop="bcdgrp.rec.ownref">
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
                   <c-fullbox>
                    <c-input disabled v-model="model.bcdgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"></c-input>
                 <template slot="footer">
            <c-button
            size="small"
            style="margin-left: 10px; padding: 0 10px"
            type="primary"
            
              <span style="font-family: '宋体'; font-weight: bold">i</span>
            </c-button>
            </template>
          </c-fullbox>
                </el-form-item>
            </c-col>
               
                </el-form-item> -->
wangna committed
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
      </c-col>
      <c-col :span="24">
        <c-col :span="12">
          <el-form-item label="Original Amount" prop="oldbcdgrp.cbs.max.cur">
            <c-select
              disabled
              v-model="model.oldbcdgrp.cbs.max.cur"
              style="width: 100%"
              placeholder="CUR"
            >
              <el-option
                v-for="item in codes.cur"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
          </el-form-item>
xsh committed
75 76
        </c-col>

wangna committed
77 78 79 80 81 82 83 84 85 86 87 88 89
        <c-col :span="12">
          <el-form-item
            label=""
            style="text-align: left"
            label-width="20px"
            prop="oldbcdgrp.cbs.max.amt"
          >
            <c-input-currency
              v-model="model.oldbcdgrp.cbs.max.amt"
              placeholder="Original Amount"
              disabled
            ></c-input-currency>
          </el-form-item>
xsh committed
90
        </c-col>
wangna committed
91
      </c-col>
xsh committed
92

wangna committed
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
      <c-col :span="24">
        <c-col :span="12">
          <el-form-item label="Amended" prop="trnmod.swiadd.amecur">
            <c-select
              disabled
              v-model="model.trnmod.swiadd.amecur"
              style="width: 100%"
              placeholder="CUR"
            >
              <el-option
                v-for="item in codes.cur"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>
xsh committed
112

wangna committed
113 114 115 116 117 118 119 120 121 122 123 124
        <c-col :span="12">
          <el-form-item
            label=""
            style="text-align: left"
            label-width="20px"
            prop="trnmod.swiadd.ameamt"
          >
            <c-input-currency
              v-model="model.trnmod.swiadd.ameamt"
              placeholder="Amended Amount"
            ></c-input-currency>
          </el-form-item>
xsh committed
125
        </c-col>
wangna committed
126
      </c-col>
xsh committed
127

wangna committed
128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
      <c-col :span="24">
        <c-col :span="12">
          <el-form-item label="New Amount" prop="trnmod.swiadd.newcur">
            <c-select
              disabled
              v-model="model.trnmod.swiadd.newcur"
              style="width: 100%"
              placeholder="CUR"
            >
              <el-option
                v-for="item in codes.cur"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
          </el-form-item>
xsh committed
146 147
        </c-col>

wangna committed
148 149 150 151 152 153 154 155 156 157 158 159 160 161
        <c-col :span="12">
          <el-form-item
            label=""
            style="text-align: left"
            label-width="20px"
            prop="trnmod.swiadd.newamt"
          >
            <c-input-currency
              v-model="model.trnmod.swiadd.newamt"
              placeholder="New amount"
            ></c-input-currency>
          </el-form-item>
        </c-col>
      </c-col>
xsh committed
162

wangna committed
163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179
      <c-col :span="24">
        <el-form-item label="Amend Condition" prop="newdoctypcod">
          <c-select
            v-model="model.newdoctypcod"
            style="width: 100%"
            placeholder="Amend Condition"
          >
            <el-option
              v-for="item in codes.doctypcod"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
xsh committed
180

wangna committed
181 182 183 184 185 186 187 188 189 190 191 192 193 194
      <c-col :span="8">
        <el-form-item
          label="Tenor Data"
          prop="oldbcdgrp.rec.matpercnt"
          style="width: 100%"
        >
          <c-input
            disabled
            style="width: 100%"
            v-model="model.oldbcdgrp.rec.matpercnt"
            placeholder="Tenor Data"
          ></c-input>
        </el-form-item>
      </c-col>
xsh committed
195

wangna committed
196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217
      <c-col :span="8">
        <el-form-item
          label=""
          label-width="10px"
          prop="oldbcdgrp.rec.matpertyp"
        >
          <c-select
            disabled
            v-model="model.oldbcdgrp.rec.matpertyp"
            style="width: 100%"
            placeholder="Days/Month or Year for Maturity Period"
          >
            <el-option
              v-for="item in codes.matper"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
xsh committed
218

wangna committed
219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240
      <c-col :span="8">
        <el-form-item
          label=""
          label-width="10px"
          prop="oldbcdgrp.rec.matperbeg"
        >
          <c-select
            disabled
            style="width: 100%"
            v-model="model.oldbcdgrp.rec.matperbeg"
            placeholder="Old Start of Maturity Period Matbeg"
          >
            <el-option
              v-for="item in codes.matbeg"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
xsh committed
241

wangna committed
242 243 244 245 246 247 248 249 250 251 252 253 254 255
      <c-col :span="24">
        <c-col :span="8">
          <el-form-item
            label="New Tenor Data"
            prop="trnmod.swiadd.newmatpercnt"
            style="width: 100%"
          >
            <c-input
              style="width: 100%"
              v-model="model.trnmod.swiadd.newmatpercnt"
              placeholder="New Tenor Data"
              :disabled="model.newdoctypcod === 'P'"
            ></c-input>
          </el-form-item>
xsh committed
256 257
        </c-col>

wangna committed
258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278
        <c-col :span="8">
          <el-form-item
            label=""
            label-width="10px"
            prop="trnmod.swiadd.newmatpertyp"
          >
            <c-select
              v-model="model.trnmod.swiadd.newmatpertyp"
              style="width: 100%"
              placeholder="Days/Month or Year for Maturity Period"
              :disabled="model.newdoctypcod === 'P'"
            >
              <el-option
                v-for="item in codes.matper"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
          </el-form-item>
xsh committed
279 280
        </c-col>

wangna committed
281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301
        <c-col :span="8">
          <el-form-item
            label=""
            label-width="10px"
            prop="trnmod.swiadd.newmatperbeg"
          >
            <c-select
              v-model="model.trnmod.swiadd.newmatperbeg"
              style="width: 100%"
              placeholder="New Start of Maturity Period Matbeg"
              :disabled="model.newdoctypcod === 'P'"
            >
              <el-option
                v-for="item in codes.matbeg"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
          </el-form-item>
xsh committed
302
        </c-col>
wangna committed
303
      </c-col>
304

wangna committed
305 306 307 308 309 310 311 312 313 314 315
      <c-col :span="24">
        <el-form-item label="Maturity Date" prop="oldbcdgrp.rec.matdat">
          <c-date-picker
            disabled
            type="date"
            v-model="model.oldbcdgrp.rec.matdat"
            style="width: 100%"
            placeholder="Old Maturity Date"
          ></c-date-picker>
        </el-form-item>
      </c-col>
316

wangna committed
317 318 319 320 321 322 323 324 325 326 327
      <c-col :span="24">
        <el-form-item label="New Maturity Date" prop="trnmod.swiadd.newmatdat">
          <c-date-picker
            type="date"
            v-model="model.trnmod.swiadd.newmatdat"
            style="width: 100%"
            placeholder="New Maturity Date"
            :disabled="model.newdoctypcod === 'P'"
          ></c-date-picker>
        </el-form-item>
      </c-col>
328

wangna committed
329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364
      <c-col :span="24">
        <el-form-item label="Further Amendments" prop="trnmod.swiadd.ametxt">
          <c-input
            :rows="4"
            type="textarea"
            v-model="model.trnmod.swiadd.ametxt"
            maxlength="35"
            show-word-limit
            placeholder="Further Amendments"
          ></c-input>
        </el-form-item>
      </c-col>
    </el-col>
    <el-col :span="11" :offset="1">
      <c-col :span="24">
        <el-form-item label="Name" prop="bcdgrp.rec.nam">
          <c-input
            disabled
            v-model="model.bcdgrp.rec.nam"
            maxlength="50"
            placeholder="请输入Name"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="No. of Amendment" prop="amenbr">
          <c-input
            disabled
            v-model="model.amenbr"
            style="width: 100%"
            placeholder="No. of Amendment"
          ></c-input>
        </el-form-item>
      </c-col>
    </el-col>
  </div>
xsh committed
365 366
</template>
<script>
wangna committed
367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bctame/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  methods: {
    ...Event,
  },
  created: function () {},
};
xsh committed
384 385 386
</script>
<style>
</style>