删除了派送方式
This commit is contained in:
		
							parent
							
								
									52277be0c9
								
							
						
					
					
						commit
						1f6d2b4ab3
					
				@ -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,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user