Showing
1 changed file
with
1 additions
and
1 deletions
| ... | ... | @@ -126,7 +126,7 @@ export default { |
| 126 | 126 | try { |
| 127 | 127 | await cancelApi(id) |
| 128 | 128 | uni.showToast({ title: '取消成功', icon: 'success' }) |
| 129 | - this.loadDetail(id) | |
| 129 | + setTimeout(() => { uni.redirectTo({ url: '/pages/replenishment_order/index' }) }, 300) | |
| 130 | 130 | } catch (e) { |
| 131 | 131 | uni.showToast({ title: (e && e.msg) || '取消失败', icon: 'none' }) |
| 132 | 132 | } | ... | ... |