@@ -908,7 +908,13 @@ export default {
linkList(val) {
this.$router.push({
path: '/pItem',
- query: { id: val.storeId, detilId: 'a', from: 'outPlan',storeCode: val.storeCode },
+ query: {
+ id: val.storeId,
+ detilId: 'a',
+ from: 'outPlan',
+ storeCode: val.storeCode,
+ showOrderButton: val.showOrderButton,
+ },
});
},
linkimg(val) {
@@ -2,7 +2,7 @@
<div class="bgcolor productItem">
<div class="navBarTOP">
<van-nav-bar class="navBar" title="产品列表" left-arrow @click-left="onClickLeft">
- <template #right>
+ <template #right v-if="showOrderButton">
<span style="color: #0057ba" @click="placeOrderFn"> 去下单 </span>
</template>
</van-nav-bar>
@@ -58,9 +58,11 @@ export default {
tabVal: '0',
detail: null,
timeData: '',
+ showOrderButton: false,
};
activated() {
+ this.showOrderButton = this.$route.query.showOrderButton || false;
this.tabVal = '0';
buryingPoint({
systemModel: '门店列表',
@@ -934,7 +934,13 @@ export default {
- query: { id: val.storeId, detilId: 'a', from: 'outPlan', storeCode: val.storeCode },
@@ -1039,7 +1039,13 @@ export default {
- query: { id: val.storeId, detilId: 'a', from: 'topStore', storeCode: val.storeCode },
+ from: 'topStore',
@@ -619,7 +619,13 @@ export default {
- query: { id: val.storeId, detilId: 'a', from: 'inPlan', storeCode: val.storeCode },
+ from: 'inPlan',
@@ -345,7 +345,12 @@ export default {
- query: { id: val.storeId, detilId: 'a', storeCode: val.storeCode },
@@ -535,7 +535,12 @@ export default {
localStorage.setItem('tabVal', this.tabVal);
@@ -123,7 +123,12 @@ export default {
onLoad() {