Commit d7fc0ffc by 杨明

Merge branch 'v3.6.0' of http://192.168.3.233:8090/saas/scrm-micro-battles into v3.6.0

2 parents 325f8a45 c877743a
......@@ -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
......@@ -868,7 +870,8 @@ export default {
// checkSelectKey: 'orderStatus',
// checkSelectVal: [9, 10, 11, 22],
checkSelectable: row => {
return [9, 10, 11, 22].indexOf(row.orderStatus) == -1 && row.isOffline != '0' && row?.paymentModel != 3
// return [9, 10, 11, 22].indexOf(row.orderStatus) == -1 && row.isOffline != '0' && row?.paymentModel != 3
return row.showRefund == 1 && row?.paymentModel != 3 //v3.6.0修改批量退款
},
listName: 'list',
tableOption: true,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!