|
@@ -327,7 +327,7 @@ export default {
|
|
btnType: 'text',
|
|
btnType: 'text',
|
|
prompt: '确认是否退款?',
|
|
prompt: '确认是否退款?',
|
|
conditions: ({ row, index, column }) => {
|
|
conditions: ({ row, index, column }) => {
|
|
- return row.totalAmount > 0 && this.tabIndex == 2
|
|
|
|
|
|
+ return row.totalAmount > 0 && row.refundStatus == 'NO' && this.tabIndex == 2
|
|
},
|
|
},
|
|
click: ({ row, index, column }) => {
|
|
click: ({ row, index, column }) => {
|
|
refund({ id: row.settlementOrderId }).then(res => {
|
|
refund({ id: row.settlementOrderId }).then(res => {
|