For our company, it is only on $$$ spend not mileages. I've frequently used my own mileages to upgrade a company-paid business class ticket into first class but only get reimbursed for the price of the J ticket as the mileage upgrade was at my sole discretion.