<!-- 转移（分层） -->
<template>
    <StepFormPackage ref="stepFormPackageRef" prefixKey="swypfx_zyfc" @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",
                    },
                    ytyq: {
                        fillType: "preFill",
                        type: "input",
                    },
                    sjrqcz: {
                        fillType: "actFill",
                        type: "yq",
                    },
                    text2: {
                        label: "转移",
                        type: "text",
                    },
                    shang:{
                        fillType: "preFill",
                        type: "input",
                    },
                    text3: {
                        label: "层清液，预计转移",
                        type: "text",
                    },
                    ytsr1:{
                        fillType: "preFill",
                        type: "inputNumber",
                    },
                    tjxz:{
                        fillType: "preFill",
                        type: "select",
                        selectTo: "sjsrdw2",
                        options:this.getDictOptions('business_tjdw'),  
                    },
                    text4:{
                        label: "，实际转移",
                        type: "text",
                    },
                    sjsr2:{
                        fillType: "actFill",
                        type: "inputNumber",
                        compareTo:"ytsr1",
                        copyFrom:"ytsr1"
                    },
                    sjsrdw2:{
                        fillType: "preFill",
                        type: "select",
                        options: this.getDictOptions('business_tjdw'),  
                    },
                    text5:{
                        label: "至容器中。",
                        type: "text",
                    }
                }
            }]
        }
    },
}
</script>

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