订单管理页面增加清空数据的按钮

This commit is contained in:
sjl 2021-02-07 14:59:44 +08:00
parent a57d34b9d5
commit 7274a53f0c

View File

@ -43,6 +43,8 @@
@click="getSoldExcel()"
type="primary"
size="small">导出销售记录</el-button>
<el-button @click="clearDatas()"
size="small">清空</el-button>
</el-form-item>
</el-form>
<div class="main">
@ -249,6 +251,10 @@ export default {
this.dataListLoading = false
})
},
//
clearDatas () {
this.dataForm = []
},
//
sizeChangeHandle (val) {
this.page.pageSize = val