Docpan1.vue 2.11 KB
Newer Older
Eivi committed
1 2 3
<template>
  <div class="eibs-tab">
    <!-- left -->
4
    <c-col :span="11">
Eivi committed
5 6 7 8 9 10 11 12 13 14
      <c-col :span="24">
        <el-form-item
          label="Verification Certificate Number"
          prop="lendoc.vercerref"
        >
          <c-input
            type="textarea"
            v-model="model.lendoc.vercerref"
            maxlength="20"
            show-word-limit
15
            placeholder="请输入Verification Certificate Number"
Eivi committed
16 17 18
          ></c-input>
        </el-form-item>
      </c-col>
19 20 21 22 23 24

      <c-col :span="24">
        <el-form-item label="Declaration Number" prop="lendoc.decnum">
          <c-input
            v-model="model.lendoc.decnum"
            maxlength="22"
25
            placeholder="请输入Declaration Number"
26 27 28
          ></c-input>
        </el-form-item>
      </c-col>
Eivi committed
29 30 31
    </c-col>

    <!-- right -->
32
    <c-col :span="11" :offset="1">
Eivi committed
33 34 35 36 37 38 39
      <c-col :span="24">
        <el-form-item label="ACT" prop="lendoc.account">
          <c-fullbox>
            <c-input
              v-model="model.lendoc.account"
              maxlength="3"
              style="width: 100%"
40
              placeholder="请输入Input Amount"
Eivi committed
41 42 43 44 45 46 47 48 49 50 51 52 53 54
              :disabled="!actflg"
            ></c-input>
            <template slot="footer">
              <el-form-item label="" prop="lendoc.actflg">
                <c-checkbox v-model="actflg" style="margin-left: 10px"
                  >Input Amount</c-checkbox
                >
              </el-form-item>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>
    </c-col>

55
   
Eivi committed
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
  </div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Betset/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  computed: {
    actflg: {
      get() {
        return this.model.lendoc.actflg === "X";
      },
      set(val) {
        this.model.lendoc.actflg = val ? "X" : "";
      },
    },
  },
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
</style>