Commit 29e02f2e by 前端

BUG修复

1 parent b4fa0e40
......@@ -23,7 +23,7 @@
<div class="tab-list">
<div class="tabs">
<el-tabs type="card"
v-model="searchForm.requestSource"
v-model="tabClickVal"
@tab-click="handleTabClick">
<template v-for="(i, index) in requestSourceList">
<el-tab-pane :label="i"
......@@ -300,7 +300,8 @@ export default {
shareStaffName: "",
shareStaffType: "",
goodsName: "",
requestSource: "0"
requestSource: "0",
payStatus: ''
},
statisticsInfo: {
orderCount: "",
......@@ -419,13 +420,14 @@ export default {
},
ruleVisible: false,
recordInfo: null,
ruleInfoVisible: false
ruleInfoVisible: false,
tabClickVal: ''
}
},
name: "IntegralShopping",
mounted() {
this.getCrowdfundingOrderConfig()
this.getCount()
// this.getCount()
},
methods: {
......@@ -536,7 +538,7 @@ export default {
},
handleSearch() {
this.$refs.crowdfundTable.refreshTable()
this.getCount()
// this.getCount()
},
handleExport() {
var params = this.getParams()
......@@ -545,8 +547,18 @@ export default {
})
},
handleTabClick() {
if (this.tabClickVal == 1) {//查询已付款
this.searchForm.payStatus = 2
this.searchForm.requestSource = 0
} else if (this.tabClickVal == 2) {//查询未付款
this.searchForm.payStatus = ''
this.searchForm.requestSource = 2
} else {//查询全部订单
this.searchForm.payStatus = ''
this.searchForm.requestSource = 0
}
this.$refs.crowdfundTable.refreshTable()
this.getCount()
// this.getCount()
},
getParams() {
var params = JSON.parse(JSON.stringify(this.searchForm))
......@@ -585,7 +597,8 @@ export default {
shareStaffName: "",
shareStaffType: "",
goodsName: "",
requestSource: "0"
requestSource: "0",
payStatus: ''
}
this.handleSearch()
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!