|
@@ -2,7 +2,7 @@
|
|
|
<mobile-frame>
|
|
|
<view class="main">
|
|
|
<view class="one">
|
|
|
- <view class="list" v-for="(item,index) in goodsList" :key="index" >
|
|
|
+ <view class="list" v-for="(item,index) in goodsList" :key="index">
|
|
|
<view class="list_1">
|
|
|
<text>退款商品</text>
|
|
|
</view>
|
|
@@ -18,7 +18,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="r">
|
|
|
- <view v-if="item.type=='0'" class="price">
|
|
|
+ <view v-if="type=='0'" class="price">
|
|
|
¥{{item.sell_money}}
|
|
|
</view>
|
|
|
<view v-else class="price">
|
|
@@ -52,6 +52,7 @@
|
|
|
id: '',
|
|
|
user: {},
|
|
|
form: {},
|
|
|
+ type: '',
|
|
|
// 退货商品
|
|
|
goodsList: [],
|
|
|
icon: [],
|
|
@@ -107,6 +108,7 @@
|
|
|
let arr = await that.$api(`/orderDetail/${that.id}`, 'GET')
|
|
|
if (arr.errcode == '0') {
|
|
|
that.$set(that, `goodsList`, arr.data.goods)
|
|
|
+ that.$set(that, `type`, arr.data.type)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -191,6 +193,7 @@
|
|
|
|
|
|
.two {
|
|
|
padding: 2vw;
|
|
|
+
|
|
|
.btn {
|
|
|
text-align: center;
|
|
|
|