the next year he was made minister for business and consumer affairs in malcolm fraser 's government , then minister assisting the prime minister in 1977 , minister for special trade negotiations , and treasurer until 1983 .