|
|
@ -31,14 +31,14 @@ const getMemberOrderByIdData = async (orderId) => {
|
|
|
|
const data = res.data
|
|
|
|
const data = res.data
|
|
|
|
|
|
|
|
|
|
|
|
if (data.recyclerInfo) {
|
|
|
|
if (data.recyclerInfo) {
|
|
|
|
const arr = JSON.parse(data.recyclerInfo.headIcon)
|
|
|
|
const arr = data.recyclerInfo.headIcon && JSON.parse(data.recyclerInfo.headIcon) || []
|
|
|
|
const imgUrl = serviceDomain + arr[0].url
|
|
|
|
const imgUrl = serviceDomain + arr[0]?.url
|
|
|
|
data.recyclerInfo.imgUrl = imgUrl
|
|
|
|
data.recyclerInfo.imgUrl = imgUrl
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (data.recycleStationInfo) {
|
|
|
|
if (data.recycleStationInfo) {
|
|
|
|
const arr = JSON.parse(data.recycleStationInfo.stationImg)
|
|
|
|
const arr = data.recycleStationInfo.stationImg && JSON.parse(data.recycleStationInfo.stationImg) || []
|
|
|
|
const imgUrl = serviceDomain + arr[0].url
|
|
|
|
const imgUrl = serviceDomain + arr[0]?.url
|
|
|
|
data.recycleStationInfo.imgUrl = imgUrl
|
|
|
|
data.recycleStationInfo.imgUrl = imgUrl
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -50,8 +50,8 @@ const getMemberOrderByIdData = async (orderId) => {
|
|
|
|
isOderTypeDZ.value = data.orderType?.code == '520193532170867013' || false
|
|
|
|
isOderTypeDZ.value = data.orderType?.code == '520193532170867013' || false
|
|
|
|
|
|
|
|
|
|
|
|
data.orderDetails?.forEach((q) => {
|
|
|
|
data.orderDetails?.forEach((q) => {
|
|
|
|
const arr = JSON.parse(q.product.photo)
|
|
|
|
const arr = q.product.photo && JSON.parse(q.product.photo) || []
|
|
|
|
const imgUrl = serviceDomain + arr[0].url
|
|
|
|
const imgUrl = serviceDomain + arr[0]?.url
|
|
|
|
q.imgUrl = imgUrl
|
|
|
|
q.imgUrl = imgUrl
|
|
|
|
})
|
|
|
|
})
|
|
|
|
// 预约回收
|
|
|
|
// 预约回收
|
|
|
@ -119,8 +119,10 @@ const handleCancleOrder = () => {
|
|
|
|
<image class="img-url" :src="item.imgUrl"></image>
|
|
|
|
<image class="img-url" :src="item.imgUrl"></image>
|
|
|
|
<view class="name">{{ item.product.name }}</view>
|
|
|
|
<view class="name">{{ item.product.name }}</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="recovery-price marginLeft50" v-if="item.actualRecoveryPrice">实际价格:{{ item.actualRecoveryPrice }}元</view>
|
|
|
|
<view class="recovery-price marginLeft50" v-if="item.actualRecoveryPrice">实际价格:{{
|
|
|
|
<view class="recovery-weight marginLeft50" v-if="item.productActualWeight">实际重量:{{ item.productActualWeight }}千克</view>
|
|
|
|
item.actualRecoveryPrice }}元</view>
|
|
|
|
|
|
|
|
<view class="recovery-weight marginLeft50" v-if="item.productActualWeight">实际重量:{{
|
|
|
|
|
|
|
|
item.productActualWeight }}千克</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
@ -213,8 +215,8 @@ const handleCancleOrder = () => {
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<view class="item">
|
|
|
|
<view class="item">
|
|
|
|
<view class="label">联系人:</view>
|
|
|
|
<view class="label">联系人电话:</view>
|
|
|
|
<view class="val">{{ order.recycleStationInfo.contactPerson }}</view>
|
|
|
|
<view class="val">{{ order.recycleStationInfo.recycleTel }}</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="item">
|
|
|
|
<view class="item">
|
|
|
|
<view class="label">营业时间:</view>
|
|
|
|
<view class="label">营业时间:</view>
|
|
|
@ -348,6 +350,7 @@ page {
|
|
|
|
font-size: 28rpx;
|
|
|
|
font-size: 28rpx;
|
|
|
|
color: #3D3D3D;
|
|
|
|
color: #3D3D3D;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.marginLeft50 {
|
|
|
|
.marginLeft50 {
|
|
|
|
margin-left: 50rpx;
|
|
|
|
margin-left: 50rpx;
|
|
|
|
}
|
|
|
|
}
|
|
|
|