Commit d0e9a730 by 李伟康

订单按钮修改判断 ,退款:showRefund&核销:showVerf

1 parent 917f877f
......@@ -760,7 +760,8 @@ export default {
fn: '退款'
},
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:否
},
listeners: {
click: row => {
......@@ -782,7 +783,8 @@ export default {
fn: '订单核销'
},
condition: row => {
return (row.deliveryType == 1 && row.orderStatus == 21) || (row.afterSaleType == 2 && [2, 4, 5, 6, 7, 9, 10].includes(row.orderStatus))
// return (row.deliveryType == 1 && row.orderStatus == 21) || (row.afterSaleType == 2 && [2, 4, 5, 6, 7, 9, 10].includes(row.orderStatus))
return row.showVerf == 1 //是否展示核销按钮 1:是 0:否
},
listeners: {
click: this.handleWriteOff
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!