The spindle is dual voltage so can be run 220v or 380V. This is determined by how you connect the wire terminals on the spindle NOT the VFD.
So if your Spindle was lasted used on 380v Three phase supply then it will be wired in Star config. If used on 220V single or three phase supply it will wired Delta.
If your Supply is 220V Single phase then you need spindle config to be Delta.

Regards the wires then I cannot tell you from that picture. On the VFD they will be marked so thing like ACM & V1 or Gnd & V1 or Gnd & A1 depending on type of speed controller.
If your not sure what doing then suggest you don't go poking around because some speed controllers can be at Mains potential and very dangerous.
Sorry I'm too far away to help.

If you send better pics of spindle inside the cover I can probably tell you if Star or Delta. Like wise if send better pics of VFD or The board I can tell you which wires to measure from but if your not confident with electrickery then still suggest you seek advise or help from someone who is.