|
@@ -78,10 +78,12 @@ $(function () {
|
|
|
{label: '订单号', name: 'orderSn', index: 'order_sn', width: 100, align: 'center'},
|
|
|
{label: '会员', name: 'userName', index: 'user_name', width: 80, align: 'center'},
|
|
|
{label: '商户订单号', name: 'merchOrderSn', index: 'merchOrderSn', width: 100, align: 'center'},
|
|
|
- {label: '优惠券使用', name: 'activityId', index: 'activity_id', width: 70, align: 'center',
|
|
|
+ {label: '优惠券使用', name: 'couponName', index: 'couponName', width: 70, align: 'center',
|
|
|
formatter: function (value) {
|
|
|
- if (value == null) {
|
|
|
+ if (value == null || value == '') {
|
|
|
return '<span style="color: red">未使用</span>';
|
|
|
+ }else{
|
|
|
+ return '<span style="color: red">'+value+'</span>';
|
|
|
}
|
|
|
return value;
|
|
|
}},
|