This is very common with Oscars. Unfortunately, we are not quite sure why they suddenly stop eating. In many cases, the water is fine, the fish seems in good health, it just refuses to eat. Please check the following link.
www.oscarfishlover.com/index.php/Oscar-n...ll-Not-Eat-Food.html
Vegetables and Beefheart are not really a suitable main diet. Get some good quality pellets and try them with your Oscar. I can recommend Hikari Cichlid and some of the tetra range, my Oscars absolutely adore the dorimin food sticks. Check your water conditions and temperature of water. Also, please carry out a water test and give us the results.