Commit d2f55d42 by 前端

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

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