|
@@ -4,10 +4,10 @@
|
|
|
<!-- 红色提示信息 -->
|
|
<!-- 红色提示信息 -->
|
|
|
<view class="warning-tip" v-if="minusOrderRefund == 1">
|
|
<view class="warning-tip" v-if="minusOrderRefund == 1">
|
|
|
<view class="warning-icon">⚠</view>
|
|
<view class="warning-icon">⚠</view>
|
|
|
- <text class="warning-text" v-if="minusOrderReason == 1">已过可售后时间,只能开付款单售后</text>
|
|
|
|
|
|
|
+ <text class="warning-text" v-if="minusOrderReason == 1">已过可售后时间,只能开售后付款单</text>
|
|
|
<text class="warning-text"v-else>
|
|
<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>
|
|
</text>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
@@ -183,13 +183,13 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="confirm-text">
|
|
<view class="confirm-text">
|
|
|
<text v-if="minusOrderRefund == 0">确认要退款吗?</text>
|
|
<text v-if="minusOrderRefund == 0">确认要退款吗?</text>
|
|
|
- <text v-else>确认开付款单退款吗?</text>
|
|
|
|
|
|
|
+ <text v-else>确认开售后付款单吗?</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="modal-actions">
|
|
<view class="modal-actions">
|
|
|
<button class="modal-btn cancel-modal-btn" @tap="cancelRefundModal">取消</button>
|
|
<button class="modal-btn cancel-modal-btn" @tap="cancelRefundModal">取消</button>
|
|
|
<button class="modal-btn confirm-modal-btn" @tap="executeRefund" v-if="minusOrderRefund == 0">确认退款</button>
|
|
<button class="modal-btn confirm-modal-btn" @tap="executeRefund" v-if="minusOrderRefund == 0">确认退款</button>
|
|
|
- <button class="modal-btn confirm-modal-btn" @tap="executeRefund" v-else>确认开单退款</button>
|
|
|
|
|
|
|
+ <button class="modal-btn confirm-modal-btn" @tap="executeRefund" v-else>确认</button>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</ModalModule>
|
|
</ModalModule>
|
|
@@ -211,7 +211,7 @@ export default {
|
|
|
orderInfo:{},
|
|
orderInfo:{},
|
|
|
coundRefundPrice:0,
|
|
coundRefundPrice:0,
|
|
|
showRefundModal: false,
|
|
showRefundModal: false,
|
|
|
- minusOrderRefund:0,//0表示按正常流程售后,1表示开付款单售后
|
|
|
|
|
|
|
+ minusOrderRefund:0,//0表示按正常流程售后,1表示开售后付款单
|
|
|
minusOrderReason:0,//只能开付款单的几种情况:0、开的欠款单,并且已经全部或者部分结清,1、可售后时间到了
|
|
minusOrderReason:0,//只能开付款单的几种情况:0、开的欠款单,并且已经全部或者部分结清,1、可售后时间到了
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|