The invention belongs to the technical field of mechanical processing, and in particular relates to a multi-spindle electromechanical fully automatic adjustable wheelbase milling and drilling compound processing machine tool. Its technical scheme is: control the drive system 21 through the data drive line 22 and control and drive the movement of the main motor 1, the lifting motor 31, the distance adjustment motor 10, the electric spindle 14 according to the input command, the opening and closing of the electromagnetic brake 7, and the electromagnet. 11. The on-off of the lower electromagnet 19, the movement of the horizontal feed table 27, the longitudinal feed table, and the machine tool lifting table 25 can not only efficiently mill the workpiece but also simultaneously drill the hole groups formed by multiple holes cutting, and can realize the automatic adjustment of the radius of gyration, and can realize a variety of milling and drilling modes, and can realize the automatic intelligent conversion of each mode. It effectively solves the increase of torque, increase of cutting force, increase of cutting heat, decrease of tool durability, chatter and impact in the cutting process.