SOURCE

var trs = document.querySelectorAll("#xgm_jms_tab1 > tbody:nth-child(2) > tr")
        var rowArray = []
        for(var rowCount=0;rowCount<trs.length;rowCount++){
            var cloumnData = {}
            var tr = trs[rowCount]
            var tds = tr.children
            var endColValue = tr.querySelector("td:nth-last-child(1)").innerText;
            if(endColValue != "0.00" && endColValue !=""){
                for(var columnCount=0;columnCount<tds.length;columnCount++){
                    cloumnData["column"+columnCount]=tds[columnCount].innerText
                }
                rowArray.push(cloumnData)
            }
        }
        JSON.stringify(rowArray)
console 命令行工具 X clear

                    
>
console