diff --git a/pages/manage/mater-in-storage.vue b/pages/manage/mater-in-storage.vue index fa697d6..8ab7cc2 100644 --- a/pages/manage/mater-in-storage.vue +++ b/pages/manage/mater-in-storage.vue @@ -155,10 +155,6 @@ try { let current = await getSD01GroupLog(v1, v2) if (current && current?.material) { - if (current?.regionCode) { - this.index = '1' - this.index2 = current.regionCode - } if (current?.material) { uni.showModal({ title: '提示', @@ -169,6 +165,10 @@ if (res.confirm) { this.dataList = [...current.material] this.flag = true + if (current?.regionCode) { + this.index = '1' + this.index2 = current.regionCode + } } } })