diff --git a/pkg_product/views/sojoumOrderDetails.vue b/pkg_product/views/sojoumOrderDetails.vue index bd0c124..179c90b 100644 --- a/pkg_product/views/sojoumOrderDetails.vue +++ b/pkg_product/views/sojoumOrderDetails.vue @@ -84,7 +84,7 @@ - 立即拨打取消 + 立即拨打取消 @@ -333,22 +333,15 @@ export default { if (type === 'phone') { uni.makePhoneCall({ phoneNumber: this.orderInfo.merPhone, - success: () => { - console.log('///'); - - uni.showToast({ - title: '正在拨打电话', - icon: 'none' - }) - }, - fail: () => { - uni.showToast({ - title: '拨打失败', - icon: 'none' - }) - } }) - } else if (type === 'wechat') { + } else if (type === 'company') { + uni.makePhoneCall({ + phoneNumber: this.orderInfo.companyTel, + }) + + } + + else if (type === 'wechat') { uni.setClipboardData({ data: this.orderInfo.merWechat, success: () => {