|
@@ -373,6 +373,7 @@
|
|
|
params.couponReceivesList = [{couponId:this.checkedCoupon.id}]
|
|
|
}
|
|
|
saveOrder(params).then(res => {
|
|
|
+ uni.hideLoading()
|
|
|
if (res.status == 200) {
|
|
|
let data = res.data
|
|
|
// 保存成功后 请求预支付返回吊起微信支付所需参数
|
|
@@ -380,10 +381,11 @@
|
|
|
this.$u.vuex('vuex_itemCode',data.itemCode)
|
|
|
this.$u.vuex('vuex_orderNo',data.orderNo)
|
|
|
} else {
|
|
|
- uni.hideLoading()
|
|
|
- // 刷新服务项
|
|
|
- this.getServerList()
|
|
|
this.toashMsg(res.message)
|
|
|
+ setTimeout(()=>{
|
|
|
+ // 刷新服务项
|
|
|
+ this.getServerList()
|
|
|
+ },2000)
|
|
|
}
|
|
|
})
|
|
|
},
|