shish 3 лет назад
Родитель
Сommit
4542943257
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      ghsApp/src/pagesGys/details.vue

+ 6 - 1
ghsApp/src/pagesGys/details.vue

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