<template>
    <add :use-type="useType" :project-quantity-list="projectQuantityList" :sbId="sbId" :id="id" />
</template>

<script>
import add from '@/pages/fill/add'
export default {
    components: {
        add
    },
    onLoad(options) {
        this.sbId = options.sbId
        this.id = options.id
    },
    data() {
        return {
            sbId: null,
            id: null,
            projectQuantityList: [],
            useType: this.$DictCache.VALUE.FILL_INFO_USE_TYPE.FILL_INFO_USE_TYPE_YUN_XING
        };
    },
    created () {
        // 下拉框map
        this.$Http.queryFillProjectQuantityDeptProject().then(res => {
            this.projectQuantityList = res.data
        })
    },
    methods: {
    }
};
</script>

<style></style>
