提前结束 完成返回订单列表
This commit is contained in:
parent
384e3d9fa3
commit
1061be42d4
|
@ -1082,13 +1082,16 @@
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title:'操作完成!'
|
title:'操作完成!'
|
||||||
})
|
})
|
||||||
// that.getOrder()
|
that.getOrder()
|
||||||
that.$refs.popup.close(type);
|
that.$refs.popup.close(type);
|
||||||
|
uni.switchTab({
|
||||||
|
url:'/pages/order/index'
|
||||||
|
})
|
||||||
}else{
|
}else{
|
||||||
// that.getOrder()
|
that.getOrder()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon:'error',
|
icon:'error',
|
||||||
title:'操作失败11!'
|
title:'操作失败!'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1099,7 +1102,7 @@
|
||||||
|
|
||||||
},
|
},
|
||||||
fail: function(e) {
|
fail: function(e) {
|
||||||
// that.getOrder()
|
that.getOrder()
|
||||||
// #ifdef H5
|
// #ifdef H5
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title:'获取地址失败!'
|
title:'获取地址失败!'
|
||||||
|
|
|
@ -1060,6 +1060,9 @@
|
||||||
})
|
})
|
||||||
that.getOrder()
|
that.getOrder()
|
||||||
that.$refs.popup.close(type);
|
that.$refs.popup.close(type);
|
||||||
|
uni.switchTab({
|
||||||
|
url:'/pages/order/index'
|
||||||
|
})
|
||||||
}else{
|
}else{
|
||||||
that.getOrder()
|
that.getOrder()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
|
|
@ -1075,6 +1075,9 @@
|
||||||
})
|
})
|
||||||
that.getOrder()
|
that.getOrder()
|
||||||
that.$refs.popup.close(type);
|
that.$refs.popup.close(type);
|
||||||
|
uni.switchTab({
|
||||||
|
url:'/pages/order/index'
|
||||||
|
})
|
||||||
}else{
|
}else{
|
||||||
that.getOrder()
|
that.getOrder()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
|
|
@ -1075,6 +1075,9 @@
|
||||||
})
|
})
|
||||||
that.getOrder()
|
that.getOrder()
|
||||||
that.$refs.popup.close(type);
|
that.$refs.popup.close(type);
|
||||||
|
uni.switchTab({
|
||||||
|
url:'/pages/order/index'
|
||||||
|
})
|
||||||
}else{
|
}else{
|
||||||
that.getOrder()
|
that.getOrder()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
|
|
@ -727,6 +727,9 @@
|
||||||
})
|
})
|
||||||
that.getOrder()
|
that.getOrder()
|
||||||
that.$refs.popup.close(type);
|
that.$refs.popup.close(type);
|
||||||
|
uni.switchTab({
|
||||||
|
url:'/pages/order/index'
|
||||||
|
})
|
||||||
}else{
|
}else{
|
||||||
that.getOrder()
|
that.getOrder()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
|
|
@ -644,6 +644,9 @@
|
||||||
})
|
})
|
||||||
that.getOrder()
|
that.getOrder()
|
||||||
that.$refs.popup.close(type);
|
that.$refs.popup.close(type);
|
||||||
|
uni.switchTab({
|
||||||
|
url:'/pages/order/index'
|
||||||
|
})
|
||||||
}else{
|
}else{
|
||||||
that.getOrder()
|
that.getOrder()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
|
|
@ -713,6 +713,9 @@
|
||||||
})
|
})
|
||||||
that.getOrder()
|
that.getOrder()
|
||||||
that.$refs.popup.close(type);
|
that.$refs.popup.close(type);
|
||||||
|
uni.switchTab({
|
||||||
|
url:'/pages/order/index'
|
||||||
|
})
|
||||||
}else{
|
}else{
|
||||||
that.getOrder()
|
that.getOrder()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
|
|
@ -609,6 +609,9 @@
|
||||||
})
|
})
|
||||||
that.getOrderList()
|
that.getOrderList()
|
||||||
that.$refs.popup.close(type);
|
that.$refs.popup.close(type);
|
||||||
|
uni.switchTab({
|
||||||
|
url:'/pages/order/index'
|
||||||
|
})
|
||||||
}else{
|
}else{
|
||||||
console.log('shibai:' + longitude);
|
console.log('shibai:' + longitude);
|
||||||
console.log('shibai:' + latitude);
|
console.log('shibai:' + latitude);
|
||||||
|
|
Loading…
Reference in New Issue