tmp: 部分代码与UnishopV5结合,但是代码有严重缺陷
This commit is contained in:
@@ -48,17 +48,32 @@
|
||||
</view>
|
||||
</view>
|
||||
<!-- 退款信息 -->
|
||||
<view class="info">
|
||||
<view class="info" v-if="detail.refund_apply_money > 0">
|
||||
<view class="cell">退款方式:{{ detail.refund_type == 1 ? '仅退款' : '退款退货' }}</view>
|
||||
<view class="cell" v-if="detail.refund_status == 3">退款途径:{{ detail.refund_money_type == 1 ? '原路退款' : detail.refund_money_type == 2 ? '线下退款' : '退款到余额' }}</view>
|
||||
<view class="cell">退款原因:{{ detail.refund_reason }}</view>
|
||||
<view class="cell" v-if="detail.refund_status == 3 && detail.refund_real_money>0">退款金额:{{ $lang('common.currencySymbol') }}{{ detail.refund_real_money }}</view>
|
||||
<view class="cell" v-else-if="detail.refund_apply_money>0">退款金额:{{ $lang('common.currencySymbol') }}{{ detail.refund_apply_money }}</view>
|
||||
<view class="cell">申请原因:{{ detail.refund_reason }}</view>
|
||||
<view class="cell" v-if="detail.refund_remark != ''">申请说明:{{ detail.refund_remark }}</view>
|
||||
<!-- <view class="cell">申请时间:{{ $util.timeStampTurnTime(detail.refund_action_time) }}</view> -->
|
||||
<view class="cell">申请金额:{{ $lang('common.currencySymbol') }}{{ detail.refund_apply_money }}</view>
|
||||
</view>
|
||||
<view class="info refund-images" v-if="detail.refund_apply_money > 0">
|
||||
<view class="cell" v-if="detail.refund_images">
|
||||
<view class="cell-title">退款图片:</view>
|
||||
<view class="images">
|
||||
<image v-for="(item, index) in detail.refund_images.split(',')" :key="index" :src="$util.img(item)" mode="aspectFill"></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="info" v-if="detail.refund_apply_money > 0 && detail.refund_status == 3">
|
||||
<view class="cell">退款金额:{{ $lang('common.currencySymbol') }}{{ detail.refund_real_money }} ({{ detail.refund_money_type_name }})</view>
|
||||
<view class="cell">退款说明:{{ detail.shop_refund_remark || '--' }}</view>
|
||||
<view class="cell">退款编号:{{ detail.refund_no }}</view>
|
||||
<view class="cell">申请时间:{{ $util.timeStampTurnTime(detail.refund_action_time) }}</view>
|
||||
<view class="cell" v-if="detail.refund_time">退款时间:{{ $util.timeStampTurnTime(detail.refund_time) }}</view>
|
||||
<view class="cell" v-if="detail.refund_remark != ''">退款说明:{{ detail.refund_remark }}</view>
|
||||
<view class="cell" v-if="detail.use_point>0">退款积分:{{ detail.use_point }}</view>
|
||||
<view class="cell">退款时间:{{ $util.timeStampTurnTime(detail.refund_time) }}</view>
|
||||
<view class="cell" v-if="detail.use_point > 0">退款积分:{{ detail.use_point }}</view>
|
||||
</view>
|
||||
<view class="info" v-if="detail.shop_active_refund == 1">
|
||||
<view class="cell">主动退款编号:{{ detail.shop_active_refund_no }}</view>
|
||||
<view class="cell">主动退款金额:¥{{ detail.shop_active_refund_money }} ({{ detail.shop_active_refund_money_type_name }})</view>
|
||||
<view class="cell">主动退款说明:{{ detail.shop_active_refund_remark }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -131,12 +146,12 @@
|
||||
<view class="empty-box"></view>
|
||||
</view>
|
||||
<view class="history-bottom" :class="{ 'bottom-safe-area': isIphoneX }">
|
||||
<!-- <ns-contact :niushop="{order_id: detail.order_id}">
|
||||
<ns-contact :niushop="{order_id: detail.order_id}">
|
||||
<view>
|
||||
<text class="iconfont icon-ziyuan"></text>
|
||||
<text>联系客服</text>
|
||||
</view>
|
||||
</ns-contact> -->
|
||||
</ns-contact>
|
||||
<view @click="switchAction('')">返回详情</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -213,7 +228,10 @@ export default {
|
||||
if (res.code >= 0) {
|
||||
this.$util.showToast({ title: '撤销成功' });
|
||||
setTimeout(() => {
|
||||
this.$util.redirectTo('/pages/order/list');
|
||||
// this.$util.redirectTo('/pages/order/list');
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
}, 1000);
|
||||
}
|
||||
});
|
||||
@@ -224,6 +242,11 @@ export default {
|
||||
case 'orderRefundAsk':
|
||||
this.$util.redirectTo('/pages_tool/order/refund', { order_goods_id: this.detail.order_goods_id });
|
||||
break;
|
||||
case 'orderRefundApply':
|
||||
this.$util.redirectTo('/pages_tool/order/refund', {
|
||||
order_goods_id: this.detail.order_goods_id
|
||||
});
|
||||
break;
|
||||
}
|
||||
},
|
||||
refurnGoods() {
|
||||
|
||||
Reference in New Issue
Block a user