Is there a mod to enter shipment quantity?

Im looking for a mod or a script to add that allows me to type in a text field how many guns in the shipment you want after clicking buy in the shipment menu and multiplies the price. And that also denies invalid characters with a text message printing: “invalid character”