|
@@ -263,8 +263,7 @@ export default {
|
|
|
uni.navigateBack({delta: 1});
|
|
uni.navigateBack({delta: 1});
|
|
|
},
|
|
},
|
|
|
askRefund(){
|
|
askRefund(){
|
|
|
- this.minusOrderRefund = 0
|
|
|
|
|
- if(this.orderInfo.payWay == 3 && Number(this.refundMoney)>Number(this.orderInfo.remainDebtPrice)){
|
|
|
|
|
|
|
+ if(this.orderInfo.payWay == 3 && Number(this.orderInfo.remainDebtPrice)>0 && Number(this.refundMoney)>Number(this.orderInfo.remainDebtPrice)){
|
|
|
//如果退款金额大于剩余欠款,则提醒走开负数订单方式退款
|
|
//如果退款金额大于剩余欠款,则提醒走开负数订单方式退款
|
|
|
this.$util.confirmModal({content:'售后金额超过剩余欠款,只能开负数订单方式售后'},() => {
|
|
this.$util.confirmModal({content:'售后金额超过剩余欠款,只能开负数订单方式售后'},() => {
|
|
|
this.minusOrderRefund = 1
|
|
this.minusOrderRefund = 1
|