Fix:5680 【商城小程序】购物类订单:收礼方确认收货后订单变为待评价状态,点击【去评价】跳转页面错误,应跳转到图2的页面
This commit is contained in:
@@ -1066,7 +1066,8 @@ export default {
|
|||||||
return this.isWholesalerOrder(order) || this.isCustomGiftOrder(order)
|
return this.isWholesalerOrder(order) || this.isCustomGiftOrder(order)
|
||||||
},
|
},
|
||||||
canShowOrderEvaluate(order = this.orderInfo) {
|
canShowOrderEvaluate(order = this.orderInfo) {
|
||||||
return !this.isGiftOrder(order) && !this.isCollectiveOrder(order)
|
// 仅排除送礼方订单(送礼人未收货不可评价);收礼方订单确认收货后可评价,与订单列表【去评价】逻辑保持一致
|
||||||
|
return Number(order.isGiftCardSend || 0) !== 1 && !this.isCollectiveOrder(order)
|
||||||
},
|
},
|
||||||
formatOrderDetailImage(image) {
|
formatOrderDetailImage(image) {
|
||||||
const imageUrl = String(image || '').trim()
|
const imageUrl = String(image || '').trim()
|
||||||
@@ -1158,9 +1159,6 @@ export default {
|
|||||||
}
|
}
|
||||||
return imgUrl;
|
return imgUrl;
|
||||||
},
|
},
|
||||||
isGiftOrder(order = {}) {
|
|
||||||
return Number(order.isGiftCardSend || 0) === 1 || Number(order.isGiftCardReceive || 0) === 1
|
|
||||||
},
|
|
||||||
subscribePay() {
|
subscribePay() {
|
||||||
uni.requestSubscribeMessage({
|
uni.requestSubscribeMessage({
|
||||||
tmplIds: settings.SubscribeMessageTmplIds,
|
tmplIds: settings.SubscribeMessageTmplIds,
|
||||||
|
|||||||
Reference in New Issue
Block a user