<!-- 调节PH(非传值) -->
<template>
    <StepFormPackage ref="stepFormPackageRef" prefixKey="ry_tjphfcz" @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: "使用PH测量仪",
                        type: "text",
                    },
                    yq: {
                        type: "yq",
                        fillType: "actFill",
                    },
                    text2: {
                        label: "仪器，目标PH值为",
                        type: "text",
                    },
                    rm: {
                        type: "inputNumber",
                        fillType: "preFill",
                    },
                    text3: {
                        label: "，加入酸性溶液",
                        type: "text",
                    },
                    rxry: {
                        type: "input",
                        fillType: "preFill",
                    },
                    sj1: {
                        type: "sj",
                        fillType: "actFill",
                        ylCode: "sjjrl",
                        dwCode: "sjjrldw",
                    },
                    text4: {
                        label: "进行调节，实际加入量为",
                        type: "text",
                    },
                    sjjrl: {
                        type: "input",
                        fillType: "actFill",
                    },
                    sjjrldw: {
                        type: "select",
                        options: this.getDictOptions("business_tjdw"),
                        selectTo: "sjbdtjdw",
                        fillType: "actFill",
                    },

                    text5: {
                        label: "，加入碱性溶液",
                        type: "text",
                    },
                    jxry: {
                        type: "input",
                        fillType: "preFill",
                    },
                    sj2: {
                        type: "sj",
                        fillType: "actFill",
                        ylCode: "sjjrl1",
                        dwCode: "sjjrldw1",
                    },
                    text6: {
                        label: "进行调节，实际加入量为",
                        type: "text",
                    },
                    sjjrl1: {
                        type: "input",
                        fillType: "actFill",
                    },
                    sjjrldw1: {
                        type: "select",
                        options: this.getDictOptions("business_tjdw"),
                        selectTo: "sjbdtjdw",
                        fillType: "actFill",
                    },
                    text7: {
                        label: "，调节后实际PH值为",
                        type: "text",
                    },
                    ph: {
                        type: "inputNumber",
                        fillType: "actFill",
                    },
                 
                    text8: {
                        type: "text",
                        label: "。",
                    },
                }
            }]
        }
    },
}
</script>

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