|
|
|
@ -113,7 +113,7 @@ |
|
|
|
|
<text>联系客户</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="btnItem" style="border-left:1px solid #F4F4F4" |
|
|
|
|
@click="callStore(order.storeInfo.store_phone)"> |
|
|
|
|
@click="callStore(orderInfo.storeInfo.phone)"> |
|
|
|
|
<image :src="$picUrl+'/static/news3/kefu.png'" mode="widthFix"></image> |
|
|
|
|
<text>联系商家</text> |
|
|
|
|
</view> |
|
|
|
@ -250,11 +250,13 @@ |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
import * as newFunApi from '@/api/newFun' |
|
|
|
|
import * as OrderApi from '@/api/order' |
|
|
|
|
export default { |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
|
status: 1, |
|
|
|
|
orderInfo: '', |
|
|
|
|
order_id:'', |
|
|
|
|
audit_status: 20, |
|
|
|
|
audit_notes: '', |
|
|
|
|
deleteShow: false, |
|
|
|
@ -262,14 +264,22 @@ |
|
|
|
|
isToggle: false, |
|
|
|
|
refund_image_id: '', |
|
|
|
|
refund_notes: '', |
|
|
|
|
addressData: '' |
|
|
|
|
addressData: '', |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
onLoad(option) { |
|
|
|
|
this.orderInfo = JSON.parse(option.item) |
|
|
|
|
console.log(this.orderInfo) |
|
|
|
|
this.order_id = JSON.parse(option.item).order_id |
|
|
|
|
this.getOrderDetail(this.order_id) |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
// 获取当前订单信息 |
|
|
|
|
getOrderDetail() { |
|
|
|
|
const app = this |
|
|
|
|
OrderApi.detail(this.order_id) |
|
|
|
|
.then(result => { |
|
|
|
|
this.orderInfo=result.data.order |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
// 联系商家 |
|
|
|
|
callStore(phone) { |
|
|
|
|
uni.makePhoneCall({ |
|
|
|
|