Authored by 马力

对于每种状态下的商品都可以进行编辑

@@ -78,7 +78,7 @@ var editPostion = '',isInfoMiss,sortFlag; @@ -78,7 +78,7 @@ var editPostion = '',isInfoMiss,sortFlag;
78 78
79 var t = new common.tab2({ 79 var t = new common.tab2({
80 el: "#basicTab", 80 el: "#basicTab",
81 - active:4, 81 + active:5,
82 click: function() { 82 click: function() {
83 var columnname=t.options.columns[t.options.active].name; 83 var columnname=t.options.columns[t.options.active].name;
84 g.options.columns[11].hidden = true; 84 g.options.columns[11].hidden = true;
@@ -334,7 +334,7 @@ var g = new common.grid({ @@ -334,7 +334,7 @@ var g = new common.grid({
334 var HtmArr = []; 334 var HtmArr = [];
335 var intValue ; 335 var intValue ;
336 var intVal_shopsSearchSort; 336 var intVal_shopsSearchSort;
337 - if (item.status == 4 || item.status == 1 || item.status == 5 || item.status == 6) { 337 + if (item.status == 4 || item.status == 1 || item.status == 5 || item.status == 6 || item.status == 7 || item.status == 9 || item.status == 10) {
338 HtmArr.push('<a target="_blank" href="/goods/netsale/edit/' + item.productSkn + editPostion + '" class="btn btn-info btn-xs edit-btn">编辑</a>'); 338 HtmArr.push('<a target="_blank" href="/goods/netsale/edit/' + item.productSkn + editPostion + '" class="btn btn-info btn-xs edit-btn">编辑</a>');
339 // HtmArr.push('<a href="javascript:;" class="btn btn-danger btn-xs shelve-btn" data-index="' + item.__index + '">下架</a>'); 339 // HtmArr.push('<a href="javascript:;" class="btn btn-danger btn-xs shelve-btn" data-index="' + item.__index + '">下架</a>');
340 } else if (item.status == 3 || item.status == 8 || item.status == 2 || item.status == 0) { 340 } else if (item.status == 3 || item.status == 8 || item.status == 2 || item.status == 0) {