| 
					
				 | 
			
			
				@@ -155,11 +155,15 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            label="教务老师"></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-table-column align='center' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            fixed="right" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                           width="150px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            label="操作"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <el-button @click="onBackMoney(scope.row)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                          v-permission="'sellOrder/update'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                          type="text">修改成本</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <el-button @click="openRefund(scope.row)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                         v-permission="'sellOrder/update'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                         type="text">退费</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-table> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -169,6 +173,36 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     :page-sizes="pageInfo.page_size" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     @pagination="getList" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <el-dialog 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        title="退费" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        width="400px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        :visible.sync="refundVisible" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @close="refundVisible = false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-form 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          :model="refundForm" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          :rules="refundRules" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          ref="refundform" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-form-item 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            label="退费金额" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            prop="money" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            label-width="100px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-input 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              v-model="refundForm.money" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              type="number" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              placeholder="请输入退费金额" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </el-form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <span slot="footer" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              class="dialog-footer"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-button @click="refundVisible = false">取消</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-button type="primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                     @click="submitRefund">确认</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </el-dialog> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-dialog title="修改成本" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  :visible.sync="backStatus" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  @close="onFormClose('ruleForm')" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -256,6 +290,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       paymentChannelStatus: paymentChannelStatus, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       orderDate: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      refundVisible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       detail: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       searchForm: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         search: '', 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -284,6 +319,12 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       rules: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         sellCost: [{ required: true, message: '请输入金额', trigger: 'input' }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      refundForm: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        money: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      refundRules: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        money: [{ required: true, message: '请输入退费金额', trigger: 'blur' }], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       cooperations: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       restaurants: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -387,6 +428,13 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     onFormClose (formName) { // 关闭弹窗重置验证 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.$refs[formName].clearValidate() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    openRefund(row) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.refundVisible = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.detail = row 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    submitRefund() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      console.log({...this.refundForm}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     onBackMoney (row) { // 退费 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.backStatus = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.detail = row 
			 |