const config = {
    mt103:{
        t111:{visible:true,value:'001',read:false,required:true},
        t121:{visible:true,value:'',read:false,required:true},
        title:''
    },
    mt202:{
        t111:{visible:true,value:'001',read:false,required:true},
        t121:{visible:true,value:'',read:false,required:true},
        title:''
    },
    mt202cov:{
        t111:{visible:true,value:'001',read:false,required:true},
        t121:{visible:true,value:'',read:false,required:true},
        title:''
    },
    // mt199:{
    //     t111:{visible:true,value:'001',read:true},
    //     t121:{visible:true,value:'',read:false,required:true},
    //     title:''
    // },
    mt199_fk:{
        t111:{visible:true,value:'001',read:true,required:true},
        t121:{visible:true,value:'',read:false,required:true},
        title:''
    },
    // mt299:{
    //     t111:{visible:true,value:'001',read:true},
    //     t121:{visible:true,value:'',read:false,required:true},
    //     title:''
    // },
    mt299_fk:{
        t111:{visible:true,value:'001',read:true,required:true},
        t121:{visible:true,value:'',read:false,required:true},
        title:''
    },
    // mt192:{
    //     t111:{visible:true,value:'001',read:true},
    //     t121:{visible:true,value:'',read:false,required:true},
    //     title:''
    // },
    mt192_zf:{
        t111:{visible:true,value:'002',read:true,required:true},
        t121:{visible:true,value:'',read:false,required:true},
        title:''
    },
    mt192_fk:{
        t111:{visible:true,value:'002',read:true,required:true},
        t121:{visible:true,value:'',read:false,required:true},
        title:''
    },
    mt199_zf:{
        t111:{visible:true,value:'002',read:true,required:true},
        t121:{visible:true,value:'',read:false,required:true},
        title:'MT 199止付'
    },
    mt199_zffk:{
        t111:{visible:true,value:'002',read:true,required:true},
        t121:{visible:true,value:'',read:false,required:true},
        title:'MT 199止付反馈'
    },
    mt196_zffk:{
        t111:{visible:true,value:'002',read:true,required:true},
        t121:{visible:true,value:'',read:false,required:true},
        title:'MT 196止付反馈'
    },
   
}

export default function (mty,subflag)
{
    let key = mty
    if(subflag && subflag!='NONE')
        key = `${mty}_${subflag}`
    return config[key]
}