|
@@ -221,9 +221,14 @@ export default {
|
|
|
}
|
|
}
|
|
|
let that = this;
|
|
let that = this;
|
|
|
that.$util.confirmModal({content:'确认提交?'},() => {
|
|
that.$util.confirmModal({content:'确认提交?'},() => {
|
|
|
|
|
+ uni.showLoading({mask:true})
|
|
|
clearOrderApi(params).then(ret=>{
|
|
clearOrderApi(params).then(ret=>{
|
|
|
|
|
+ uni.hideLoading()
|
|
|
if(ret.code == 1){
|
|
if(ret.code == 1){
|
|
|
- that.pageTo({url:'/common/success', type: 2,query:{titleType:1}})
|
|
|
|
|
|
|
+ that.$msg('结账成功')
|
|
|
|
|
+ setTimeout(function(){
|
|
|
|
|
+ uni.navigateBack({})
|
|
|
|
|
+ },1100)
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
})
|
|
})
|