<!-- 染色 -->
<template>
    <StepFormPackage ref = "stepFormPackageRef" :prefixKey="stepIndex+'_'+'ry_rs'" @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:"yq",
                            fillType:"actFill",
                        },
                        text2:{
                            label:"仪器，吸取",
                            type:"text",
                        },
                        ddsys2:{
                            type:"input",
                            fillType:"preFill",
                        },
                        sj:{
                            type:"xb",
                            fillType:"actFill",
                        },
                        text3:{
                            label:"吸入预计体积为",
                            type:"text",
                        },
                        yjtj:{
                            type:"input",
                            fillType:"preFill",
                        },
                        yjtjdw:{
                            type:"select",
                            fillType:"preFill",
                            options: this.getDictOptions("business_tjdw"),
                            selectTo:"sjtjdw"
                        },
                        text4:{
                            label:"，实际休积为",
                            type:"text",
                        },
                        sjtj:{
                            type:"input",
                            fillType:"actFill",
                            compareTo:"yjtj",
                            copyFrom:"yjtj",
                        },
                        sjtjdw:{
                            type:"select",
                            fillType:"preFill",
                            options: this.getDictOptions("business_tjdw"),
                        },
                        text5:{
                            label:"再吸取",
                            type:"text",
                        },
                        yjtj1:{
                            type:"input",
                            fillType:"preFill",
                        },
                        yjsj:{
                            type:"sj",
                            fillType:"actFill",
                            ylCode: "sjtj2",
                            dwCode: "sjtjdw1",
                        },
                        text6:{
                            label:"溶液，加入预计体积为",
                            type:"text",
                        },
                         yjtj2:{
                            type:"input",
                            fillType:"preFill",
                        },
                        yjtjdw1:{
                            type:"select",
                            fillType:"preFill",
                            options: this.getDictOptions("business_tjdw"),
                            selectTo:"sjtjdw1"
                        },
                        text7:{
                            label:"，实际休积为",
                            type:"text",
                        },
                        sjtj2:{
                            type:"input",
                            fillType:"actFill",
                            compareTo:"yjtj2",
                            copyFrom:"yjtj2",
                        },
                        sjtjdw1:{
                            type:"select",
                            fillType:"preFill",
                            options: this.getDictOptions("business_tjdw"),
                        },
                        text8:{
                            label:"进行染色。",
                            type:"text",
                        },
                        
                    }
                }]
            }
        },
    }
</script>

<style lang="scss" scoped>

</style>