|
@@ -39,6 +39,7 @@
|
|
|
<el-button slot="reference" size="small" type="danger">取消订单</el-button>
|
|
|
</el-popconfirm>
|
|
|
</template>
|
|
|
+ <el-button type="primary" size="small" @click="returnOrder()" v-if="(orderDetail.orderStatus === 'YFH' || orderDetail.orderStatus === 'OVER')">发起退货</el-button>
|
|
|
<template v-if="orderDetail.orderStatus === 'YFH' || orderDetail.orderStatus === 'OVER'">
|
|
|
<el-button size="small" @click="showDialog('query')">查看物流</el-button>
|
|
|
</template>
|
|
@@ -182,6 +183,8 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="payAmount" label="商品总金额" align="center" min-width="100"></el-table-column>
|
|
|
<el-table-column prop="freight" label="运费" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="userRefundNum" label="用户维权数量" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="userRefundAmount" label="用户维权金额" align="center"></el-table-column>
|
|
|
<el-table-column prop="refundNum" label="退款数量" align="center"></el-table-column>
|
|
|
<el-table-column prop="refundAmount" label="退款金额" align="center"></el-table-column>
|
|
|
<el-table-column label="操作" align="center" width="160" v-if="orderDetail.orderStatus != 'CLOSE' && orderDetail.payTypeId == 'WECHAT'">
|
|
@@ -823,6 +826,15 @@ export default {
|
|
|
this.$successMsg('确认收款成功');
|
|
|
})
|
|
|
},
|
|
|
+ // 发起退货
|
|
|
+ returnOrder() {
|
|
|
+ this.$router.push({
|
|
|
+ name: "sales_return_order_list",
|
|
|
+ query: {
|
|
|
+ orderId: this.orderId
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
goBack() {
|
|
|
// this.$router.go(-1);
|
|
|
this.$router.push({
|