fix(transDetail): 修复清空筛选项后,再次点击筛选条件无法高亮的问题
This commit is contained in:
parent
3eae134342
commit
4ecc3ed932
|
@ -57,8 +57,11 @@
|
|||
{{'账户类型'}}
|
||||
</view>
|
||||
<view class="choiceBox">
|
||||
<view class="flex_btn" @click="clickAccountType(item)" v-for="(item,index) in pkAccountList"
|
||||
:key="index" :class="queryParams.pkAccount==item.pkId?'selectbtn':''">
|
||||
<view class="flex_btn"
|
||||
@click="clickAccountType(item)"
|
||||
v-for="(item,index) in pkAccountList"
|
||||
:key="index"
|
||||
:class="queryParams.pkAccount==item.pkId?'selectbtn':''">
|
||||
{{item.accountName}}
|
||||
</view>
|
||||
|
||||
|
@ -144,7 +147,9 @@
|
|||
this.queryParams.tradeType = item.value
|
||||
},
|
||||
clickAccountType(item) {
|
||||
this.queryParams.pkAccount = item.pkId
|
||||
// this.queryParams.pkAccount = item.pkId
|
||||
console.log(item, '....item')
|
||||
this.$set(this.queryParams, 'pkAccount', item.pkId)
|
||||
},
|
||||
getOthers() {
|
||||
bal.getTradeTypeList().then((res) => {
|
||||
|
@ -161,9 +166,13 @@
|
|||
},
|
||||
clearAll() {
|
||||
this.sxShow = false
|
||||
this.queryParams = {
|
||||
|
||||
}
|
||||
Object.assign(this.queryParams, {
|
||||
pageNum: 1,
|
||||
pageSize: 50,
|
||||
tradeType: "", //交易类型
|
||||
pkAccount: "", //账户类型
|
||||
startDate: "",
|
||||
})
|
||||
this.getSearch()
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue