From 064a986df047989abd51f0e0e01707fb54c74827 Mon Sep 17 00:00:00 2001 From: Enzo <1284707383@qq.com> Date: Tue, 3 Aug 2021 16:28:56 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E8=B4=AD=E5=8D=95=E8=AF=A6=E6=83=85?= =?UTF-8?q?=20=E5=87=BA=E5=BA=93=E5=8D=95=E8=AF=A6=E6=83=85=E5=8F=B8?= =?UTF-8?q?=E6=9C=BA=E7=94=B5=E8=AF=9D=E4=B8=80=E9=94=AE=E6=8B=A8=E6=89=93?= =?UTF-8?q?=E4=B8=8E=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- canteen/pages/delivery/detail.vue | 9 +++++++-- canteen/pages/purchase/detail.vue | 12 +++++++++--- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/canteen/pages/delivery/detail.vue b/canteen/pages/delivery/detail.vue index 541d40c..8f02dc1 100644 --- a/canteen/pages/delivery/detail.vue +++ b/canteen/pages/delivery/detail.vue @@ -14,9 +14,9 @@ 申请人 {{order.sheet[0].purchase.contact_name}} - + 联系电话 - {{order.sheet[0].purchase.contact_phone}} + {{order.sheet[0].purchase.contact_phone}} @@ -94,6 +94,11 @@ } }, methods: { + call(phone) { + uni.makePhoneCall({ + phoneNumber: phone //仅为示例 + }); + }, getData(){ this.$http(this.API.API_CANTEEN_OUTDETAIL, { o_sn: this.o_sn diff --git a/canteen/pages/purchase/detail.vue b/canteen/pages/purchase/detail.vue index e12e6b7..86d78d2 100644 --- a/canteen/pages/purchase/detail.vue +++ b/canteen/pages/purchase/detail.vue @@ -31,9 +31,9 @@ 司机 {{order.deliver_man}} - + 联系电话 - {{order.deliver_phone}} + {{order.deliver_phone}} 收货时间 @@ -170,6 +170,11 @@ } }, methods: { + call(phone) { + uni.makePhoneCall({ + phoneNumber: phone //仅为示例 + }); + }, // 预览图片 lookPopupImage(current){ if(this.voucher_list.length <= 0) return; @@ -252,7 +257,8 @@ let actionState = [ '订单已完成', '订单已退款', - '订单已撤销' + '订单已撤销', + '订单已确认,物资入库' ]; if(actionState.includes(item.action)){ item.isFinished = true;