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

        <c-col :span="11">
            <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>

19
        <c-col :span="11" :offset="1">
20
            <c-col :span="4">
21
                <c-checkbox v-model="model.lendoc.actflg">输入账户</c-checkbox>
22
            </c-col>
23

24
            <c-col :span="20">
25 26
                <c-input type="textarea" v-model="model.lendoc.account" maxlength="25" show-word-limit
                    placeholder="请输入ACT" :disabled=this.flag></c-input>
27
            </c-col>
28 29
        </c-col>
    </div>
chenzhaole committed
30 31 32
</template>
<script>
import Api from "~/service/Api"
wangren committed
33
import commonProcess from "~/mixin/commonProcess";
chenzhaole committed
34 35 36 37 38
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptati/Event"

export default {
    inject: ['root'],
39
    props: ["model", "codes"],
wangren committed
40
    mixins: [commonProcess],
41
    data() {
chenzhaole committed
42
        return {
43
            flag: true,
chenzhaole committed
44 45
        }
    },
46 47
    methods: { ...Event },
    created: function () {
chenzhaole committed
48

taojinrui committed
49
    },
50 51 52 53 54 55 56 57 58 59
    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
60 61 62
                }
            }
        }
chenzhaole committed
63
    }
taojinrui committed
64

chenzhaole committed
65 66 67 68 69
}
</script>
<style>

</style>