<!-- 磁珠清洗 -->
<template>
    <StepFormPackage :fieldItemLabel = "fieldItemLabel" ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'jcb_czqx'" @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: 'czqx',
		},
	},
    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",
                    },
                    yjtj:{
                        fillType: "preFill",
                        type: "inputNumber",
                    },
                    yjtjdw:{
                        fillType: "preFill",
                        type: "select",
                        selectTo: "sjtjdw",
                        options:this.getDictOptions('business_tjdw'),  
                    },
                    text4:{
                        label: "，实际吸取",
                        type: "text",
                    },
                    sjtj:{
                        fillType: "actFill",
                        type: "inputNumber",
                        compareTo:"yjtj",
                        copyFrom:"yjtj"
                    },
                    sjtjdw:{
                        fillType: "preFill",
                        type: "select",
                        options: this.getDictOptions('business_tjdw'),  
                    },
                    text5:{
                        label: "，再使用",
                        type: "text",
                    },
                    yqmc1: {
                        fillType: "preFill",
                        type: "input",
                    },
                    yq1: {
                        fillType: "actFill",
                        type: "yq",
                    },

                    text6:{
                        type:"text",
                        label:"进行磁珠清洗，清洗",
                    },
                    startDate: {
                        type: "input",
                        fillType: "actFill",
                        disabled: true,
                    },
                    button1:{
                        type:"button",
                        buttonName:"开始",
                    },
                    text7:{
                        type:"text",
                        label:"，清洗",
                    },
                    endDate: {
                        type: "input",
                        fillType: "actFill",
                        disabled: true,
                    },
                    button2:{
                        type:"button",
                        buttonName:"结束",
                    },
                    text8: {
                        type: "text",
                        label: "。",
                    },
                }
            }]

            return config
        }
    },
}
</script>

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