Showing
1 changed file
with
2 additions
and
2 deletions
@@ -37,8 +37,8 @@ var g = new common.grid({ | @@ -37,8 +37,8 @@ var g = new common.grid({ | ||
37 | columns: [ | 37 | columns: [ |
38 | {display: "SKN", name: "productSkn", | 38 | {display: "SKN", name: "productSkn", |
39 | render: function (item) { | 39 | render: function (item) { |
40 | - var roleId=item.roleId; | ||
41 | - if(roleId==30||roleId==32){ | 40 | + var flag=item.roleFlag; |
41 | + if(flag==1){ | ||
42 | return '<a target="_blank" href="/goods/netsale/edit/' + item.productSkn + '">' + item.productSkn + '</a>' | 42 | return '<a target="_blank" href="/goods/netsale/edit/' + item.productSkn + '">' + item.productSkn + '</a>' |
43 | }else { | 43 | }else { |
44 | return item.productSkn | 44 | return item.productSkn |
-
Please register or login to post a comment