shish hace 1 año
padre
commit
a3a630dd6a
Se han modificado 1 ficheros con 16 adiciones y 2 borrados
  1. 16 2
      ghs/src/views/order/refund-list.vue

+ 16 - 2
ghs/src/views/order/refund-list.vue

@@ -59,6 +59,15 @@
 				<el-date-picker v-model="currentRefundDateList" type="daterange" align="right" unlink-panels range-separator="至" start-placeholder="开始日期" @change="getSearchRefundDate" value-format="yyyy-MM-dd"
 					class="custom-date-picker" end-placeholder="结束日期" :picker-options="pickerOptions" size="mini" style="margin-right:8px;">
 				</el-date-picker>
+
+				<el-radio-group v-model="status" @change="changeStatus" style="margin-right:20px;padding-top:6px;margin-left:4px;">
+					<el-radio label="-1">全部</el-radio>
+					<el-radio label="0">待审</el-radio>
+					<el-radio label="1">通过</el-radio>
+					<el-radio label="2">驳回</el-radio>
+					<el-radio label="3">取消</el-radio>
+				</el-radio-group>
+
 			</template>
 
 		</x-crud>
@@ -141,7 +150,8 @@ export default {
 			refundEndTime:'',
 			refundSearchTime:'',
 			currentRefundDateList:[],
-			customName:''
+			customName:'',
+			status:'-1'
 		};
 	},
 	computed: {
@@ -159,6 +169,10 @@ export default {
     	})
 	},
 	methods: {
+		changeStatus(e){
+			this.status = e
+			this.refreshData()
+		},
 		changeSearch(){
 			let that = this
 			if(this.T != null){
@@ -198,7 +212,7 @@ export default {
 		},
 		refreshData(){
       		this.app.refresh({status:this.tabIndex,searchTime:this.searchTime,startTime:this.startTime,endTime:this.endTime,refundSearchTime:this.refundSearchTime,refundStartTime:this.refundStartTime,
-				refundEndTime:this.refundEndTime,customName:this.customName,shopAdminId:this.currentStaffId})
+				refundEndTime:this.refundEndTime,customName:this.customName,shopAdminId:this.currentStaffId,status:this.status})
     	},
 		exportOrder(){
 			this.$service.custom.shopListAll().then(res => {