Commit a2f85c5f by cen

fix: 战败不显示撤销

1 parent 8b0bbd51
...@@ -255,8 +255,8 @@ export default { ...@@ -255,8 +255,8 @@ export default {
} }
} }
// 除待跟进工单,支付方式为门店收款的订单可以在工单详情页面展示撤销按钮 // 战败、支付方式为2、已完成状态不显示撤销按钮,其他状态都显示
if (!(order.orderStatus == '-1' && order.selectPayType == 2)) { if (order.orderStatus != 5 && order.orderStatus != '-1' && order.orderStatus != -1 && order.payType != 2) {
config.secondaryButtons.push({ text: '撤销', type: 'secondary', dataType: 'revoke' }) config.secondaryButtons.push({ text: '撤销', type: 'secondary', dataType: 'revoke' })
} }
} }
...@@ -428,7 +428,7 @@ export default { ...@@ -428,7 +428,7 @@ export default {
this.$emit('jump', 'CreateOrder', { paramsData: this.orderCardDetail, type: 'CreateOrder' }) this.$emit('jump', 'CreateOrder', { paramsData: this.orderCardDetail, type: 'CreateOrder' })
break break
case 'pay': case 'pay':
this.$emit('openPay',this.orderCardDetail) this.$emit('openPay', this.orderCardDetail)
// 处理去支付 // 处理去支付
break break
case 'defeat': case 'defeat':
...@@ -480,7 +480,7 @@ export default { ...@@ -480,7 +480,7 @@ export default {
//去处理 //去处理
createorder() { createorder() {
this.$emit('jump', 'CreateEquity', { this.$emit('jump', 'CreateEquity', {
orderId:this.orderCardDetail.orderId orderId: this.orderCardDetail.orderId
}) })
}, },
//上传协议 //上传协议
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!