|
@@ -11,18 +11,18 @@
|
|
|
<view>
|
|
<view>
|
|
|
<view class="list" v-for="(res,i) in product" :key="i">
|
|
<view class="list" v-for="(res,i) in product" :key="i">
|
|
|
<view class="flex list-title" >
|
|
<view class="flex list-title" >
|
|
|
- {{res.name}} ¥{{parseFloat(res.xhUnitPrice)}}*{{res.xhNum}}{{res.xhUnitName}}=¥{{parseFloat(res.xhPrice)}}
|
|
|
|
|
|
|
+ {{res.name}} ¥{{parseFloat(res.xhUnitPrice)}} x {{res.xhNum}}{{res.xhUnitName}} = ¥{{parseFloat(res.xhPrice)}}
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="flex refund-item">
|
|
<view class="flex refund-item">
|
|
|
<view class="refund-label"><text></text>退款金额:</view>
|
|
<view class="refund-label"><text></text>退款金额:</view>
|
|
|
- <view class="list">{{refundPrice}}</view>
|
|
|
|
|
|
|
+ <view class="list">¥{{refundPrice}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class=" refund-item">
|
|
<view class=" refund-item">
|
|
|
<view class="refund-label">备注信息:</view>
|
|
<view class="refund-label">备注信息:</view>
|
|
|
- <view class="list">{{remak}}</view>
|
|
|
|
|
|
|
+ <view class="list">{{remark}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
@@ -44,8 +44,8 @@ export default {
|
|
|
refundDetail({ id: this.option.id }).then(res=>{
|
|
refundDetail({ id: this.option.id }).then(res=>{
|
|
|
this.product = res.data.itemList||[];
|
|
this.product = res.data.itemList||[];
|
|
|
this.refundType = res.data.info.refundType||0;
|
|
this.refundType = res.data.info.refundType||0;
|
|
|
- this.refundPrice = res.data.info.refundPrice||0;
|
|
|
|
|
- this.remark = res.data.remark;
|
|
|
|
|
|
|
+ this.refundPrice = res.data.info.refundPrice ? parseFloat(res.data.info.refundPrice) : 0
|
|
|
|
|
+ this.remark = res.data.info.remark;
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
},
|
|
},
|