<!-- 过滤(自动) -->
<template>
    <StepFormPackage ref = "stepFormPackageRef" prefixKey="ry_glzd" @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],
        props: {
            sn: {
                type: String,
                default: 'glzd',
            },
        },
        components: {
            StepFormPackage
        },
        computed: {
            formConfig() {
                let config = [{
                    config:{
                        text1:{
                            label:"使用隔膜真空泵",
                            type:"text",
                        },
                        yq:{
                            type:"yq",
                            fillType:"actFill",
                        },
                        text2:{
                            label:"仪器，选择",
                            type:"text",
                        },
                        sjsr:{
                            type:"input",
                            fillType:"preFill",
                        },
                        sj:{
                            type:"sj",
                            fillType:"actFill",
                        },
                        text3:{
                            label:"进行过滤。",
                            type:"text",
                        },
                    }
                }]
                if(this.sn==='glzd_b'){
                    config[0].config.remark = {
                        type: "input",
                        fillType: "actFill",
                    }
                }
                return config
            }
        },
    }
</script>

<style lang="scss" scoped>

</style>