Commit d2f55d42 by 前端

orderSource 6:配置升级订单;7:车主优选订单;这两个类型只有查看按钮

1 parent d80dcb34
......@@ -360,7 +360,8 @@ export default {
},
condition: row => {
// return row.orderSource == 4 && [2, 6, 21, 22].includes(+row.orderStatus) && row.isOffline != 0
return row.showRefund == 1 //是否展示退款按钮 1:是 0:否
return row.showRefund == 1 && (row.orderSource !== 6 && row.orderSource !== 7)
//是否展示退款按钮 1:是 0:否
},
listeners: {
click: row => {
......@@ -378,7 +379,8 @@ export default {
},
condition: row => {
// return row.deliveryType == 1 && row.orderStatus == 21
return row.showVerf == 1 //是否展示核销按钮 1:是 0:否
return row.showVerf == 1 && (row.orderSource !== 6 && row.orderSource !== 7)
//是否展示核销按钮 1:是 0:否
},
listeners: {
click: this.handleWriteOff
......@@ -407,7 +409,7 @@ export default {
fn: '退款审核'
},
condition: row => {
return row.afterSaleStatus == 1
return row.afterSaleStatus == 1 && (row.orderSource !== 6 && row.orderSource !== 7)
},
listeners: {
click: this.handleExamine
......@@ -420,7 +422,7 @@ export default {
type: 'text'
},
condition: row => {
return row.afterSaleStatus == 4
return row.afterSaleStatus == 4 && (row.orderSource !== 6 && row.orderSource !== 7)
},
listeners: {
click: this.handleReceiving
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!