feat: 增加现金支付
This commit is contained in:
+14
-1
@@ -31,7 +31,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
<view
|
||||
class="detail-goods"
|
||||
:style="[{ marginTop: state.orderInfo.receiverAreaId > 0 ? '0' : '-40rpx' }]"
|
||||
@@ -178,6 +178,12 @@
|
||||
text: '已取消',
|
||||
text1: '您的订单已取消!',
|
||||
},
|
||||
70: {
|
||||
text: '现金待确认',
|
||||
text1: '等待工作人员确认收款',
|
||||
btn1: '切换支付',
|
||||
btn2: '取消订单',
|
||||
},
|
||||
});
|
||||
|
||||
// ========== 门店自提(核销) ==========
|
||||
@@ -264,6 +270,13 @@
|
||||
// 取消订单
|
||||
cancelOrder();
|
||||
}
|
||||
if (Number(state.orderInfo.status) === 70 && type === 2) {
|
||||
cancelOrder();
|
||||
}
|
||||
if (Number(state.orderInfo.status) === 70 && type === 1) {
|
||||
// 现金待确认切回线上支付
|
||||
goPay();
|
||||
}
|
||||
if (state.orderInfo.status === 20 && type === 1) {
|
||||
// 确认收货confirmReceive
|
||||
OrderApi.confirmReceive({
|
||||
|
||||
Reference in New Issue
Block a user