Commit efe39249c555b8d176ecab8bf3c4789287bb2eeb

Authored by 史婷婷
1 parent 8386e81c

feat: 补货单-取消

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