| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -91,6 +91,7 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					<script> | 
					 | 
					 | 
					 | 
					<script> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import checkPermission from '@/utils/permission' | 
					 | 
					 | 
					 | 
					import checkPermission from '@/utils/permission' | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import { add, edit } from '@/api/bxg/yxStoreCouponIssue' | 
					 | 
					 | 
					 | 
					import { add, edit } from '@/api/bxg/yxStoreCouponIssue' | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					import {give} from '@/api/bxg/yxStoreCoupon' | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import initData from '@/mixins/crud' | 
					 | 
					 | 
					 | 
					import initData from '@/mixins/crud' | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					export default { | 
					 | 
					 | 
					 | 
					export default { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    mixins: [initData], | 
					 | 
					 | 
					 | 
					    mixins: [initData], | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -135,7 +136,6 @@ export default { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    methods: { | 
					 | 
					 | 
					 | 
					    methods: { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        handleSelectionChange(val){ | 
					 | 
					 | 
					 | 
					        handleSelectionChange(val){ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.multipleSelection = val; | 
					 | 
					 | 
					 | 
					            this.multipleSelection = val; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            console.log('this.multipleSelection',this.multipleSelection ) | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        }, | 
					 | 
					 | 
					 | 
					        }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        checkPermission, | 
					 | 
					 | 
					 | 
					        checkPermission, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        beforeInit() { | 
					 | 
					 | 
					 | 
					        beforeInit() { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -153,7 +153,17 @@ export default { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.dialog = false | 
					 | 
					 | 
					 | 
					            this.dialog = false | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        }, | 
					 | 
					 | 
					 | 
					        }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        doSubmit() { | 
					 | 
					 | 
					 | 
					        doSubmit() { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.loading = true | 
					 | 
					 | 
					 | 
					          this.loading = true | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          let data={ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            userIds:this.multipleSelection, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            couponId:this.form.cid | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          give(data).then(res=>{ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            // if (res){ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					              this.$message.success("发放成功") | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					              this.loading=false | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            // } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          }) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        }, | 
					 | 
					 | 
					 | 
					        }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        doAdd() { | 
					 | 
					 | 
					 | 
					        doAdd() { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            add(this.form).then(res => { | 
					 | 
					 | 
					 | 
					            add(this.form).then(res => { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -208,4 +218,3 @@ export default { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					<style scoped> | 
					 | 
					 | 
					 | 
					<style scoped> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					</style> | 
					 | 
					 | 
					 | 
					</style> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					   | 
					 | 
					 | 
					 | 
					 |