Commit 42d0f5e8 by 李伟康

修复(精品页订单卡片): 拦截低价单编辑并显示禁止编辑提示

当用户尝试编辑低价订单时,拦截跳转编辑页的操作并弹出对应提示,同时新增调试日志打印订单详情数据
1 parent 57310e26
......@@ -435,6 +435,13 @@ export default {
this.lockReason = res.lockReason
return
}
// console.log(JSON.parse(JSON.stringify(this.orderCardDetail)),'=======')
if(this.orderCardDetail.lowPriceFlag == 1) {
return uni.showToast({
title: '低价单不可以编辑',
icon: 'none'
})
}
this.$emit('jump', 'CreateOrder', { paramsData: this.orderCardDetail, type: 'createWithPay' })
} else if (this.selectType == 2 || this.selectType == 3) {
this.$emit('jump', 'DefeatOrder', { paramsData: this.orderCardDetail, type: 'createWithPay', isExpiredTraffic: this.selectType == 3 })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!