Seems that surplus trade resource (if these are from city states?) are not taken to account in "leader diplomatic" screen BUT they are displayed in trading screen and toolbar.
See screenshot: "Crab vs Pearls" or "Horses vs Iron" (I don't use any iron for units yet)
See screenshot: "Crab vs Pearls" or "Horses vs Iron" (I don't use any iron for units yet)