Authored by liuyue

skc上架更新列表

... ... @@ -304,8 +304,6 @@ var loadtab = function() {
}
loadtab();
g.init($("#gridurl").val());
//筛选
... ... @@ -430,7 +428,6 @@ var shelveTable = new common.grid({
}, {
display: '<div class="subhhead"><span>SKU</span><span>尺码</span><span>库存</span><span>SKU上架操作</span><span>SKU上架操作</span></div>',
render: function(item) {
console.log(item);
return common.util.__template2($("#template2").html(), item)
}
}]
... ... @@ -476,7 +473,6 @@ function getdata(Skn, callback) {
$(document).on("click", ".btnskc", function() {
var item = goodsList[$(this).data("index")];
console.log(item);
common.util.__ajax({
url: '/goods/product/updateGoodsStatus',
data: {
... ... @@ -489,7 +485,7 @@ $(document).on("click", ".btnskc", function() {
goodsList = res.data.goodsList;
shelveTable.init(res.data.goodsList);
});
g.init($("#gridurl").val());
}
})
});
... ...