The Due Date is set automatically for the vendor selected, but you can set your desired due date by selecting from the date selector given near the field.
The default due date will be calculated based upon the terms stored for each vendor while creating them.