|
@@ -4,7 +4,7 @@
|
|
|
<view class="text-center text-red" v-if="isTrue && orderType == 2">超出配送距离</view>
|
|
<view class="text-center text-red" v-if="isTrue && orderType == 2">超出配送距离</view>
|
|
|
<view class="food">
|
|
<view class="food">
|
|
|
<view class="flex bg justify-between padding-lr-xl">
|
|
<view class="flex bg justify-between padding-lr-xl">
|
|
|
- <view @click="switchTab(2)" :class="orderType == 2 ? 'select' : ''" class="tabBtn" v-if="XCXIsSelect == '是' && showReach != 1">
|
|
|
|
|
|
|
+ <view @click="switchTab(2)" :class="orderType == 2 ? 'select' : ''" class="tabBtn" v-if="XCXIsSelect == '是' && showReach != 1 && shopTypeName!='三大运营商'">
|
|
|
<view class="title">外卖配送</view>
|
|
<view class="title">外卖配送</view>
|
|
|
<view :class="orderType == 2 ? 'active' : ''"></view>
|
|
<view :class="orderType == 2 ? 'active' : ''"></view>
|
|
|
</view>
|
|
</view>
|
|
@@ -378,11 +378,13 @@ export default {
|
|
|
// 可获得积分
|
|
// 可获得积分
|
|
|
intergral: 0,
|
|
intergral: 0,
|
|
|
// 是否显示积分模块
|
|
// 是否显示积分模块
|
|
|
- isIntegral: false
|
|
|
|
|
|
|
+ isIntegral: false,
|
|
|
|
|
+ shopTypeName:'',//店铺类型
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
onLoad(option) {
|
|
onLoad(option) {
|
|
|
console.log(option, '256')
|
|
console.log(option, '256')
|
|
|
|
|
+ this.shopTypeName=option.shopTypeName
|
|
|
if (option.showReach) {
|
|
if (option.showReach) {
|
|
|
this.showReach = option.showReach
|
|
this.showReach = option.showReach
|
|
|
}
|
|
}
|
|
@@ -443,7 +445,11 @@ export default {
|
|
|
// #endif
|
|
// #endif
|
|
|
|
|
|
|
|
this.shopId = option.shopId
|
|
this.shopId = option.shopId
|
|
|
- this.orderType = option.orderType
|
|
|
|
|
|
|
+ if(option.shopTypeName=='三大运营商'){
|
|
|
|
|
+ this.orderType =1
|
|
|
|
|
+ }else{
|
|
|
|
|
+ this.orderType = option.orderType
|
|
|
|
|
+ }
|
|
|
if (option.orderId) {
|
|
if (option.orderId) {
|
|
|
this.orderId = option.orderId
|
|
this.orderId = option.orderId
|
|
|
}
|
|
}
|