From 8276bf358f5cc8c54826d8d551a30542eb0e0b73 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Fri, 14 Aug 2020 17:09:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/details.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pages/index/details.vue b/pages/index/details.vue index 591a6e9..59b02a9 100644 --- a/pages/index/details.vue +++ b/pages/index/details.vue @@ -75,6 +75,10 @@ 快递 骑手 + + {{cur == 0 ? '快递单号':'骑手信息'}} + {{ cur == 0 ? pushid ? companyidA.express_name + ": " + pushid : '' : selctcar ? selctcar.label : '' }} + 确认 @@ -147,7 +151,7 @@ export default { data() { return { status: 1, // 订单状态 - cur: Number, + cur: 2, showDelivery: false, // 填写骑手信息 showExpress: false, // 填写快递单号 showRefunds: false, // 平台退货处理 @@ -330,7 +334,7 @@ export default { // 选择快递公司 getselectcompany(e) { let obj = this.companylist[e[0]]; - this.companyidA = obj.express_id; + this.companyidA = obj; this.showExpress = true; }, // 绑定配送方式 @@ -355,7 +359,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({