The Spanish parliament approved the deployment on a vote of 311 to nothing Wednesday .