if(data.shopType!=='8'&& data.shopType!=='9' && data.shopType!=='16'&& data.shopType!=='10'){ $('#commodity_commodityURL').text(data.commodityURL? data.commodityURL: '-'); }else{ $("#showCommodityDetailHref").removeAttr("href").removeAttr('onclick'); $('#commodity_commodityURL').text('-').css("color","black"); }