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;