|
@@ -1,18 +1,8 @@
|
|
|
<template>
|
|
|
- <div class="app-container">
|
|
|
+ <div v-loading="loading" class="app-container">
|
|
|
<el-card v-if="cmReturnedPurchaseList.length === 0" class="box-card" style="height: 100px;line-height: 100px; text-align:center;color: #999;">暂无退款退货详情记录~</el-card>
|
|
|
<template v-else>
|
|
|
<div v-for="(cmReturn,index) in cmReturnedPurchaseList" id="printBox" :key="index">
|
|
|
- <!-- <el-card class="box-card" style="margin: 5px auto;">
|
|
|
- <div class="refund-item">
|
|
|
- <h1 class="refund-item-title">审核信息</h1>
|
|
|
- <el-row :gutter="24" class="box-row">
|
|
|
- <el-col :span="5"><b>审核人:</b> {{ cmReturn.reviewUserName }}</el-col>
|
|
|
- <el-col :span="4"><b>审核时间:</b> {{ cmReturn.confirmReturnTime ? cmReturn.confirmReturnTime :'--' }}</el-col>
|
|
|
- <el-col :span="15"><b>审核备注:</b> {{ cmReturn.reviewRemarks ? cmReturn.reviewRemarks :'--' }}</el-col>
|
|
|
- </el-row>
|
|
|
- </div>
|
|
|
- </el-card> -->
|
|
|
<el-card class="box-card" style="margin: 5px auto;">
|
|
|
<div class="refund-item">
|
|
|
<h1 class="refund-item-title">申请信息</h1>
|
|
@@ -29,7 +19,7 @@
|
|
|
<el-row :gutter="24" class="box-row">
|
|
|
<el-col :span="5"><b>退款编号:</b> {{ cmReturn.returnedNo }}</el-col>
|
|
|
<el-col :span="4"><b>申请时间:</b> {{ cmReturn.returnTime }}</el-col>
|
|
|
- <el-col :span="15"><b>申请金额</b> ¥{{ cmReturn.refundFee | amountfilters }} </el-col>
|
|
|
+ <el-col :span="15"><b>申请金额:</b> ¥{{ cmReturn.refundFee | amountfilters }} </el-col>
|
|
|
</el-row>
|
|
|
<h1 class="refund-item-title">退款方式</h1>
|
|
|
<el-row :gutter="24" class="box-row">
|
|
@@ -37,7 +27,7 @@
|
|
|
<template v-else-if="cmReturn.returnedWay*1===1">
|
|
|
<template v-if="cmReturn.refundOnlineFee*1 !== 0">
|
|
|
<el-col :span="5">
|
|
|
- <b>线上退回:</b>
|
|
|
+ <b>线上退回:</b>
|
|
|
<span>¥{{ cmReturn.refundOnlineFee | amountfilters }}</span>
|
|
|
</el-col>
|
|
|
</template>
|
|
@@ -46,59 +36,14 @@
|
|
|
<b>线下转账:</b>
|
|
|
<span>¥{{ cmReturn.refundOfflineFee | amountfilters }}</span>
|
|
|
</el-col>
|
|
|
- <!-- <el-col :span="4"><b>开户名:</b><span>{{ cmReturn.bankAccountName }}</span> </el-col>
|
|
|
- <el-col :span="4"><b>账号:</b> <span>{{ cmReturn.bankAccountNo }}</span> </el-col>
|
|
|
- <el-col :span="4"><b>开户行:</b> <span>{{ cmReturn.openBank }}</span> </el-col>
|
|
|
- <el-col :span="4"><b>账户类型:</b> <span>{{ cmReturn.bankAccountType*1 === 1 ? '公账' : '私账' }}</span> </el-col> -->
|
|
|
</template>
|
|
|
</template>
|
|
|
- <span v-else>----</span>
|
|
|
+ <el-col v-else>----</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
|
</el-card>
|
|
|
<el-card class="box-card" style="margin: 5px auto;">
|
|
|
<div class="refund-item">
|
|
|
- <!-- <el-row :gutter="24" class="box-row">
|
|
|
- <el-col :span="5"><b>订单编号(ID):</b> {{ order.orderNo }}({{ order.orderId }})</el-col>
|
|
|
- <el-col :span="4"><b>下单时间:</b> {{ order.orderTime }}</el-col>
|
|
|
- <el-col :span="6"><b>机构名称:</b> {{ order.clubName }}</el-col>
|
|
|
- <el-col :span="9">
|
|
|
- <b>订单状态:</b>
|
|
|
- <template v-if="['11','12','13','21','22','23','31','32','33'].indexOf(order.status)>=0">
|
|
|
- <el-tag type="success" size="small">交易中</el-tag>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- <el-tag :type="order.status*1===6?'info':''" size="small">{{ order.status | orderStatusFilter }}</el-tag>
|
|
|
- </template>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <el-row :gutter="24" class="box-row">
|
|
|
- <el-col :span="5"><b>订单金额:</b> {{ order.payTotalFee }}</el-col>
|
|
|
- <el-col :span="4"><b>应收金额:</b> {{ order.payableAmount }}</el-col>
|
|
|
- <el-col :span="15"><b>机构运费:</b> <span>{{ order.postageInfo }}</span></el-col>
|
|
|
- </el-row>
|
|
|
- <el-row :gutter="24" class="box-row">
|
|
|
- <el-col :span="5"><b>收款状态:</b>
|
|
|
- <el-tag v-if="order.receiptStatus*1===1" type="danger" size="small">待收款</el-tag>
|
|
|
- <el-tag v-if="order.receiptStatus*1===2" type="warning" size="small">部分收款</el-tag>
|
|
|
- <el-tag v-if="order.receiptStatus*1===3" type="success" size="small">已收款</el-tag>
|
|
|
- </el-col>
|
|
|
- <el-col :span="4"><b>退款状态:</b>
|
|
|
- <el-tag v-if="order.refundType*1===1" type="warning" size="small">部分退款</el-tag>
|
|
|
- <el-tag v-else-if="order.refundType*1===2" type="danger" size="small">已退款</el-tag>
|
|
|
- <el-tag v-else type="info" size="small">无退款</el-tag>
|
|
|
- </el-col>
|
|
|
- <el-col :span="6"><b>发货状态:</b>
|
|
|
- <el-tag v-if="order.sendOutStatus*1===1" type="danger" size="small">待发货</el-tag>
|
|
|
- <el-tag v-if="order.sendOutStatus*1===2" type="warning" size="small">部分发货</el-tag>
|
|
|
- <el-tag v-if="order.sendOutStatus*1===3" type="success" size="small">已发货</el-tag>
|
|
|
- </el-col>
|
|
|
- <el-col :span="9"><b>退款状态:</b>
|
|
|
- <el-tag v-if="order.refundType*1===1" type="warning" size="small">部分退款</el-tag>
|
|
|
- <el-tag v-else-if="order.refundType*1===2" type="danger" size="small">已退款</el-tag>
|
|
|
- <el-tag v-else type="info" size="small">无退款</el-tag>
|
|
|
- </el-col>
|
|
|
- </el-row> -->
|
|
|
<el-row :gutter="24" class="box-row">
|
|
|
<el-col :span="5"><b>机构:</b> {{ order.bpOrderUserinfo.name }}</el-col>
|
|
|
<el-col :span="4"><b>收货人:</b> {{ order.bpOrderUserinfo.shouHuoRen }}</el-col>
|
|
@@ -163,9 +108,9 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="退款状态" align="center">
|
|
|
<template>
|
|
|
- <el-tag v-if="order.newShopOrders[0].orderStatusFlag*1===1" type="info" size="small">无退款</el-tag>
|
|
|
- <el-tag v-if="order.newShopOrders[0].orderStatusFlag*1===2" type="warning" size="small">退款中</el-tag>
|
|
|
- <el-tag v-if="order.newShopOrders[0].orderStatusFlag*1===3" type="success" size="small">已退款</el-tag>
|
|
|
+ <el-tag v-if="order.newShopOrders[0].refundStatus*1===1" type="info" size="small">无退款</el-tag>
|
|
|
+ <el-tag v-if="order.newShopOrders[0].refundStatus*1===2" type="warning" size="small">退款中</el-tag>
|
|
|
+ <el-tag v-if="order.newShopOrders[0].refundStatus*1===3" type="success" size="small">已退款</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="供应商" align="center" prop="shopName" />
|
|
@@ -197,7 +142,8 @@ export default {
|
|
|
repacts: {},
|
|
|
products: [],
|
|
|
cmReturnedPurchase: {},
|
|
|
- cmReturnedPurchaseList: []
|
|
|
+ cmReturnedPurchaseList: [],
|
|
|
+ loading: true
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -218,6 +164,7 @@ export default {
|
|
|
this.order = res.data.order
|
|
|
this.cmReturnedPurchase = res.data.cmReturnedPurchase
|
|
|
this.cmReturnedPurchaseList = res.data.cmReturnedPurchaseList
|
|
|
+ this.loading = false
|
|
|
console.log('res', res)
|
|
|
} catch (error) {
|
|
|
console.log('error', error)
|