Commit 1cb9ed90 authored by xiejb's avatar xiejb

路由跳转刷新

parent 06c5bd12
......@@ -6,7 +6,7 @@
position="right"
get-container="body"
>
<div class="title-layout font-bold font-16">供应商</div>
<div class="title-layout font-bold font-16">客户</div>
<van-search
v-model="keywords"
placeholder="请输入编码或名称"
......
......@@ -3,8 +3,9 @@ const myInvoice = [
path: '/myInvoice',
name: 'myInvoice',
meta: {
title: '我的订单',
auth: false
title: '发票',
auth: false,
keepAlive: true
},
component: resolve => require(['@/views/myInvoice'], resolve)
},
......
......@@ -4,7 +4,8 @@ const myOrder = [
name: 'myOrder',
meta: {
title: '我的订单',
auth: false
auth: false,
keepAlive: true
},
component: resolve => require(['@/views/myOrder'], resolve)
},
......
......@@ -97,8 +97,8 @@ export default {
show: true,
leftArrow: true,
rightIcon: false,
title: '',
leftText: '订单详情',
title: '订单详情',
leftText: '',
leftClick: this.onBrowserBack,
rightClick: null
})
......
......@@ -106,6 +106,7 @@ export default {
break
case model.actionType === 'logistics':
// 查看物流
this.openPager('logisticsDetail')
break
case model.actionType === 'clearance':
// 清货单
......@@ -117,6 +118,12 @@ export default {
break
}
},
openPager(path) {
this.$router.push({
path: path,
query: this.$store.state.linkInfo
})
},
// 查看订单详情
gotoOrderDetail (model) {
this.$router.push({
......
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