Welcome to the Support Communities!
The article below may be able to help you with this issue.
Click on the link to see more details and screenshots.
If you do not have a backup of the iTunes library from your previous computer, you will not be able to recover that music.
You can only transfer the music you purchased on your iPhone to the new computer.