Commit 2b032524 authored by guoyou's avatar guoyou

会员订单管理优化

parent 4471ea49
......@@ -21,16 +21,22 @@
<el-col :span="5">
<el-form-item label="订单状态">
<el-select class="filter-item" v-model="listQuery.state" placeholder="请选择订单状态">
<el-option :key="null" label="" :value="null"></el-option>
<el-option :key="null" label="全部" :value="null"></el-option>
<el-option :key="2" label="取消" :value="2"></el-option>
<el-option :key="3" label="待付款" :value="3"></el-option>
<el-option :key="6" label="已完成" :value="6"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="5">
<el-form-item label="创建时间">
<el-date-picker v-model="createTime" type="datetimerange" placeholder="选择时间范围" @change="changeCreate"></el-date-picker>
<el-date-picker
v-model="createTime"
type="daterange"
@change="changeCreate"
placeholder="选择日期范围">
</el-date-picker>
<!-- <el-date-picker v-model="createTime" type="datetimerange" placeholder="选择时间范围" @change="changeCreate"></el-date-picker> -->
</el-form-item>
</el-col>
<el-col :span="9">
......@@ -484,9 +490,8 @@ export default {
}
pageList(this.listQuery).then(response => {
this.list = response.data.memberOrderPage.data
if (!!this.isStatistics) {
if (this.listQuery.page == 1) {
this.statistics = response.data.memberOrderStatisticsBo
this.isStatistics = false;
}
this.total = response.data.memberOrderPage.totalCount
})
......
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