| 
					
				 | 
			
			
				@@ -376,16 +376,14 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.dataSource = await salesDetailExtPromoList({ salesPromoSnSet: this.salesPromoSnSet, ...params }).then(res => res.data || []) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      console.log(this.dataSource) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.$emit('hideTable', this.type, this.dataSource.length) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 格式化数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      let f = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let str = '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.outStockStr = '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.dataSource.map((item, i) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (item.id.indexOf('promo-') >= 0) { f = f - 1 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        item.no = i + 1 + f 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        item.no = i + 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 格式化数据,产品编码、产品名称、原厂编码、包装数单位 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const productCode = (item.productEntity && item.productEntity.code) || (item.dealerProductEntity && item.dealerProductEntity.code) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const productName = (item.productEntity && item.productEntity.name) || (item.dealerProductEntity && item.dealerProductEntity.name) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -426,6 +424,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.tableHeight = this.maxHeight 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (this.showEmpty) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.tableHeight = 200 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.spinning = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.disabled = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -437,8 +438,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     .empty-data{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         color: #999; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         text-align: center; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        padding: 20px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         width: 100%; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        position: absolute; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        top: 50%; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        margin-top: -50px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     .table-header-cell-center{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       text-align: center!important; 
			 |