<template>
    <div>
        <datetime-field label="计划日期" v-model="planDate"></datetime-field>
        <van-button type="info" @click="_clear">
            清空
        </van-button>
    </div>
</template>

<script>
    import DatetimeField from './DatetimeField'

    export default {
        name: "Search",
        components: {
            DatetimeField
        },
        data() {
            return {
                planDate: ''
            }

        },
        methods: {
            _clear() {
                this.planDate = ''
            }
        }
    }
</script>

<style scoped>

</style>
