|
@@ -10,8 +10,7 @@ $(function () {
|
|
|
{label: '店员名称', name: 'sallerName', index: 'sallerName',align: 'center', width: 120},
|
|
|
{label: '门店名称', name: 'storeName', index: 'storeName',align: 'center', width: 120},
|
|
|
{label: '活动id', name: 'discountId', index: 'discount_id', align: 'center', width: 120,formatter:function(value){
|
|
|
- console.log(typeof value);
|
|
|
- if(value === '0'){
|
|
|
+ if(value === '0' || value == null){
|
|
|
return '-';
|
|
|
}
|
|
|
return value;
|