Eight warehouses will be built on farmland near Basingstoke after a council stamped its approval for development.