Treasurer Jim Chalmers will reveal his spending plans amid a looming federal election and a global trade war.