Aamp.vue 2.76 KB
Newer Older
1
<template>
Wuyuqiu committed
2
  <div class="eibs">
wangren committed
3 4
    <c-col :span="20">
      <c-col :span="10">
5
        <el-form-item label="附加金额" prop="lidgrp.cbs.max2.cur">
wangren committed
6 7 8
          <c-select
            v-model="model.lidgrp.cbs.max2.cur"
            style="width: 100%"
9
            placeholder="请选择币种"
wangren committed
10 11 12
            disabled
          >
            <el-option
Wuyuqiu committed
13
              v-for="item in codes.curtxt1"
wangren committed
14 15 16 17 18 19 20 21 22
              :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
        <el-form-item
          style="text-align: left"
          label-width="20px"
          prop="lidgrp.cbs.max2.amt"
        >
29
          <c-input-currency
wangren committed
30 31
            v-model="model.lidgrp.cbs.max2.amt"
            style="text-align: left; width: 100%"
32
            placeholder="0"
33
          ></c-input-currency>
wangren committed
34 35 36 37
        </el-form-item>
      </c-col>

      <c-col :span="10">
38
        <el-form-item label="附加金额余额" prop="lidgrp.cbs.opn2.cur">
wangren committed
39 40 41
          <c-select
            v-model="model.lidgrp.cbs.opn2.cur"
            style="width: 100%"
42
            placeholder=""
43
            disabled
Wuyuqiu committed
44
            :code="codes.curtxt1"
wangren committed
45 46
          >
          </c-select>
47
        </el-form-item>
wangren committed
48 49 50 51 52 53 54 55
      </c-col>

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

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

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

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

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