删除了派送方式
This commit is contained in:
parent
52277be0c9
commit
1f6d2b4ab3
@ -84,12 +84,12 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 待处理 -->
|
<!-- 待处理 -->
|
||||||
<view class="delivery" v-if="type == 1">
|
<view class="delivery" v-if="type == 1 && cur != -1">
|
||||||
<view class="title">派送方式</view>
|
<view class="title">派送方式</view>
|
||||||
<view class="methods">
|
<view class="methods">
|
||||||
<view :class="{ active: cur == 0 }" @click="pushstyle(1)">快递</view>
|
<view :style="{'color': this.cur == -1 ? '#333' : '' }" :class="{ active: cur == 0 }" @click="pushstyleA">快递</view>
|
||||||
<view :class="{ active: cur == 1 }" @click="pushstyle(2)">骑手</view>
|
<view :style="{'color': this.cur == -1 ? '#333' : '' }" :class="{ active: cur == 1 }" @click="pushstyleB">骑手</view>
|
||||||
<view :class="{ active: cur == 2 }" @click="pushstyle(3)">自提</view>
|
<view :class="{ active: cur == 2 }" @click="pushstyleC">自提</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="pushstyleBshow && (pushid || selctcar)" >
|
<view v-if="pushstyleBshow && (pushid || selctcar)" >
|
||||||
<view class="title">{{cur == 0 ? '快递单号':'骑手信息'}}</view>
|
<view class="title">{{cur == 0 ? '快递单号':'骑手信息'}}</view>
|
||||||
@ -347,24 +347,27 @@ export default {
|
|||||||
},
|
},
|
||||||
// 人工配送
|
// 人工配送
|
||||||
pushstyleA() {
|
pushstyleA() {
|
||||||
|
console.log(this.cur)
|
||||||
if(this.cur != 0){
|
if(this.cur != 0 && this.cur != -1){
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
this.cur = 0;
|
||||||
this.showcompany = true;
|
this.showcompany = true;
|
||||||
},
|
},
|
||||||
// 选择骑手
|
// 选择骑手
|
||||||
pushstyleB() {
|
pushstyleB() {
|
||||||
if(this.cur != 1){
|
if(this.cur != 1 && this.cur != -1){
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
this.cur = 1;
|
||||||
this.show = true;
|
this.show = true;
|
||||||
},
|
},
|
||||||
// 自提
|
// 自提
|
||||||
pushstyleC() {
|
pushstyleC() {
|
||||||
if(this.cur != 2){
|
if(this.cur != 2 && this.cur != -1){
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
this.cur = 2;
|
||||||
this.pushstyleBshow = true
|
this.pushstyleBshow = true
|
||||||
},
|
},
|
||||||
// 获取物流公司列表
|
// 获取物流公司列表
|
||||||
@ -394,7 +397,8 @@ export default {
|
|||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.showExpress = false;
|
this.showExpress = false;
|
||||||
|
this.pushstyleBshow = true
|
||||||
},
|
},
|
||||||
// 取消退款
|
// 取消退款
|
||||||
cancel() {
|
cancel() {
|
||||||
@ -562,13 +566,14 @@ export default {
|
|||||||
// 选择骑手
|
// 选择骑手
|
||||||
getselect(e) {
|
getselect(e) {
|
||||||
this.selctcar = this.list[e[0].value];
|
this.selctcar = this.list[e[0].value];
|
||||||
|
this.pushstyleBshow = true
|
||||||
},
|
},
|
||||||
// 获取订单信息
|
// 获取订单信息
|
||||||
resetinfo() {
|
resetinfo() {
|
||||||
this.$u.api.orderdetail({
|
this.$u.api.orderdetail({
|
||||||
order_id: this.orderid
|
order_id: this.orderid
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
// console.log(res);
|
console.log(res);
|
||||||
if (res.errCode != 0) {
|
if (res.errCode != 0) {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: res.message,
|
title: res.message,
|
||||||
|
Loading…
Reference in New Issue
Block a user