The military could do anything with batteries to get a truck 'out the door'. Normally I would be one to also say get all matching batteries, but, you might be ok for a while, especially if all are that new. The reason is that with the 'front' two batteries matching, and the 'rear' two matching, each pair of the same type batteries are being charged in parallel, and that's good. The rear pair are being charged at 12 v too, the difference in outputs of the 12v portion of the alternator and the 24 v alternator. I have found that voltage to be unpredictable anyway.
The starter loads the dissimilar batteries in series, a bad thing. But, then the batteries are immediately charged by 'their own alternator', and they are effectively not in series. That should charge the pairs so they are ready for the next start.
I would do what Tnriverjet said, charge the batteries separately and evaluate them (by just disconnecting appropriate cables). Then with the truck running, verify a proper charge voltage across each pair (around 14v the front pair, and around 14v for the rear pair).
If you had dissimilar batteries in parallel (which you do not) then you could expect issues sooner.
Bottom line is that if you can watch those mismatched batteries for beginning of failures, and would not be too affected by having a dead battery one day, then save some money and get all you can out of these batteries, imho.