diff --git a/pages/entry/mater-group-to-store.vue b/pages/entry/mater-group-to-store.vue index a039e8d..1d8fe18 100644 --- a/pages/entry/mater-group-to-store.vue +++ b/pages/entry/mater-group-to-store.vue @@ -153,19 +153,11 @@ try { this.currentData.stor_code = this.index let res = await groupMaterIn(this.index, this.currentData) - if (res.code === '200') { - uni.showToast({ - title: res.msg, - icon: 'none' - }) - this.toEmpty() - } else { - uni.showToast({ - title: res.msg, - icon: 'none' - }) - this.disabled = false - } + uni.showToast({ + title: res.msg, + icon: 'none' + }) + this.disabled = false } catch (e) { this.disabled = false }