Automatic glue filling-capping system