Showing
1 changed file
with
3 additions
and
1 deletions
@@ -22,7 +22,9 @@ var g = new common.grid({ | @@ -22,7 +22,9 @@ var g = new common.grid({ | ||
22 | {display:"单券号",name:"couponCode"}, | 22 | {display:"单券号",name:"couponCode"}, |
23 | {display:"订单号",name:"orderCode"}, | 23 | {display:"订单号",name:"orderCode"}, |
24 | {display:"优惠券名称",name:"couponName"}, | 24 | {display:"优惠券名称",name:"couponName"}, |
25 | - {display:"有效期",name:"endTimeStr"}, | 25 | + {display:"有效期", render: function(item) { |
26 | + return '<p class="audit-time">' + item.startTimeStr + '</p> --' + '<p class="audit-time">' + item.endTimeStr + '</p>'; | ||
27 | + }}, | ||
26 | {display:"状态",render: function(item) { | 28 | {display:"状态",render: function(item) { |
27 | var status = ""; | 29 | var status = ""; |
28 | if(item.status == 0) { | 30 | if(item.status == 0) { |
-
Please register or login to post a comment