1.控制台粘贴回车
var j=document.createElement('script');
j.setAttribute("src", 'https://ajax.microsoft.com/ajax/jquery/jquery-1.4.min.js');
document.getElementsByTagName("head")[0].appendChild(j);
2.控制台粘贴回车
$("span[title='添加入库']").each(function(){
$(this).delay(500).click();
console.log($(this).parent().prev().children().eq(0).html());
});