Commit 5a3f18ff authored by yaya's avatar yaya

feat: 寄售单列表刷新优化

parent b300ef49
<template>
<div id="app">
<keep-alive exclude="Hello">
<!-- <keep-alive exclude="Hello">
<router-view v-if="$route.meta.keepAlive"/>
</keep-alive>
<router-view v-if="!$route.meta.keepAlive"/>
<router-view v-if="!$route.meta.keepAlive"/>-->
<router-view/>
</div>
</template>
......
......@@ -293,6 +293,7 @@ export default {
}
},
created() {
this.listQuery.systemState = localStorage.getItem('systemState') || '1'
this.getList()
},
methods: {
......@@ -305,6 +306,7 @@ export default {
this.getList()
},
getList() {
localStorage.setItem('systemState', '')
this.listLoading = true
findConsignList(this.listQuery).then(response => {
this.list = response.data.data.dataList
......@@ -320,6 +322,7 @@ export default {
* 详情
*/
handleToDetail(item) {
localStorage.setItem('systemState', this.listQuery.systemState)
this.$router.push({ path: '/consign/consignDetail', query: { saleId: item.saleId }})
},
/**
......
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