<template>
  <div class="eibs-tab">
    <!-- left -->
    <c-col :span="12">
      <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
            placeholder="Please input Verification Certificate Number"
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>

    <!-- right -->
    <c-col :span="12">
      <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%"
              placeholder="Please input Input Amount"
              :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 :span="24">
        <el-form-item label="Declaration Number" prop="lendoc.decnum">
          <c-input
            v-model="model.lendoc.decnum"
            maxlength="22"
            placeholder="Please input Declaration Number"
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>

    <!-- <c-col :span="12">
        <el-form-item label="ACT" prop="lendoc.account">
            <c-input type="textarea" v-model="model.lendoc.account" maxlength="25" show-word-limit placeholder="请输入ACT" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
	    <c-checkbox v-model="model.lendoc.actflg">Input Account</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Verification Certificate Number" prop="lendoc.vercerref">
            <c-input type="textarea" v-model="model.lendoc.vercerref" maxlength="20" show-word-limit placeholder="请输入Verification Certificate Number" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Declaration Number" prop="lendoc.decnum">
            <c-input  v-model="model.lendoc.decnum" maxlength="22"  placeholder="请输入Declaration Number"></c-input>
        </el-form-item>
       </c-col> -->
  </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>
