This commit is contained in:
Gdpao 2020-08-14 20:50:23 +08:00
commit 3e7165ef19
3 changed files with 9 additions and 5 deletions

View File

@ -75,6 +75,10 @@
<view :class="{ active: cur == 0 }" @click="pushstyleA">快递</view>
<view :class="{ active: cur == 1 }" @click="pushstyleB">骑手</view>
</view>
<view v-if="cur != 2 && (pushid || selctcar)">
<view class="title">{{cur == 0 ? '快递单号':'骑手信息'}}</view>
<view class="value">{{ cur == 0 ? pushid ? companyidA.express_name + ": " + pushid : '' : selctcar ? selctcar.label : '' }}</view>
</view>
<view class="btn" @click="confirmpushstyle">确认</view>
</view>
<!-- 已发货 -->
@ -147,7 +151,7 @@ export default {
data() {
return {
status: 1, //
cur: Number,
cur: 2,
showDelivery: false, //
showExpress: false, //
showRefunds: false, // 退
@ -337,7 +341,7 @@ export default {
//
getselectcompany(e) {
let obj = this.companylist[e[0]];
this.companyidA = obj.express_id;
this.companyidA = obj;
this.showExpress = true;
},
//
@ -362,7 +366,7 @@ export default {
this.$u.api.bindpushid({
order_id: this.orderid,
shipping_code: this.pushid,
shipping_express_id: this.companyidA
shipping_express_id: this.companyidA.express_id
}).then(res => {
if (res.errCode != 0) {
this.$refs.uToast.show({

View File

@ -153,7 +153,7 @@ export default {
},
onShow() {
this.publishstate = false;
this.getallorder(1);
this.tabsChange(this.current);
},
onReachBottom() {
this.num++;

View File

@ -41,7 +41,7 @@
<image class="userhead" :src="info.member_avatar"></image>
<div class="userinfo">
<text class="username">{{info.member_nickname}}</text>
<text class="username" style="font-size:20rpx">{{time}} | {{room.onlineUsers.users.length}}</text>
<text class="username" style="font-size:20rpx">{{time}} | {{room.onlineUsers.users.length - 1 < 0 ? 0 : room.onlineUsers.users.length - 1}}</text>
</div>
</div>
<image v-if="zhibo" class="closeimg" src="../../static/image/close.png" @click="closes"></image>