Commit 82b90200 by 李伟康

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

1 parent f5e52ff0
...@@ -492,7 +492,8 @@ export default { ...@@ -492,7 +492,8 @@ export default {
fn: '退款' fn: '退款'
}, },
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:否
}, },
listeners: { listeners: {
click: row => { click: row => {
...@@ -508,7 +509,8 @@ export default { ...@@ -508,7 +509,8 @@ export default {
fn: '订单核销' fn: '订单核销'
}, },
condition: row => { condition: row => {
return row.deliveryType == 1 && row.orderStatus == 21 // return row.deliveryType == 1 && row.orderStatus == 21
return row.showVerf == 1 //是否展示核销按钮 1:是 0:否
}, },
listeners: { listeners: {
click: this.handleWriteOff click: this.handleWriteOff
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!