|
|
<template>
|
|
|
<div class="ivu-card">
|
|
|
<div class="ivu-card-head">
|
|
|
<h3>退款商品信息</h3>
|
|
|
<p slot="title">退款商品信息</p>
|
|
|
</div>
|
|
|
<div class="ivu-card-body">
|
|
|
<table cellspacing="0" cellpadding="0" class="order-detail">
|
...
|
...
|
@@ -31,17 +31,6 @@ |
|
|
<td>{{ goods.giftCardAmount }}</td>
|
|
|
<td>{{ goods.activityDiscount }}</td>
|
|
|
<td>{{ returnedReason[goods.returnedReason] }}</td>
|
|
|
<template v-if="index == 0">
|
|
|
<td :rowspan="tableData.length">
|
|
|
{{ returnedInfo.realReturnedAmount }}
|
|
|
</td>
|
|
|
<td :rowspan="tableData.length">
|
|
|
{{ returnedInfo.returnShippingCost }}
|
|
|
</td>
|
|
|
<td :rowspan="tableData.length">
|
|
|
{{ returnedInfo.realReturnedAmount + returnedInfo.returnShippingCost }}
|
|
|
</td>
|
|
|
</template>
|
|
|
</tr>
|
|
|
<tr v-if="goods.remark || goods.imperfectImage" :key="index + '_1'" class="returned-remark">
|
|
|
<td colspan="14">
|
...
|
...
|
@@ -64,7 +53,7 @@ |
|
|
import prodImage from 'util/prod-image';
|
|
|
export default {
|
|
|
name: 'ReturnedGoodsInfo',
|
|
|
props: ['tableData', 'returnedReason', 'returnedInfo'],
|
|
|
props: ['tableData', 'returnedReason'],
|
|
|
data() {
|
|
|
return {
|
|
|
tableCols: [
|
...
|
...
|
@@ -79,9 +68,6 @@ export default { |
|
|
{ title: '礼品卡', width: '6%' },
|
|
|
{ title: '活动优惠', width: '6%' },
|
|
|
{ title: '退款原因', width: '6%' },
|
|
|
{ title: '退货款金额', width: '6%' },
|
|
|
{ title: '退运费金额', width: '6%' },
|
|
|
{ title: '退款总金额', width: '6%' },
|
|
|
],
|
|
|
};
|
|
|
},
|
...
|
...
|
|