筛选条件调试
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
:value="item.value"
|
:value="item.value"
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
<el-button type="primary" @click="getTableData()">
|
<el-button type="primary" @click="search">
|
||||||
查询
|
查询
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
@@ -119,7 +119,10 @@ export default {
|
|||||||
this.getTableData()
|
this.getTableData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
search() {
|
||||||
|
this.tableData.page = 1
|
||||||
|
this.getTableData()
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* 获取挂账人列表
|
* 获取挂账人列表
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -27,13 +27,13 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<template>
|
<template>
|
||||||
<el-form-item>
|
<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-option v-for="item in statusList" :key="item.value" :label="item.label" :value="item.value" />
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
<el-form-item>
|
<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-button @click="resetHandle">重置</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
@@ -161,6 +161,10 @@ export default {
|
|||||||
// this.tbShopCategoryGet()
|
// this.tbShopCategoryGet()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
search() {
|
||||||
|
this.query.page = 1
|
||||||
|
this.getTableData()
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* 获取明细数据
|
* 获取明细数据
|
||||||
*/
|
*/
|
||||||
@@ -172,6 +176,7 @@ export default {
|
|||||||
let params = {
|
let params = {
|
||||||
page: this.query.page,
|
page: this.query.page,
|
||||||
size: this.query.size,
|
size: this.query.size,
|
||||||
|
status: this.query.status,
|
||||||
creditBuyerId: this.query.creditBuyerId
|
creditBuyerId: this.query.creditBuyerId
|
||||||
}
|
}
|
||||||
if (this.query.createdAt.length > 0) {
|
if (this.query.createdAt.length > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user