<!-- 颠倒混匀 -->
<template>
    <StepFormPackage :fieldItemLabel = "fieldItemLabel" ref="stepFormPackageRef" :prefixKey="stepIndex+'_'+'pcr_ddhy_pcr'" @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: 'ddhy_pcr',
		},
	},
    components: {
        StepFormPackage
    },
    computed: {
        formConfig() {
            return [{
                config: {
                    text1: {
                        label: "将样品进行上下颠倒，预计颠倒",
                        type: "text",
                    },
                    yjdd: {
                        fillType: "preFill",
                        type: "inputNumber",
                    },
                    text2: {
                        label: "次，实际颠倒",
                        type: "text",
                    },
                    sjdd: {
                        fillType: "actFill",
                        type: "inputNumber",
                        compareTo:"yjdd",
                        copyFrom:"yjdd"
                    },
                    text3: {
                        label: "次。",
                        type: "text",
                    },
                }
            }]
        }
    },
}
</script>

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