New Zealand dairy group Fonterra has signed a deal worth over NZ$300m (US$236m) to supply nutritional milk powders to a customer in China.