筛选条件调试
This commit is contained in:
parent
971cdd8f36
commit
bd0b9311fd
|
|
@ -16,7 +16,7 @@
|
|||
:value="item.value"
|
||||
/>
|
||||
</el-select>
|
||||
<el-button type="primary" @click="getTableData()">
|
||||
<el-button type="primary" @click="search">
|
||||
查询
|
||||
</el-button>
|
||||
</div>
|
||||
|
|
@ -119,7 +119,10 @@ export default {
|
|||
this.getTableData()
|
||||
},
|
||||
methods: {
|
||||
|
||||
search() {
|
||||
this.tableData.page = 1
|
||||
this.getTableData()
|
||||
},
|
||||
/**
|
||||
* 获取挂账人列表
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -27,13 +27,13 @@
|
|||
</el-form-item>
|
||||
<template>
|
||||
<el-form-item>
|
||||
<el-select v-model="query.status" placeholder="全部状态" style="width: 140px;">
|
||||
<el-select v-model="query.status" placeholder="全部状态" clearable style="width: 140px;">
|
||||
<el-option v-for="item in statusList" :key="item.value" :label="item.label" :value="item.value" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</template>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="getTableData">查询</el-button>
|
||||
<el-button type="primary" @click="search">查询</el-button>
|
||||
<el-button @click="resetHandle">重置</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
|
@ -161,6 +161,10 @@ export default {
|
|||
// this.tbShopCategoryGet()
|
||||
},
|
||||
methods: {
|
||||
search() {
|
||||
this.query.page = 1
|
||||
this.getTableData()
|
||||
},
|
||||
/**
|
||||
* 获取明细数据
|
||||
*/
|
||||
|
|
@ -172,6 +176,7 @@ export default {
|
|||
let params = {
|
||||
page: this.query.page,
|
||||
size: this.query.size,
|
||||
status: this.query.status,
|
||||
creditBuyerId: this.query.creditBuyerId
|
||||
}
|
||||
if (this.query.createdAt.length > 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue