<template>
    <el-dialog title="开票" :visible.sync="dialogFormVisible">
        <el-form :model="forms">
            <el-form-item label="活动名称" label-width="120px">
                <el-input v-model="forms.name" autocomplete="off"></el-input>
            </el-form-item>
            <el-form-item label="活动区域" label-width="120px">
                <el-select v-model="forms.region" placeholder="请选择活动区域">
                    <el-option label="区域一" value="shanghai"></el-option>
                    <el-option label="区域二" value="beijing"></el-option>
                </el-select>
            </el-form-item>
        </el-form>
        <div slot="footer" class="dialog-footer">
            <el-button @click="dialogFormVisible = false">取 消</el-button>
            <el-button type="primary" @click="dialogFormVisible = false">确 定</el-button>
        </div>
    </el-dialog>
</template>
<script>
export default {
    data() {
        return {
            dialogFormVisible: false,
            forms: {}
        }
    },
    methods: {
        show() {
            this.dialogFormVisible = !this.dialogFormVisible
        }
    }
}
</script>