This commit is contained in:
yanran200730
2023-08-18 17:54:34 +08:00
parent ecab78d46d
commit c832225ac6

View File

@@ -8,7 +8,7 @@
<div class="title-right">
<div>
<label style="width:90px">统计类型</label>
<el-select v-model="type" @change="currentPage = 0, isLoading = true, beforeGetList()" placeholder="请选择" size="small">
<el-select v-model="type" @change="beforeGetList" placeholder="请选择" size="small">
<el-option
key="0"
label="销售数据"
@@ -23,7 +23,7 @@
</div>
<div>
<label style="width:90px">店铺</label>
<el-select v-model="mallId" @change="isLoading = true, beforeGetList()" placeholder="请选择" size="small">
<el-select v-model="mallId" @change="beforeGetList" placeholder="请选择" size="small">
<el-option
v-for="item in $store.state.mallList"
:key="item.mallId"
@@ -220,7 +220,9 @@ import { Message } from 'element-ui'
methods: {
beforeGetList() {
this.isLoading = true
this.list = []
this.currentPage = 1
this.todayMoney = 0.0
this.todayTotal = 0
this.inventoryMoeny = 0.0