提前结束 完成返回订单列表
This commit is contained in:
parent
384e3d9fa3
commit
1061be42d4
|
@ -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:'获取地址失败!'
|
||||
|
|
|
@ -1060,6 +1060,9 @@
|
|||
})
|
||||
that.getOrder()
|
||||
that.$refs.popup.close(type);
|
||||
uni.switchTab({
|
||||
url:'/pages/order/index'
|
||||
})
|
||||
}else{
|
||||
that.getOrder()
|
||||
uni.showToast({
|
||||
|
|
|
@ -1075,6 +1075,9 @@
|
|||
})
|
||||
that.getOrder()
|
||||
that.$refs.popup.close(type);
|
||||
uni.switchTab({
|
||||
url:'/pages/order/index'
|
||||
})
|
||||
}else{
|
||||
that.getOrder()
|
||||
uni.showToast({
|
||||
|
|
|
@ -1075,6 +1075,9 @@
|
|||
})
|
||||
that.getOrder()
|
||||
that.$refs.popup.close(type);
|
||||
uni.switchTab({
|
||||
url:'/pages/order/index'
|
||||
})
|
||||
}else{
|
||||
that.getOrder()
|
||||
uni.showToast({
|
||||
|
|
|
@ -727,6 +727,9 @@
|
|||
})
|
||||
that.getOrder()
|
||||
that.$refs.popup.close(type);
|
||||
uni.switchTab({
|
||||
url:'/pages/order/index'
|
||||
})
|
||||
}else{
|
||||
that.getOrder()
|
||||
uni.showToast({
|
||||
|
|
|
@ -644,6 +644,9 @@
|
|||
})
|
||||
that.getOrder()
|
||||
that.$refs.popup.close(type);
|
||||
uni.switchTab({
|
||||
url:'/pages/order/index'
|
||||
})
|
||||
}else{
|
||||
that.getOrder()
|
||||
uni.showToast({
|
||||
|
|
|
@ -713,6 +713,9 @@
|
|||
})
|
||||
that.getOrder()
|
||||
that.$refs.popup.close(type);
|
||||
uni.switchTab({
|
||||
url:'/pages/order/index'
|
||||
})
|
||||
}else{
|
||||
that.getOrder()
|
||||
uni.showToast({
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue