Efficient treatment of complex rare earth (RE) smelting wastewater has drawn great attention due to its potential environmental toxicity and the high demand of RE in modern technologies. However, it is still a challenge to achieve the simultaneous recovering RE and separating oil from wastewater. This study makes the first attempt to fabricate a versatile membrane, namely H-UiO-66-PF2, by loading 2-hydroxyphosphono acetic acid functionalized UiO-66 on polyester fabric through one-pot reaction strategy, and reports for the first time the simulta...