|
|
@@ -4,10 +4,10 @@
|
|
|
<!-- 红色提示信息 -->
|
|
|
<view class="warning-tip" v-if="shAddPay == 1">
|
|
|
<view class="warning-icon">⚠</view>
|
|
|
- <text class="warning-text" v-if="shAddPayReason == 1">已过可售后时间,只能开售后付款单</text>
|
|
|
+ <text class="warning-text" v-if="shAddPayReason == 1">已过可售后时间,只能开红冲单</text>
|
|
|
<text class="warning-text" v-else>
|
|
|
- <block v-if="Number(orderInfo.remainDebtPrice)<=0">订单已结账,只能开售后付款单</block>
|
|
|
- <block v-else>订单已部分结账,只能开售后付款单</block>
|
|
|
+ <block v-if="Number(orderInfo.remainDebtPrice)<=0">订单已结账,只能开红冲单</block>
|
|
|
+ <block v-else>订单已部分结账,只能开红冲单</block>
|
|
|
</text>
|
|
|
</view>
|
|
|
|
|
|
@@ -216,7 +216,7 @@
|
|
|
</view>
|
|
|
<view class="confirm-text">
|
|
|
<text v-if="shAddPay == 0">确认要退款吗?</text>
|
|
|
- <text v-else>确认开售后付款单吗?</text>
|
|
|
+ <text v-else>确认开红冲单吗?</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="modal-actions">
|
|
|
@@ -245,7 +245,7 @@ export default {
|
|
|
orderInfo:{},
|
|
|
coundRefundPrice:0,
|
|
|
showRefundModal: false,
|
|
|
- shAddPay:0,//0表示按正常流程售后,1表示开售后付款单
|
|
|
+ shAddPay:0,//0表示按正常流程售后,1表示开红冲单
|
|
|
shAddPayReason:0,//只能开付款单的几种情况:0、开的欠款单,并且已经全部或者部分结清,1、可售后时间到了
|
|
|
};
|
|
|
},
|
|
|
@@ -325,7 +325,7 @@ export default {
|
|
|
askRefund(){
|
|
|
if(this.orderInfo.payWay == 3 && Number(this.orderInfo.remainDebtPrice)>0 && Number(this.refundMoney) > Number(this.orderInfo.remainDebtPrice)){
|
|
|
if(this.refundType==2){
|
|
|
- uni.showToast({title:'售后付款要选择商品',icon:'none'})
|
|
|
+ uni.showToast({title:'红冲要选择商品',icon:'none'})
|
|
|
return false
|
|
|
}
|
|
|
//如果退款金额大于剩余欠款,则提醒走开付款单方式退款
|