<!-- 标定(质量) -->
<template>
    <StepFormPackage ref = "stepFormPackageRef" prefixKey="ry_bdzl" @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",
                        },
                        yq:{
                            type:"yq",
                            fillType:"actFill",
                        },
                        text2:{
                            label:"仪器，称取水，其预计标定质量为",
                            type:"text",
                        },
                        rm:{
                            type:"inputNumber",
                            fillType:"preFill",
                        },
                       
                        bdtjdw:{
                            type:"select",
                            options:this.getDictOptions("business_zldw"),
                            selectTo:"sjbdtjdw",
                            fillType:"preFill",
                        },
                        text4:{
                            label:"，实际质量为",
                            type:"text",
                        },
                        sjbdtj:{
                            type:"inputNumber",
                            fillType:"actFill",
                            compareTo:"rm",
                            copyFrom:"rm"
                        },
                        button1:{
                            type:"button",
                            buttonName:"获取值",
                        },
                        text5:{
                            label:"，划线。",
                            type:"text",
                        },

                    }
                }]
            }
        },
    }
</script>

<style lang="scss" scoped>

</style>