Docpan1.vue 2.28 KB
Newer Older
chenzhaole committed
1
<template>
LiRui committed
2
    <div class="eibs">
3

LiRui committed
4
        <c-col :span="12" style="padding-right: 20px;">
5
            <c-col :span="24">
6 7 8
                <el-form-item label="验证证书编号" prop="lendoc.vercerref">
                    <c-input type="textarea" v-model="model.lendoc.vercerref" maxlength="20" show-word-limit
                        placeholder="请输入验证证书编号" style="text-align: left;"></c-input>
9 10
                </el-form-item>
            </c-col>
11

12
            <c-col :span="24">
13 14
                <el-form-item label="申报号" prop="lendoc.decnum">
                    <c-input v-model="model.lendoc.decnum" maxlength="22" placeholder="请输入申报号"></c-input>
15 16
                </el-form-item>
            </c-col>
17 18
        </c-col>

LiRui committed
19
        
LiRui committed
20
        <c-col :span="12" style="padding-left: 20px;">
LiRui committed
21 22 23 24 25 26 27 28 29 30 31 32
            <c-col :span="24">
                <el-form-item label="" prop="" style="position:relative">
                    <c-checkbox style="position:absolute;left: -80px;" v-model="model.lendoc.actflg">输入账户</c-checkbox>
                    <c-input type="textarea" 
                        v-model="model.lendoc.account" 
                        maxlength="25" 
                        show-word-limit
                        placeholder="请输入ACT" 
                        :disabled=this.flag>
                    </c-input>                    
                </el-form-item>
            </c-col> 
33 34
        </c-col>
    </div>
chenzhaole committed
35 36 37
</template>
<script>
import Api from "~/service/Api"
wangren committed
38
import commonProcess from "~/mixin/commonProcess";
chenzhaole committed
39 40 41 42 43
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptati/Event"

export default {
    inject: ['root'],
44
    props: ["model", "codes"],
wangren committed
45
    mixins: [commonProcess],
46
    data() {
chenzhaole committed
47
        return {
48
            flag: true,
chenzhaole committed
49 50
        }
    },
51 52
    methods: { ...Event },
    created: function () {
chenzhaole committed
53

taojinrui committed
54
    },
55 56 57 58 59 60 61 62 63 64
    watch: {
        "model.lendoc.actflg": {
            immediate: true,
            handler() {
                console.log(this.model.lendoc.actflg);
                if (this.model.lendoc.actflg == '') {
                    this.model.lendoc.account = '';
                    this.flag = true;
                } else {
                    this.flag = false;
taojinrui committed
65 66 67
                }
            }
        }
chenzhaole committed
68
    }
taojinrui committed
69

chenzhaole committed
70 71 72 73 74
}
</script>
<style>

</style>