|
|
@@ -190,10 +190,8 @@
|
|
|
<view class="tip-section">
|
|
|
<text v-if="orderInfo.onlinePay == 2" class="tip-text online-tip">此单线上付款,提交后,钱会原路自动退回给客户</text>
|
|
|
<text v-else-if="orderInfo.payWay == 2" class="tip-text online-tip">此单余额付款,提交后,钱会原路自动退回到客户余额</text>
|
|
|
- <block v-else>
|
|
|
- <text v-if="Number(orderInfo.debtPrice)>0" class="tip-text debt-tip">此单为欠款单,提交后,欠款金额会自动减少</text>
|
|
|
- <text v-else class="tip-text offline-tip">此单线下付款,提交后钱不会原路退回,请线下转账给客户</text>
|
|
|
- </block>
|
|
|
+ <text v-else-if="orderInfo.payWay == 3 || Number(orderInfo.debtPrice)>0" class="tip-text debt-tip">此单为欠款单,提交后,欠款金额会自动减少</text>
|
|
|
+ <text v-else class="tip-text offline-tip">此单线下付款,提交后请按原支付方式退给客户,并在成功页确认退回方式</text>
|
|
|
</view>
|
|
|
|
|
|
<!-- 底部操作按钮 -->
|
|
|
@@ -363,8 +361,8 @@ export default {
|
|
|
if(this.orderInfo.payWay == 2){
|
|
|
title = '此单余额付款,提交后钱会原路退回客户余额,确认退款?'
|
|
|
}else if(this.orderInfo.onlinePay == 1 && Number(this.orderInfo.debtPrice)<=0){
|
|
|
- title = '此单线下付款,钱没有原路退回,还要线下转钱给客户,确认知道了?'
|
|
|
- topTitle = '特别注意!!!'
|
|
|
+ title = '此单线下付款,提交后需按原路线下退给客户,并确认退回方式,确认退款?'
|
|
|
+ topTitle = '确认退款'
|
|
|
}
|
|
|
that.$util.confirmModal({title:topTitle,content:title},() => {
|
|
|
that.submitRefund(that._pendingRefundParams)
|
|
|
@@ -420,8 +418,11 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
const data = res.data || {}
|
|
|
+ // 待确认退回方式:当天/隔天线下等 hasReturn=0 且 couldReturn=1
|
|
|
const needFund = Number(data.needFundAction) === 1
|
|
|
- || (Number(data.hasReturn) === 0 && Number(data.returnBalance) === 0 && Number(data.sameDay) === 0 && Number(data.couldReturn) === 1)
|
|
|
+ || (Number(data.hasReturn) === 0
|
|
|
+ && Number(data.returnBalance) === 0
|
|
|
+ && Number(data.couldReturn) === 1)
|
|
|
const showPoster = Number(data.returnBalance) === 1
|
|
|
// 待资金落地或已返充:进结果页
|
|
|
if (needFund || showPoster) {
|
|
|
@@ -434,6 +435,7 @@ export default {
|
|
|
forwardId: data.id || 0,
|
|
|
orderId: data.orderId || that.option.id,
|
|
|
payWay: data.payWay != null ? data.payWay : that.orderInfo.payWay,
|
|
|
+ onlinePay: data.onlinePay != null ? data.onlinePay : that.orderInfo.onlinePay,
|
|
|
hasReturn: data.hasReturn || 0,
|
|
|
couldReturn: data.couldReturn != null ? data.couldReturn : 1,
|
|
|
returnBalance: data.returnBalance || 0,
|