zhh 3 年 前
コミット
92688fcb5f
1 ファイル変更1 行追加2 行削除
  1. 1 2
      kmall-admin/src/main/webapp/js/cashier/salerecord.js

+ 1 - 2
kmall-admin/src/main/webapp/js/cashier/salerecord.js

@@ -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;