|
@@ -1,11 +1,11 @@
|
|
|
<!--
|
|
<!--
|
|
|
- 隔天冲销 / 无原单退款 资金选项弹框
|
|
|
|
|
- 用途:售后隔天冲销或工作台「退款」时选择资金处理方式(原路/返余额/仅记账)
|
|
|
|
|
|
|
+ 隔天售后 / 无原单退款 资金选项弹框
|
|
|
|
|
+ 用途:售后隔天售后或工作台「退款」时选择资金处理方式(原路/返余额/仅记账)
|
|
|
-->
|
|
-->
|
|
|
<template>
|
|
<template>
|
|
|
<view v-if="show" class="mask" @click="onCancel">
|
|
<view v-if="show" class="mask" @click="onCancel">
|
|
|
<view class="panel" @click.stop>
|
|
<view class="panel" @click.stop>
|
|
|
- <view class="title">{{ panelTitle }}</view>
|
|
|
|
|
|
|
+ <view class="title">退款确认</view>
|
|
|
<view class="tip">{{ tipText }}</view>
|
|
<view class="tip">{{ tipText }}</view>
|
|
|
<view class="label">资金处理</view>
|
|
<view class="label">资金处理</view>
|
|
|
<view
|
|
<view
|
|
@@ -19,7 +19,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="btns">
|
|
<view class="btns">
|
|
|
<button class="popup-btn cancel" @click="onCancel">取消</button>
|
|
<button class="popup-btn cancel" @click="onCancel">取消</button>
|
|
|
- <button class="popup-btn confirm" @click="onOk">{{ confirmText }}</button>
|
|
|
|
|
|
|
+ <button class="popup-btn confirm" @click="onOk">确认退款</button>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -34,9 +34,9 @@ export default {
|
|
|
allowOriginal: { type: Boolean, default: false },
|
|
allowOriginal: { type: Boolean, default: false },
|
|
|
// 挂账/余额强制返余额时隐藏其它选项
|
|
// 挂账/余额强制返余额时隐藏其它选项
|
|
|
forceBalance: { type: Boolean, default: false },
|
|
forceBalance: { type: Boolean, default: false },
|
|
|
- // 已结账单当天售后也走冲销
|
|
|
|
|
|
|
+ // 已结账单当天售后也走售后
|
|
|
orderCleared: { type: Boolean, default: false },
|
|
orderCleared: { type: Boolean, default: false },
|
|
|
- // free=无原单退款文案;默认隔天冲销
|
|
|
|
|
|
|
+ // free=无原单退款文案;默认隔天售后
|
|
|
mode: { type: String, default: '' }
|
|
mode: { type: String, default: '' }
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
@@ -45,20 +45,14 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
|
- panelTitle() {
|
|
|
|
|
- return this.mode === 'free' ? '退款确认' : '冲销确认'
|
|
|
|
|
- },
|
|
|
|
|
- confirmText() {
|
|
|
|
|
- return this.mode === 'free' ? '确认退款' : '确认冲销'
|
|
|
|
|
- },
|
|
|
|
|
tipText() {
|
|
tipText() {
|
|
|
if (this.mode === 'free') {
|
|
if (this.mode === 'free') {
|
|
|
return '无关联销售单:退货回库;资金按下方选择处理。'
|
|
return '无关联销售单:退货回库;资金按下方选择处理。'
|
|
|
}
|
|
}
|
|
|
if (this.orderCleared) {
|
|
if (this.orderCleared) {
|
|
|
- return '订单已结账,按冲销处理:不扣减订单实付,金额记入隔天累计退款。'
|
|
|
|
|
|
|
+ return '订单已结账,按隔天售后处理:不扣减订单实付,金额记入发起售后那天累计退款。'
|
|
|
}
|
|
}
|
|
|
- return '隔天冲销不扣减订单实付,金额记入隔天累计退款。'
|
|
|
|
|
|
|
+ return '隔天售后不扣减订单实付,金额记入发起售后那天累计退款。'
|
|
|
},
|
|
},
|
|
|
fundOptions() {
|
|
fundOptions() {
|
|
|
if (this.forceBalance) {
|
|
if (this.forceBalance) {
|
|
@@ -113,13 +107,13 @@ export default {
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
}
|
|
}
|
|
|
.title {
|
|
.title {
|
|
|
- font-size: 32upx;
|
|
|
|
|
|
|
+ font-size: 38upx;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
color: #333;
|
|
color: #333;
|
|
|
}
|
|
}
|
|
|
.tip {
|
|
.tip {
|
|
|
margin-top: 12upx;
|
|
margin-top: 12upx;
|
|
|
- font-size: 24upx;
|
|
|
|
|
|
|
+ font-size: 28upx;
|
|
|
color: #999;
|
|
color: #999;
|
|
|
}
|
|
}
|
|
|
.label {
|
|
.label {
|