...
|
...
|
@@ -243,8 +243,9 @@ var g = new common.grid({ |
|
|
} else if (item.middleSortName) {
|
|
|
catgory = item.middleSortName;
|
|
|
};
|
|
|
|
|
|
html.push('<p>名称:<a target="_blank" data-index="' + item.__index + '" href="/base/goods/info/' + item.productSkn + '/' + item.isAuditing + '" class="btn btn-info btn-xs edit-class-btn">' + item.productName + '</a>');
|
|
|
// mod by xueyin: 优化,商品名称去掉链接,支持业务复制
|
|
|
//html.push('<p>名称:<a target="_blank" data-index="' + item.__index + '" href="/base/goods/info/' + item.productSkn + '/' + item.isAuditing + '" class="btn btn-info btn-xs edit-class-btn">' + item.productName + '</a>');
|
|
|
html.push("<p>名称:" + item.productName + "</p>");
|
|
|
html.push("<p>品牌:" + item.brandName + "</p>");
|
|
|
html.push("<p>品类:" + catgory + "</p>");
|
|
|
return html.join('');
|
...
|
...
|
@@ -449,6 +450,10 @@ var g = new common.grid({ |
|
|
display: "操作",
|
|
|
render: function(item) {
|
|
|
var html = [];
|
|
|
|
|
|
// add by xueyin: 仍然保留详情页链接
|
|
|
html.push('<a target="_blank" data-index="' + item.__index + '" href="/base/goods/info/' + item.productSkn + '/' + item.isAuditing + '" class="btn btn-info btn-xs edit-class-btn">查看</a>');
|
|
|
|
|
|
if (item.isAuditing != 100) {
|
|
|
html.push('<a target="_blank" data-index="' + item.__index + '" class="btn btn-info btn-xs edit-class-btn" href="/base/goods/update/' + item.productSkn + '/' + item.isAuditing + '">修改</a>');
|
|
|
}
|
...
|
...
|
|