删除了派送方式

This commit is contained in:
luyuan 2020-09-11 20:03:26 +08:00
parent 52277be0c9
commit 1f6d2b4ab3
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -84,12 +84,12 @@
</view>
</view>
<!-- 待处理 -->
<view class="delivery" v-if="type == 1">
<view class="delivery" v-if="type == 1 && cur != -1">
<view class="title">派送方式</view>
<view class="methods">
<view :class="{ active: cur == 0 }" @click="pushstyle(1)">快递</view>
<view :class="{ active: cur == 1 }" @click="pushstyle(2)">骑手</view>
<view :class="{ active: cur == 2 }" @click="pushstyle(3)">自提</view>
<view :style="{'color': this.cur == -1 ? '#333' : '' }" :class="{ active: cur == 0 }" @click="pushstyleA">快递</view>
<view :style="{'color': this.cur == -1 ? '#333' : '' }" :class="{ active: cur == 1 }" @click="pushstyleB">骑手</view>
<view :class="{ active: cur == 2 }" @click="pushstyleC">自提</view>
</view>
<view v-if="pushstyleBshow && (pushid || selctcar)" >
<view class="title">{{cur == 0 ? '快递单号':'骑手信息'}}</view>
@ -347,24 +347,27 @@ export default {
},
//
pushstyleA() {
if(this.cur != 0){
console.log(this.cur)
if(this.cur != 0 && this.cur != -1){
return ;
}
this.cur = 0;
this.showcompany = true;
},
//
pushstyleB() {
if(this.cur != 1){
if(this.cur != 1 && this.cur != -1){
return ;
}
this.cur = 1;
this.show = true;
},
//
pushstyleC() {
if(this.cur != 2){
if(this.cur != 2 && this.cur != -1){
return ;
}
this.cur = 2;
this.pushstyleBshow = true
},
//
@ -394,7 +397,8 @@ export default {
})
return
}
this.showExpress = false;
this.showExpress = false;
this.pushstyleBshow = true
},
// 退
cancel() {
@ -562,13 +566,14 @@ export default {
//
getselect(e) {
this.selctcar = this.list[e[0].value];
this.pushstyleBshow = true
},
//
resetinfo() {
this.$u.api.orderdetail({
order_id: this.orderid
}).then(res => {
// console.log(res);
console.log(res);
if (res.errCode != 0) {
this.$refs.uToast.show({
title: res.message,