<!-- 研磨 -->
<template>
    <StepFormPackage ref = "stepFormPackageRef" prefixKey="ry_ym" @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:"yq",
                            fillType:"actFill",
                        },
                        text3:{
                            label:"仪器，吸取",
                            type:"text",
                        },
                        ry1:{
                            type:"input",
                            fillType:"preFill",
                        },
                        sj:{
                            type:"sj",
                            fillType:"actFill",
                            ylCode: "ry3",
                            dwCode: "sjrytjdw",
                        },
                        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: "actFill",
                        },
                        text6:{
                            label:"至研钵中，研磨至",
                            type:"text",
                        },
                        klzt:{
                            type:"input",
                            fillType:"preFill",
                        },
                        text7:{
                            label:"。研磨",
                            type:"text",
                        },
                        startDate: {
                            type: "input",
                            fillType: "actFill",
                            disabled: true,
                        },
                        button1:{
                            type:"button",
                            buttonName:"开始"
                        },
                        text8:{
                            label:"研磨",
                            type:"text",
                        },
                        endDate: {
                            type: "input",
                            fillType: "actFill",
                            disabled: true,
                        },
                        button2:{
                            type:"button",
                            buttonName:"结束"
                        },
                        text9:{
                            label:"。",
                            type:"text",
                        }
                    }
                }]
            }
        },
    }
</script>

<style lang="scss" scoped>

</style>