Showing
1 changed file
with
5 additions
and
1 deletions
@@ -34,7 +34,11 @@ var g = new common.grid({ | @@ -34,7 +34,11 @@ var g = new common.grid({ | ||
34 | }, | 34 | }, |
35 | //列表显示 | 35 | //列表显示 |
36 | columns: [ | 36 | columns: [ |
37 | - {display: "SKN", name: "productSkn"}, | 37 | + {display: "SKN", name: "productSkn", |
38 | + render: function (item) { | ||
39 | + var formatted = '<a target="_blank" href="/goods/netsale/edit/' + item.productSkn + '">'+item.productSkn+'</a>'; | ||
40 | + return formatted ; | ||
41 | + }}, | ||
38 | { | 42 | { |
39 | display: "最后上传时间", name: "lastAddTime", | 43 | display: "最后上传时间", name: "lastAddTime", |
40 | render: function (item) { | 44 | render: function (item) { |
-
Please register or login to post a comment