退款类型增加
This commit is contained in:
parent
c0f03ef9aa
commit
acad1cd067
|
|
@ -77,6 +77,10 @@ export default {
|
|||
{ label: '订单消费出库', type: 'order-out' },
|
||||
{ label: '损耗出库', type: 'damage-out' },
|
||||
],
|
||||
refundType: [
|
||||
{ label: '现金退款', type: 'cash' },
|
||||
{ label: '原路退回', type: 'payBack' },
|
||||
],
|
||||
getDiceName(val,key){
|
||||
let item = this[key].find(v => v.type == val)
|
||||
return item ? item.label : ''
|
||||
|
|
|
|||
|
|
@ -3,4 +3,5 @@ export default {
|
|||
'JEEPAY_BASE_URL_H5': 'http://192.168.1.31/',
|
||||
'JEEPAY_BASE_URL_WSS': 'ws://192.168.1.31:2348' ,// sockets
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -166,6 +166,12 @@
|
|||
</view>
|
||||
|
||||
<template v-if="orderInfo.refundAmount">
|
||||
<view class="u-flex u-row-between u-m-t-32">
|
||||
<view>退款类型</view>
|
||||
<view class="color-999">
|
||||
<text class="">{{$dict.getDiceName(orderInfo.refundType,'refundType')||''}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="u-flex u-row-between u-m-t-32">
|
||||
<view>退款金额</view>
|
||||
<view class="color-999">
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
</view>
|
||||
<view class="u-flex">
|
||||
<view>
|
||||
<text :class="[data.status]">{{$dict.getDiceName(data.status,'orderStatus')}}</text>
|
||||
<text :class="[data.status]">{{$dict.getDiceName(data.status,'orderStatus')}}{{data.refundType?'['+$dict.getDiceName(data.refundType,'refundType')+']':''}}</text>
|
||||
</view>
|
||||
<view class="line"></view>
|
||||
<view class=" color-main">
|
||||
|
|
|
|||
Loading…
Reference in New Issue