Yep, you should be able to check in online or at the airport without the vaccination QR codes.
They check them after immigration at BCN, in the baggage hall.
Not sure what happens if you don't have one. They might wave you through, or give you an on the spot LFT.