<!-- 取出原药 -->
<template>
    <StepFormPackage ref = "stepFormPackageRef" prefixKey="ry_qcyy" @resetRecord = "resetRecord" :form-config="formConfig" :formData = "formData" />
</template>

<script>
import StepFormPackage from '@/components/Template/StepFormPackage.vue';
import stepMixins from '@/components/Template/mixins/stepMixins.js';    

    export default {
        mixins: [stepMixins],
        components: {
            StepFormPackage
        },
        computed: {
            formConfig() {
                return [{
                    config:{
                        text1:{
                            label:"取出",
                            type:"text",
                        },
                        ddsys:{
                            type:"input",
                            fillType:"preFill",
                        },
                        yq:{
                            type:"mix",
                            fillType:"actFill",
                            ylCode: "sjqc",
                            dwCode: "sjqcdw",
                        },
                        text2:{
                            label:"预计取出",
                            type:"text",
                        },
                        yjqc:{
                            type:"input",
                            fillType:"preFill",
                        },
                        yjqcdw:{
                            type:"select",
                            fillType:"preFill",
                            options: this.getDictOptions("business_ggdw"),
                            selectTo:"sjqcdw"
                        },
                        text3:{
                            label:"实际取出",
                            type:"text",
                        },
                        sjqc:{
                            type:"input",
                            fillType:"actFill",
                        },
                        sjqcdw:{
                            type:"select",
                            fillType:"preFill",
                            options: this.getDictOptions("business_ggdw"),
                        },
                        text4:{
                            label:"。",
                            type:"text",
                        },
                    }
                }]
            }
        },
    }
</script>

<style lang="scss" scoped>

</style>