<!-- 浓度测定 -->
<template>
    <StepFormPackage ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcrfx_ndcd'" @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",
                    },
                    yqmc: {
                        fillType: "preFill",
                        type: "input",
                    },
                    yq: {
                        fillType: "actFill",
                        type: "yq",
                    },
                    text2: {
                        label: "仪器，按核酸浓度测定排版表吸取核酸样品和Blank样品",
                        type: "text",
                    },
                    ry:{
                        fillType: "actFill",
                        type: "sj",
                        ylCode: "sjtj",
                        dwCode: "sjtjdw",
                    },
                    text3:{
                        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: "至uDrop Duo Plates，用多功能酶标仪系统",
                        type: "text",
                    },
                    mbxt: {
                        fillType: "actFill",
                        type: "yq",
                    },
                    text6:{
                        label: "，选择程序预计为",
                        type: "text",
                    },
                    yjcx:{
                        fillType: "preFill",
                        type: "select",
                        options:this.getDictOptions('business_step_pcr'),  
                    },
                    text7:{
                        label: "，选择程序实际为",
                        type: "text",
                    },
                    sjcx:{
                        fillType: "actFill",
                        type: "select",
                        options:this.getDictOptions('business_step_pcr'),
                        compareTo:'yjcx'  
                    },
                    text8:{
                        label: "，进行浓度测定。",
                        type: "text",
                    },
                }
            }]
        }
    },
}
</script>

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