...
|
...
|
@@ -33,8 +33,15 @@ |
|
|
<td :rowspan="item.returnedGoodsListBoArray.length">退货</td>
|
|
|
<td :rowspan="item.returnedGoodsListBoArray.length">{{ shopStatus[item.shopStatus] || '无' }}</td>
|
|
|
<td :rowspan="item.returnedGoodsListBoArray.length">
|
|
|
<i-button type="default" size="small" @click="goToDetail(item.id, item.orderCode)">查看订单</i-button>
|
|
|
<i-button type="primary" size="small" @click="goToHandle(item.id, item.orderCode)">处理</i-button>
|
|
|
<i-button type="default" @click="goToDetail(item.id, item.orderCode, item.shopStatus)">
|
|
|
查看订单
|
|
|
</i-button>
|
|
|
<template v-if="item.shopStatus >= 24">
|
|
|
<i-button type="default" @click="goToHandle(item.id, item.orderCode)">查看售后详情</i-button>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<i-button type="primary" @click="goToHandle(item.id, item.orderCode)">处理</i-button>
|
|
|
</template>
|
|
|
</td>
|
|
|
</template>
|
|
|
</tr>
|
...
|
...
|
@@ -66,13 +73,14 @@ export default { |
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
goToDetail(operateId, code) {
|
|
|
goToDetail(operateId, code, status) {
|
|
|
this.$router.push({
|
|
|
name: 'order.returned.detail',
|
|
|
params: {},
|
|
|
query: {
|
|
|
id: operateId,
|
|
|
orderCode: code,
|
|
|
shopStatus: status,
|
|
|
},
|
|
|
});
|
|
|
},
|
...
|
...
|
@@ -116,6 +124,10 @@ table.order-table { |
|
|
margin-left: 10px;
|
|
|
margin-right: 20px;
|
|
|
}
|
|
|
button {
|
|
|
margin: 2px;
|
|
|
padding: 5px 0 5px 5px;
|
|
|
}
|
|
|
}
|
|
|
td:last-child {
|
|
|
border-right: 1px solid #cccccc;
|
...
|
...
|
|