提前结束 完成返回订单列表

This commit is contained in:
Mr.jiang 2024-07-04 23:06:11 +08:00
parent 384e3d9fa3
commit 1061be42d4
8 changed files with 28 additions and 4 deletions

View File

@ -1082,13 +1082,16 @@
uni.showToast({
title:'操作完成!'
})
// that.getOrder()
that.getOrder()
that.$refs.popup.close(type);
uni.switchTab({
url:'/pages/order/index'
})
}else{
// that.getOrder()
that.getOrder()
uni.showToast({
icon:'error',
title:'操作失败11'
title:'操作失败'
})
}
@ -1099,7 +1102,7 @@
},
fail: function(e) {
// that.getOrder()
that.getOrder()
// #ifdef H5
uni.showToast({
title:'获取地址失败!'

View File

@ -1060,6 +1060,9 @@
})
that.getOrder()
that.$refs.popup.close(type);
uni.switchTab({
url:'/pages/order/index'
})
}else{
that.getOrder()
uni.showToast({

View File

@ -1075,6 +1075,9 @@
})
that.getOrder()
that.$refs.popup.close(type);
uni.switchTab({
url:'/pages/order/index'
})
}else{
that.getOrder()
uni.showToast({

View File

@ -1075,6 +1075,9 @@
})
that.getOrder()
that.$refs.popup.close(type);
uni.switchTab({
url:'/pages/order/index'
})
}else{
that.getOrder()
uni.showToast({

View File

@ -727,6 +727,9 @@
})
that.getOrder()
that.$refs.popup.close(type);
uni.switchTab({
url:'/pages/order/index'
})
}else{
that.getOrder()
uni.showToast({

View File

@ -644,6 +644,9 @@
})
that.getOrder()
that.$refs.popup.close(type);
uni.switchTab({
url:'/pages/order/index'
})
}else{
that.getOrder()
uni.showToast({

View File

@ -713,6 +713,9 @@
})
that.getOrder()
that.$refs.popup.close(type);
uni.switchTab({
url:'/pages/order/index'
})
}else{
that.getOrder()
uni.showToast({

View File

@ -609,6 +609,9 @@
})
that.getOrderList()
that.$refs.popup.close(type);
uni.switchTab({
url:'/pages/order/index'
})
}else{
console.log('shibai' + longitude);
console.log('shibai' + latitude);