The original magic system from Final Fantasy 1 (you can only cast N spells per magic level, maximum of 9) is a copy of the system from Wizardry. The only difference you have to type the spell name to cast it in Wizardry, and you get a menu in Final Fantasy.
The FF1 spell list is more directly derived from D&D, though. It even has the Power Words. The sense I've gotten from reading about the development of FF is that the dev team had varied experience with existing RPGs, so the game ended up as a mixture of derivative and original ideas. (The face-to-face side view in combat was apparently inspired by football!)
Dragon Quest (which came before Final Fantasy and inspired it) took inspiration from Wizardry. Most RPG from the 80s were inspired by Wizardry. It had huge influences.
JRPGs especially! Wizardry as a series remained popular in Japan well after its popularity faded in the west. You can see games taking the general first-person dungeon crawling style straight from Wizardry in some late-90s JRPGs like the King's Field series. I think the Wizardry series itself is still going in Japan, as well.