If I remember right, it's roughly 2x or 1.5x the difference in the price of the weapon - in other words, that assault carbine, when fully repaired, would cost you around 4500+ more caps if you were to buy it from that trader.
Items are a lot more expensive in this game than in F3, especially when at full condition.