Fix:5086 【商城小程序】修改地址申请被驳回,前端未显示驳回原因
This commit is contained in:
@@ -465,6 +465,21 @@
|
||||
class="v12-font-22 v12-secondary-dark-text order-tips"
|
||||
>商家已接收您的订单,支付成功后预计{{ getTime(order.isFastPost) }}发货</view>
|
||||
</view>
|
||||
<view
|
||||
v-if="Number(order.isAddressUpdate) === 1 && [0, 2].includes(Number(order.addressUpdateStatus))"
|
||||
class="v12-px-3 v12-pb-4"
|
||||
>
|
||||
<view
|
||||
v-if="Number(order.addressUpdateStatus) === 0"
|
||||
class="v12-font-24 v12-primary-text"
|
||||
style="background: rgba(246,246,246,0.7); border-radius: 40rpx; padding: 12rpx;"
|
||||
>修改地址正在审核中,请耐心等待</view>
|
||||
<view
|
||||
v-if="Number(order.addressUpdateStatus) === 2"
|
||||
class="v12-font-24 v12-primary-text"
|
||||
style="background: rgba(246,246,246,0.7); border-radius: 40rpx; padding: 12rpx ;"
|
||||
>修改地址失败:{{ order.addressUpdateReason }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<u-modal
|
||||
@@ -683,7 +698,7 @@ export default {
|
||||
if (isAddressUpdate === 0) {
|
||||
return true
|
||||
}
|
||||
return addressUpdateStatus === 2
|
||||
return false
|
||||
},
|
||||
initUserLocation() {
|
||||
uni.getLocation({
|
||||
|
||||
@@ -43,6 +43,21 @@
|
||||
<text class=" more-t" style="flex: 2;">{{ orderInfo.userAddress }}</text>
|
||||
<view v-if="canShowModifyAddress(orderInfo)" @click="goAddress" class="v12-btn cancel v12-dark-text v12-dark-border v12-radius-40" >修改地址</view>
|
||||
</div>
|
||||
<view
|
||||
v-if="Number(orderInfo.isAddressUpdate) === 1 && [0, 2].includes(Number(orderInfo.addressUpdateStatus))"
|
||||
class="v12-mt-3"
|
||||
>
|
||||
<view
|
||||
v-if="Number(orderInfo.addressUpdateStatus) === 0"
|
||||
class="v12-font-24 v12-primary-text"
|
||||
style="background: rgba(246,246,246,0.7); border-radius: 40rpx; padding: 12rpx;"
|
||||
>修改地址正在审核中,请耐心等待</view>
|
||||
<view
|
||||
v-if="Number(orderInfo.addressUpdateStatus) === 2"
|
||||
class="v12-font-24 v12-primary-text"
|
||||
style="background: rgba(246,246,246,0.7); border-radius: 40rpx; padding: 12rpx;"
|
||||
>修改地址失败:{{ orderInfo.addressUpdateReason }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="orderInfo.deliveryId !== null && ([-1, -2, 3, 4].includes(orderInfo._status._type) || (orderInfo._status._type == 2 && orderInfo.isTickets !== 1))">
|
||||
@@ -670,7 +685,7 @@ export default {
|
||||
if (isAddressUpdate === 0) {
|
||||
return true
|
||||
}
|
||||
return addressUpdateStatus === 2
|
||||
return false
|
||||
},
|
||||
//催发货
|
||||
delayOrder() {
|
||||
|
||||
Reference in New Issue
Block a user