Step 1: Go to purchases >> Select purchase order >> Click on more options >> Select edit option.
Step 2: Remove the existing vendor
Step 3: Add a new vendor >> Click on save to change the name of the vendor.