|
@@ -238,12 +238,22 @@ export default {
|
|
},
|
|
},
|
|
btnType: 'text',
|
|
btnType: 'text',
|
|
click: ({ row, index, column }) => {
|
|
click: ({ row, index, column }) => {
|
|
- this.$router.push({
|
|
|
|
- name: "sales_return_order_list",
|
|
|
|
- query: {
|
|
|
|
- refundId: row.refundId
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
|
|
+ if(row.type == 'YES') {
|
|
|
|
+ this.$router.push({
|
|
|
|
+ name: "sales_return_order_list",
|
|
|
|
+ query: {
|
|
|
|
+ refundId: row.refundId
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ else {
|
|
|
|
+ this.$router.push({
|
|
|
|
+ name: "order_refund_detail",
|
|
|
|
+ query: {
|
|
|
|
+ orderRefundId: row.refundId
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
detail: {
|
|
detail: {
|