mirror of
https://gitee.com/gz-yami/mall4j.git
synced 2025-12-26 07:56:43 +08:00
订单管理页面增加清空数据的按钮
This commit is contained in:
parent
a57d34b9d5
commit
7274a53f0c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user