Commit 121b6a4e authored by 智勇's avatar 智勇

对渠道用户的订单查询选项进行限制

parent 8c385007
......@@ -165,9 +165,7 @@ export default {
if (res.data) {
this.channels = res.data.content
this.count = res.data.totalElements
if (this.channels.length > 0) {
this.$refs.myTable.setCurrentRow(this.channels[0])
}
this.$refs.myTable.setCurrentRow(this.channels[0])
}
})
},
......
......@@ -3,8 +3,8 @@
<div class="filter-container" style="padding-bottom:20px">
<el-input v-model="listQuery.channelOrderNumber" placeholder="订单号" clearable style="width: 200px;" class="filter-item" @keyup.enter.native="getOrders"/>
<el-input v-model="listQuery.channelId" placeholder="渠道号" clearable style="width: 200px;" class="filter-item" @keyup.enter.native="getOrders"/>
<el-input v-model="listQuery.loanId" placeholder="loanId" clearable style="width: 200px;" class="filter-item" @keyup.enter.native="getOrders"/>
<el-input v-model="listQuery.applyNo" placeholder="授信申请号" clearable style="width: 200px;" class="filter-item" @keyup.enter.native="getOrders"/>
<el-input v-if="isShow" v-model="listQuery.loanId" placeholder="loanId" clearable style="width: 200px;" class="filter-item" @keyup.enter.native="getOrders"/>
<el-input v-if="isShow" v-model="listQuery.applyNo" placeholder="授信申请号" clearable style="width: 200px;" class="filter-item" @keyup.enter.native="getOrders"/>
<!-- <el-select v-model="listQuery.channelId" placeholder="渠道号" clearable style="width: 200px" class="filter-item" >
<el-option v-for="item in channelOptions" :key="item.key" :label="item.display_name" :value="item.key"/>
</el-select> -->
......@@ -210,10 +210,7 @@ export default {
getOrders(this.listQuery).then(res => {
this.orders = res.data.content
this.count = res.data.totalElements
if (this.orders.length > 0) {
this.$refs.myTable.setCurrentRow(this.orders[0])
}
this.$refs.myTable.setCurrentRow(this.orders[0])
// for test
// for (const o in this.orders) {
......@@ -223,8 +220,10 @@ export default {
},
handleCurrentChange(val) {
this.order = val
this.handleClick()
if (val) {
this.order = val
this.handleClick()
}
},
handleOption(data, opt) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment