<!-- 研磨 -->
<template>
    <StepFormPackage ref = "stepFormPackageRef" @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",
                        },
                        ymj:{
                            type:"input",
                            fillType:"preFill",
                        },
                        text2:{
                            label:"同时使用",
                            type:"text",
                        },
                        ymj2:{
                            type:"input",
                            fillType:"preFill",
                        },
                        yq:{
                            type:"instrument",
                            fillType:"actFill",
                        },
                        text3:{
                            label:"仪器，吸取",
                            type:"text",
                        },
                        ry1:{
                            type:"input",
                            fillType:"preFill",
                        },
                        sj:{
                            type:"regent",
                            fillType:"actFill",
                        },
                        text4:{
                            label:"溶媒，加入预计体积为",
                            type:"text",
                        },
                        ry2:{
                            type:"input",
                            fillType:"preFill",
                        },
                        rytj:{
                            type:"select",
                            options: this.getDictOptions("business_tjdw"),
                            selectTo: "sjrytjdw",
                            fillType: "preFill",
                        },
                        text5:{
                            label:"，实际体积为",
                            type:"text",
                        },
                        ry3:{
                            type:"input",
                            fillType:"actFill",
                            compareTo:"ry2",
                            copyFrom:"ry2"
                        },
                        sjrytjdw:{
                            type:"select",
                            options: this.getDictOptions("business_tjdw"),
                            fillType: "preFill",
                        },
                        text6:{
                            label:"至研钵中，研磨至",
                            type:"text",
                        },
                        klzt:{
                            type:"input",
                            fillType:"preFill",
                        },
                        text7:{
                            label:"。研磨",
                            type:"text",
                        },
                        button1:{
                            type:"button",
                            buttonName:"开始"
                        },
                        text8:{
                            label:"研磨",
                            type:"text",
                        },
                        button2:{
                            type:"button",
                            buttonName:"结束"
                        },
                    }
                }]
            }
        },
    }
</script>

<style lang="scss" scoped>

</style>