Authored by 马力

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

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