提交 d72a3ea8 authored 作者: huaxinzhu's avatar huaxinzhu

售后,凭证数据bug修复

上级 d223ac47
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
<div class="card-header-title"> <div class="card-header-title">
<span class="blue-block blue-block-goods-title"></span>买家退货凭证 <span class="blue-block blue-block-goods-title"></span>买家退货凭证
</div> </div>
<el-table :data="returnInfoTableData"> <el-table :data="returnInfoTableData" :key="1">
<el-table-column label="物流单号" align="center" prop="express_sn"></el-table-column> <el-table-column label="物流单号" align="center" prop="express_sn"></el-table-column>
<el-table-column label="物流公司" align="center" prop="express_company_name"></el-table-column> <el-table-column label="物流公司" align="center" prop="express_company_name"></el-table-column>
<el-table-column label="物流凭证" align="center"> <el-table-column label="物流凭证" align="center">
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
<div class="card-header-title"> <div class="card-header-title">
<span class="blue-block blue-block-goods-title"></span>历史售后申请 <span class="blue-block blue-block-goods-title"></span>历史售后申请
</div> </div>
<el-table :data="asApplyList"> <el-table :data="asApplyList" :key="2">
<el-table-column label="申请时间" align="center" prop="created_time"> <el-table-column label="申请时间" align="center" prop="created_time">
<template slot-scope="scope"> <template slot-scope="scope">
{{formatter(scope.row.created_time)}} {{formatter(scope.row.created_time)}}
...@@ -487,11 +487,6 @@ ...@@ -487,11 +487,6 @@
} }
// 退货退款 // 退货退款
if(this.asOrderDetail.refund_type == 2) { if(this.asOrderDetail.refund_type == 2) {
// 退款凭证 list 数据
this.returnInfoTableData = [];
if(this.asOrderDetail.return_inof && this.asOrderDetail.return_inof.length > 0) {
this.returnInfoTableData = this.asOrderDetail.return_inof
}
this.returnRefundStatus(this.asOrderDetail.status,this.asOrderDetail.close_reason); this.returnRefundStatus(this.asOrderDetail.status,this.asOrderDetail.close_reason);
this.$forceUpdate() this.$forceUpdate()
} }
...@@ -502,6 +497,17 @@ ...@@ -502,6 +497,17 @@
// 商品金额 单位 // 商品金额 单位
this.goodsOrderDetail.goods_price = res.data.order_goods.goods_price / 100 this.goodsOrderDetail.goods_price = res.data.order_goods.goods_price / 100
} }
// 退款凭证 list 数据
this.returnInfoTableData = [];
if(res.data.order_refund.return_info && res.data.order_refund.return_info.express_code) {
// this.returnInfoTableData.push(res.data.order_refund.return_info)
// console.log(494,this.returnInfoTableData);
this.$set(this.returnInfoTableData,this.returnInfoTableData.length,res.data.order_refund.return_info);
}else {
this.returnInfoTableData = [];
}
// 售后历史 // 售后历史
if(res.data.order_refund_history) { if(res.data.order_refund_history) {
this.asApplyList = res.data.order_refund_history this.asApplyList = res.data.order_refund_history
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论