The invention relates to an intelligent planting method of farmland greenhouse Chinese herbal medicine. The method comprises the following steps that A, an intelligent monitor control system is built, and a disinfection pond and a cleaning pool are arranged outside; B, soil aeration is conducted, then mixed fertilizer which is prepared from bean pulp residue, straw residue, wormcast, eggshell residue, green grape juice, green apple juice, lemon juice and lactobacilli is applied to the soil, then the fertilized soil is stacked into multiple strips of field ridges which are arranged in parallel and have cross sections in an isosceles trapezoid shape, wherein the height of the field ridges is 10-20 cm, and the width of the field ridges is 30-50 cm; C, a humidity sensor and an irrigation pipe network are arranged; D, melons and solanaceous vegetables are mixedly planted, and real-time monitoring is achieved. The intelligent planting method is easy to operate and convenient to manage, the cultivated area is saved, the disease spread is greatly lowered, the soil is rapidly and efficiently improved, the quality of the greenhouse Chinese herbal medicine is improved, the yield and planting efficiency of the Chinese herbal medicine are improved, real-time monitoring is more convenient, timely and efficient so that the growing environment in a farmland greenhouse can be improved, and the labor force is saved.