Docpan.vue 2.35 KB
Newer Older
chenzhaole committed
1 2
<template>
  <div class="eibs-tab">
3 4 5

        <c-col :span="11">
            <c-col :span="24">
6 7 8 9
                <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" 
                    style="text-align: left;"
                    ></c-input>
10 11 12 13 14 15 16 17 18 19 20
                </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="请输入Declaration Number"></c-input>
                </el-form-item>
            </c-col>
        </c-col>                      
       
        <c-col :span="11" :offset="1">
21
            <c-col :span="4">
taojinrui committed
22
                <c-checkbox v-model="model.lendoc.actflg">Input Account</c-checkbox>
23
            </c-col>
24 25 26
           
            <c-col :span="20">
                <el-form-item label="ACT" prop="lendoc.account">
taojinrui committed
27
                    <c-input type="textarea" v-model="model.lendoc.account" maxlength="25" show-word-limit placeholder="请输入ACT" 
28
                    :disabled=this.flag
taojinrui committed
29
                    ></c-input>
30 31
                </el-form-item>
            </c-col>
32 33 34
            
                  
            
35 36 37 38
        </c-col>                      
       
                                   
       
39
                                   
40
       
chenzhaole committed
41 42 43 44
  </div>
</template>
<script>
import Api from "~/service/Api"
wangren committed
45
import commonProcess from "~/mixin/commonProcess";
chenzhaole committed
46 47 48 49 50 51
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptati/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
wangren committed
52
    mixins: [commonProcess],
chenzhaole committed
53 54
    data(){
        return {
55
            flag:true,
chenzhaole committed
56 57 58 59 60
        }
    },
    methods:{...Event},
    created:function(){

taojinrui committed
61 62 63 64 65
    },
    watch:{
        "model.lendoc.actflg":{
            immediate:true,
            handler(){
66 67 68 69 70 71
                   console.log(this.model.lendoc.actflg);
                if(this.model.lendoc.actflg ==''){
                    this.model.lendoc.account='';
                    this.flag=true;
                }else{
                    this.flag=false;
taojinrui committed
72 73 74
                }
            }
        }
chenzhaole committed
75
    }
taojinrui committed
76

chenzhaole committed
77 78 79 80 81
}
</script>
<style>

</style>