<!-- 取用物质 -->
<template>
    <StepFormPackage @onDialogSubmit="onDialogSubmit" prefixKey="ry_qywz" ref = "stepFormPackageRef" @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",
                        },
                        ddsys:{
                            type:"input",
                            fillType:"preFill",
                        },
                        yq:{
                            type:"gsp",
                            fillType:"actFill",
                        },
                        text2:{
                            label:"其质量为",
                            type:"text",
                        },
                        zl:{
                            type:"input",
                            fillType:"actFill",
                            disabled:true,

                        },
                        text3:{
                            label:"。",
                            type:"text",
                        },
                    }
                }]
            }
        },
        methods: {
            onDialogSubmit(data){
                console.log(data);
            }
        }
    }
</script>

<style lang="scss" scoped>

</style>