<template>
    <DatePicker style="width:110px" type="date" v-model="data[filter.code]" format="yyyy-MM-dd" @on-change="data[filter.code]=$event" :placeholder="filter.label" :clearable="filter.can_clear || false" split-panels></DatePicker>
</template>
<script>
export default {
    name: 'FDate',
    data() {
        return {}
    },
    props: {
        filter: {
            type: Object
        },
        data: {
            type: Object
        }
    },
    computed: {},
    methods: {},
    mounted() {
    }
};
</script>
<style lang="less" scoped>
</style>