Showing
1 changed file
with
7 additions
and
2 deletions
@@ -243,8 +243,9 @@ var g = new common.grid({ | @@ -243,8 +243,9 @@ var g = new common.grid({ | ||
243 | } else if (item.middleSortName) { | 243 | } else if (item.middleSortName) { |
244 | catgory = item.middleSortName; | 244 | catgory = item.middleSortName; |
245 | }; | 245 | }; |
246 | - | ||
247 | - 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>'); | 246 | + // mod by xueyin: 优化,商品名称去掉链接,支持业务复制 |
247 | + //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>'); | ||
248 | + html.push("<p>名称:" + item.productName + "</p>"); | ||
248 | html.push("<p>品牌:" + item.brandName + "</p>"); | 249 | html.push("<p>品牌:" + item.brandName + "</p>"); |
249 | html.push("<p>品类:" + catgory + "</p>"); | 250 | html.push("<p>品类:" + catgory + "</p>"); |
250 | return html.join(''); | 251 | return html.join(''); |
@@ -449,6 +450,10 @@ var g = new common.grid({ | @@ -449,6 +450,10 @@ var g = new common.grid({ | ||
449 | display: "操作", | 450 | display: "操作", |
450 | render: function(item) { | 451 | render: function(item) { |
451 | var html = []; | 452 | var html = []; |
453 | + | ||
454 | + // add by xueyin: 仍然保留详情页链接 | ||
455 | + 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>'); | ||
456 | + | ||
452 | if (item.isAuditing != 100) { | 457 | if (item.isAuditing != 100) { |
453 | 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>'); | 458 | 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>'); |
454 | } | 459 | } |
-
Please register or login to post a comment