function buySelect(){
        var Totalall = 0;
        $("[name='okbuy[]']:checked").each(function(){
            Totalall += Number($(this).val());       //转成数字
            //alert(typeof $(this).val());           //这里都是string类型
        });
        alert(Totalall);
    }