Aamp.vue 2.78 KB
Newer Older
1 2
<template>
  <div class="eibs-tab">
wangren committed
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
    <c-col :span="20">
      <c-col :span="10">
        <el-form-item label="Additional Amount" prop="lidgrp.cbs.max2.cur">
          <c-select
            v-model="model.lidgrp.cbs.max2.cur"
            style="width: 100%"
            placeholder="请选择Currency"
            disabled
          >
            <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>

23
      <c-col :span="12">
wangren committed
24 25 26 27 28 29 30 31 32 33 34 35 36 37
        <el-form-item
          style="text-align: left"
          label-width="20px"
          prop="lidgrp.cbs.max2.amt"
        >
          <c-input
            v-model="model.lidgrp.cbs.max2.amt"
            style="text-align: left; width: 100%"
            placeholder="请输入Additional Amount"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="10">
38
        <el-form-item label="Open Add. Amount" prop="lidgrp.cbs.opn2.cur">
wangren committed
39 40 41
          <c-select
            v-model="model.lidgrp.cbs.opn2.cur"
            style="width: 100%"
42 43
            placeholder="请选择Open Add. Amount"
            disabled
wangren committed
44 45
          >
          </c-select>
46
        </el-form-item>
wangren committed
47 48 49 50 51 52 53 54
      </c-col>

      <c-col :span="12">
        <el-form-item
          label=""
          style="text-align: left"
          label-width="20px"
          prop="lidgrp.cbs.opn2.amt"
55
        >
wangren committed
56 57 58 59 60 61
          <c-input
            v-model="model.lidgrp.cbs.opn2.amt"
            style="text-align: left; width: 100%"
            placeholder="请输入Open Add. Amount"
            disabled
          ></c-input>
62
        </el-form-item>
wangren committed
63 64 65
      </c-col>

      <c-col :span="24">
66
        <el-form-item label="Covered" prop="lidgrp.blk.addamtcov">
wangren committed
67 68 69 70 71 72 73 74
          <c-input
            type="textarea"
            v-model="model.lidgrp.blk.addamtcov"
            maxlength="35"
            :rows="4"
            show-word-limit
            placeholder="请输入Covered"
          ></c-input>
75 76
        </el-form-item>
      </c-col>
wangren committed
77
    </c-col>
78 79 80 81
  </div>
</template>
<script>
import Api from "~/service/Api"
wangren committed
82
import commonProcess from "~/mixin/commonProcess";
83 84 85 86 87 88
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litopn/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
wangren committed
89
    mixins: [commonProcess],
90 91 92 93 94
    data(){
        return {

        }
    },
wangren committed
95 96 97 98 99 100 101 102 103 104 105
    methods:{...Event,
    max2Amt(){
    this.executeDefault("max2.amt").then(
                (res) => {
                    if (res.respCode == SUCCESS){
                        Utils.copyValueFromVO(this.model, res.data);
                    }
                }
            );
    }
    },
106 107 108 109 110 111 112
    created:function(){

    }
}
</script>
<style>
</style>