Please follow the steps:
Click on Settings >> Click on General Settings >> Click on Sales >> Click on show purchase price >> Click on Save and Update.