Zhang commanded the Chinese Air Force during the 1979 Sino-Vietnamese War, and was made chief of staff of the Southern Front, the main front facing Vietnam.