I searched to see if anyone else suggested this but quite frankly I have no idea how to narrow down what I am suggesting.
When I dock into a station and I want to use the station repair and rearm option to repair and refill my cr, the supplies used to do so is taken from my cargo holds.
What I've done for the longest time is to fill up my cargo hold with supplies and hope its enough when I exit the trade screen and press the repair and rearm option.
And to this I am suggesting is that stations give an option to buy the supplies needed to do so from their own stocks instead of having me play trial and error with the trade screen and hope for the best.