| 
					
				 | 
			
			
				@@ -350,7 +350,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   {_this.$hasPermissions('B_salesEdit_salesPrice')&&record.promo&&record.total&&record.total.lossAmount ? (<span>优惠金额:<strong>{record.total.lossAmount}</strong>;</span>):('')} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   {_this.$hasPermissions('B_salesEdit_salesPrice')&&record.promo&&record.total&&record.total.cgejyAmount>0&&!isBuyPSendP ? (<span>采购额结余:<strong>{_this.toThousands(record.total.cgejyAmount)}</strong>;</span>):('')} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   {_this.$hasPermissions('B_salesEdit_salesPrice')&&record.promo&&record.total&&record.total.cgejyAmount<0&&!isBuyPSendP ? (<span>采购额超出:<strong>{_this.toThousands(record.total.cgeccAmount)}</strong>;</span>):('')} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  {_this.$hasPermissions('B_salesEdit_salesPrice')&&record.promo&&record.total&&record.total.totalPromoGiftsAmount&&isBuyPSendP ? (<span>促销产品转采购额金额:<strong>{record.total&&record.total.totalPromoGiftsAmount||'--'}</strong>;</span>):('')} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  {_this.$hasPermissions('B_salesEdit_salesPrice')&&record.promo&&record.total&&record.total.totalPromoGiftsAmount&&isBuyPSendP ? (<span>促销产品转采购额金额:<strong>{_this.toThousands(record.total&&record.total.totalPromoGiftsAmount)||'--'}</strong>;</span>):('')} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   {record.expenseAccountFlag!='WAIT' ? record.expenseAccountFlagDictValue : ''} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </div> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -435,11 +435,19 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     selectedRowChange({ row, isSelected, selectedRowKeys }){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // console.log(row, isSelected, selectedRowKeys); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.selectedRowKeys = selectedRowKeys; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if(!isSelected){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        row.convertPromoGiftsQty = row.bakConvertPromoGiftsQty 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 全选行 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     selectedAllChange({ isSelected, selectedRowKeys }){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // console.log(isSelected, selectedRowKeys); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.selectedRowKeys = selectedRowKeys; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // 取消全选后,重置数量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if(!isSelected && this.showConvertPromoGifts){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.dataSource.filter(item=>item.convertPromoGiftsQty).map(item => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          item.convertPromoGiftsQty = item.bakConvertPromoGiftsQty 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 获取销售单参与的活动列表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     getActiveList(){ 
			 |