提交 8c03ebaa authored 作者: huaxinzhu's avatar huaxinzhu

售后bug修复,测试打包

上级 fac73fc1
...@@ -24,11 +24,12 @@ ...@@ -24,11 +24,12 @@
<el-card class="as-order-details"> <el-card class="as-order-details">
<!-- 倒计时 提示 --> <!-- 倒计时 提示 -->
<p class="count-down-con" v-if="asOrderType == 1"><i class="spec-icon-w el-icon-warning"></i>剩余处理时间: <span class="cd-time-span">{{ cdHour }} 小时 {{ cdMinute }}</span> 请在72小时内处理,逾期不处理,系统将自动退款到买家账户</p> <p class="count-down-con" v-if="!(asOrderDetail.status == 5 || asOrderDetail.status == -1)"><i class="spec-icon-w el-icon-warning"></i>剩余处理时间: <span class="cd-time-span">{{ cdHour }} 小时 {{ cdMinute }}</span> 请在72小时内处理,逾期不处理,系统将自动退款到买家账户</p>
<p class="count-down-con" v-if="asOrderType == 2 && onlyOrRefundBtnType == 2"><i class="spec-icon-w el-icon-warning"></i>剩余处理时间: <span class="cd-time-span">{{ cdHour }} 小时 {{ cdMinute }}</span> 请在72小时内处理,逾期不处理,系统将自动退款到买家账户</p>
<!-- 售后信息 --> <!-- 售后信息 -->
<div> <div>
<p>售后信息</p> <div class="card-header-title">
<span class="blue-block blue-block-goods-title"></span>售后信息
</div>
<div> <div>
<el-row class="row-title"> <el-row class="row-title">
<el-col :span="3" class="text-r">售后类型</el-col> <el-col :span="3" class="text-r">售后类型</el-col>
...@@ -49,7 +50,6 @@ ...@@ -49,7 +50,6 @@
<el-row class="row-title-pic"> <el-row class="row-title-pic">
<el-col :span="3" class="text-r">申请图片</el-col> <el-col :span="3" class="text-r">申请图片</el-col>
<el-col :span="9" class="text-l"> <el-col :span="9" class="text-l">
<!-- {{ asOrderDetail.images }}-->
<div v-if="asSrcList.length > 0"> <div v-if="asSrcList.length > 0">
<el-image <el-image
style="width: 70px; height: 70px;border:1px solid #eee;margin-right:10px;" style="width: 70px; height: 70px;border:1px solid #eee;margin-right:10px;"
...@@ -65,7 +65,9 @@ ...@@ -65,7 +65,9 @@
</div> </div>
<!-- 订单信息 --> <!-- 订单信息 -->
<div> <div>
<p>订单信息</p> <div class="card-header-title">
<span class="blue-block blue-block-goods-title"></span>订单信息
</div>
<div> <div>
<el-row class="row-title"> <el-row class="row-title">
<el-col :span="3" class="text-r">订单状态</el-col> <el-col :span="3" class="text-r">订单状态</el-col>
...@@ -89,7 +91,9 @@ ...@@ -89,7 +91,9 @@
</div> </div>
<!-- 历史售后申请 --> <!-- 历史售后申请 -->
<div> <div>
<p>历史售后申请</p> <div class="card-header-title">
<span class="blue-block blue-block-goods-title"></span>历史售后申请
</div>
<el-table :data="asApplyList"> <el-table :data="asApplyList">
<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">
...@@ -121,7 +125,15 @@ ...@@ -121,7 +125,15 @@
</el-table-column> </el-table-column>
<el-table-column label="申请图片" align="center"> <el-table-column label="申请图片" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.images }} <div v-if="(scope.row.imgs_arr && scope.row.imgs_arr.length > 0)">
<el-image
style="width: 70px; height: 70px;border:1px solid #eee;margin-right:10px;"
v-for="(itemSrc,index) in scope.row.imgs_arr"
:src="itemSrc"
:preview-src-list="scope.row.imgs_arr">
</el-image>
</div>
<p v-else style="color:#666">暂无图片</p>
</template> </template>
</el-table-column> </el-table-column>
...@@ -253,7 +265,6 @@ ...@@ -253,7 +265,6 @@
sellerId: 0, sellerId: 0,
asAddressOptions: [], asAddressOptions: [],
order_refund_address:'', order_refund_address:'',
onlyButtonDisabled: false onlyButtonDisabled: false
} // return end } // return end
}, },
...@@ -269,7 +280,6 @@ ...@@ -269,7 +280,6 @@
this.sellerId = this.$store.state.user.sellerid; this.sellerId = this.$store.state.user.sellerid;
/** 获取 当前售后 订单的id */ /** 获取 当前售后 订单的id */
this.asGoodId = this.$route.query.refund_sn; this.asGoodId = this.$route.query.refund_sn;
//console.log("售后订单号:",this.asGoodId);
/** 查询 售后订单详情 */ /** 查询 售后订单详情 */
this.getDetail(); this.getDetail();
/** 获取 退货退款的发送 地址 */ /** 获取 退货退款的发送 地址 */
...@@ -381,9 +391,7 @@ ...@@ -381,9 +391,7 @@
}, },
/** 查询订单详情*/ /** 查询订单详情*/
getDetail() { getDetail() {
//console.log("售后单号",this.asGoodId);
getASOrderDetail({order_refund_sn: this.asGoodId}).then(res=> { getASOrderDetail({order_refund_sn: this.asGoodId}).then(res=> {
//console.log("296",res);
if( res.code === 1 && res.data ) { if( res.code === 1 && res.data ) {
// 售后订单详情 // 售后订单详情
if( res.data.order_refund ) { if( res.data.order_refund ) {
...@@ -681,6 +689,24 @@ ...@@ -681,6 +689,24 @@
margin-top: 20px; margin-top: 20px;
} }
.card-header-title {
line-height: 24px;
font-size: 18px;
color: #000;
font-weight: bold;
margin: 20px 0;
}
.blue-block {
display: inline-block;
width: 5px;
height: 24px;
background: #3A84FF;
margin: 0 9px 0 0;
border-radius: 2px;
vertical-align: bottom;
}
/* 售后信息 表格 样式 */ /* 售后信息 表格 样式 */
/deep/.el-col { /deep/.el-col {
/*border: 1px solid #eee;*/ /*border: 1px solid #eee;*/
......
...@@ -287,12 +287,12 @@ ...@@ -287,12 +287,12 @@
/** 调整 列表当前页面 最大展示条数 */ /** 调整 列表当前页面 最大展示条数 */
handleSizeChange(val) { handleSizeChange(val) {
this.pageSize = val; this.pageSize = val;
// this.getList(); this.getList();
}, },
/** 列表 跳转到 第 几 页 */ /** 列表 跳转到 第 几 页 */
handleCurrentChange(val) { handleCurrentChange(val) {
this.currentPage = val this.currentPage = val
// this.getList(); this.getList();
}, },
/** 搜索条件初始化 */ /** 搜索条件初始化 */
resetSearchParams() { resetSearchParams() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论