| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -176,6 +176,17 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                  > | 
					 | 
					 | 
					 | 
					                  > | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    订单备注</el-button> | 
					 | 
					 | 
					 | 
					                    订单备注</el-button> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                </el-dropdown-item> | 
					 | 
					 | 
					 | 
					                </el-dropdown-item> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                <el-dropdown-item> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                  <el-button | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    v-if="scope.row._status == 1" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    v-permission="['admin','YXSTOREORDER_ALL','YXSTOREORDER_EDIT']" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    size="mini" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    type="primary" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    @click="cancel(scope.row)" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                  > | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    取消订单 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                  </el-button> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                </el-dropdown-item> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                <el-dropdown-item> | 
					 | 
					 | 
					 | 
					                <el-dropdown-item> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                  <el-button | 
					 | 
					 | 
					 | 
					                  <el-button | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    v-if="scope.row._status == 2" | 
					 | 
					 | 
					 | 
					                    v-if="scope.row._status == 2" | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -279,7 +290,7 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					<script> | 
					 | 
					 | 
					 | 
					<script> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  import checkPermission from '@/utils/permission' | 
					 | 
					 | 
					 | 
					  import checkPermission from '@/utils/permission' | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  import initData from '@/mixins/crud' | 
					 | 
					 | 
					 | 
					  import initData from '@/mixins/crud' | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  import {check, del, edit} from '@/api/bxg/yxStoreOrder' | 
					 | 
					 | 
					 | 
					  import {check, del, edit,cancel} from '@/api/bxg/yxStoreOrder' | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  import eForm from './form' | 
					 | 
					 | 
					 | 
					  import eForm from './form' | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  import eDetail from './detail1' | 
					 | 
					 | 
					 | 
					  import eDetail from './detail1' | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  import eRefund from './refund' | 
					 | 
					 | 
					 | 
					  import eRefund from './refund' | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -403,6 +414,21 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        this.isAdd = true | 
					 | 
					 | 
					 | 
					        this.isAdd = true | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        this.$refs.form.dialog = true | 
					 | 
					 | 
					 | 
					        this.$refs.form.dialog = true | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      }, | 
					 | 
					 | 
					 | 
					      }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      cancel(data){ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        this.loading=true | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        cancel(data).then(res => { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          this.$notify({ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            title: '操作成功', | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            type: 'success', | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            duration: 2500 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          }) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          this.loading = false | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          this.handleOrder() | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        }).catch(err => { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          this.loading = false | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          console.log(err.response.data.message) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        }) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      check(data){ | 
					 | 
					 | 
					 | 
					      check(data){ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        this.loading=true | 
					 | 
					 | 
					 | 
					        this.loading=true | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        check(data).then(res => { | 
					 | 
					 | 
					 | 
					        check(data).then(res => { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |