Commit b73f4418 authored by 刘文虎's avatar 刘文虎

报价跳转

parent a913e659
Pipeline #3940 canceled with stages
<template> <template>
<!-- 查报价详情 --> <!-- 查报价详情 -->
<view class="container"> <view class="container">
<NavbarRight title="查报价" imageWidth="20" /> <NavbarRight title="查报价" imageWidth="20" :customBack="customBack" />
<!-- 顶部面板 --> <!-- 顶部面板 -->
<view class="top--panel"> <view class="top--panel">
<!-- 顶部面板,可添加所需要放在页面顶部的内容代码。比如banner图 --> <!-- 顶部面板,可添加所需要放在页面顶部的内容代码。比如banner图 -->
...@@ -166,6 +166,11 @@ export default { ...@@ -166,6 +166,11 @@ export default {
uni.$off('update-custom-id'); uni.$off('update-custom-id');
}, },
methods: { methods: {
customBack(){
uni.switchTab({
url: '/pages/index/index'
});
},
toEdit() { toEdit() {
this.$u.route({ this.$u.route({
url: '/pages/bill/quoted-price/create/edit', url: '/pages/bill/quoted-price/create/edit',
......
<template> <template>
<!-- 查报价 --> <!-- 查报价 -->
<view class="quoted-price"> <view class="quoted-price">
<NavbarRight title="查报价" imageWidth="20" /> <NavbarRight title="查报价" imageWidth="20" :customBack="customBack" />
<select-view></select-view> <select-view></select-view>
<view class="quoted-price-head"> <view class="quoted-price-head">
<quoted-price-tips></quoted-price-tips> <quoted-price-tips></quoted-price-tips>
...@@ -55,6 +55,11 @@ export default { ...@@ -55,6 +55,11 @@ export default {
label: encodeURIComponent(item.label) label: encodeURIComponent(item.label)
} }
}); });
},
customBack(){
uni.switchTab({
url: '/pages/index/index'
});
} }
} }
}; };
......
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