This commit is contained in:
gyq 2024-07-09 11:27:41 +08:00
parent a821d74884
commit f723b25933
2 changed files with 6 additions and 5 deletions

View File

@ -103,7 +103,7 @@
<div class="head-container">
<el-pagination @size-change="paginationSizeChange" :total="tableData.total"
:current-page="tableData.page + 1" :page-size="tableData.size" @current-change="paginationChange"
layout="total, sizes, prev, pager, next, jumper" ></el-pagination>
layout="total, sizes, prev, pager, next, jumper"></el-pagination>
</div>
<invoicingDetail ref="invoicingDetail" />
<!-- 导入库存弹窗 -->
@ -153,6 +153,7 @@ export default {
num: '',
categoryId: ''
},
resetQuery: '',
downloadLoading: false,
uploadLoading: false,
warnLine: null, // 线
@ -167,6 +168,7 @@ export default {
}
},
mounted() {
this.resetQuery = { ...this.query }
this.tbShopCategoryGet()
this.getTableData()
},
@ -352,9 +354,7 @@ export default {
},
//
resetHandle() {
this.query.name = ''
this.query.num = ''
this.query.isStock = ''
this.query = { ...this.resetQuery }
this.tableData.page = 0;
this.tableData.list = []
this.getTableData()

View File

@ -106,7 +106,8 @@ export default {
page: this.tableData.page,
size: this.tableData.size,
sort: 'id',
shopId: localStorage.getItem('shopId')
shopId: localStorage.getItem('shopId'),
name: this.query.blurry
})
this.tableData.loading = false
this.tableData.list = res.content