Salary Structure not changing in Salary Slip on changing Employee


While creating a Salary Slip, the current logged in Employee gets selected by default and all the details of that Employee gets fetched.
Now, if the Employee is changed for generating his/her Salary Slip, the Salary Structure of the Employee i.e. the Earning & Deduction doesn’t change accordingly.

How to resolve this issue?

screen shot!

Please go through the link below-

Password: erpnext

Console is open on the right, and there is no error.

Any solutions?