<!-- 试剂标记 -->
<template>
    <StepFormPackage :fieldItemLabel = "fieldItemLabel" ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'jcb_sjbj'" @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: 'sjbj',
		},
	},
    components: {
        StepFormPackage
    },
    computed: {
        formConfig() {
            let config =  [{
                config: {
                    text1: {
                        label: "使用",
                        type: "text",
                    },
                    yqmc: {
                        fillType: "preFill",
                        type: "input",
                    },
                    yq: {
                        fillType: "actFill",
                        type: "yq",
                    },
                    text2: {
                        label: "仪器，分别向",
                        type: "text",
                    },

                    jg: {
                        fillType: "preFill",
                        type: "input",
                    },
                    tyz: {
                        fillType: "preFill",
                        type: "input",
                    },
                    text3: {
                        label: "加入",
                        type: "text",
                    },

                    rymc:{
                        fillType: "preFill",
                        type: "input",
                    },
                    ry:{
                        fillType: "actFill",
                        type: "sj",
                        ylCode: "sjtj",
                        dwCode: "sjtjdw",
                    },
                    text4:{
                        label: "溶液，预计各加入体积为",
                        type: "text",
                    },


                    yjtj:{
                        fillType: "preFill",
                        type: "inputNumber",
                    },
                    yjtjdw:{
                        fillType: "preFill",
                        type: "select",
                        selectTo: "sjtjdw",
                        options:this.getDictOptions('business_tjdw'),  
                    },
                    text5:{
                        label: "，实际各加入体积为",
                        type: "text",
                    },
                    sjtj:{
                        fillType: "actFill",
                        type: "inputNumber",
                        compareTo:"yjtj",
                        copyFrom:"yjtj"
                    },
                    sjtjdw:{
                        fillType: "preFill",
                        type: "select",
                        options: this.getDictOptions('business_tjdw'),  
                    },
                    text6:{
                        label: "。",
                        type: "text",
                    },
                }
            }]

            return config
        }
    },
}
</script>

<style lang="scss" scoped></style>