diff --git a/pages/manage/mater-in-storage.vue b/pages/manage/mater-in-storage.vue index 1df3e84..83bb8dc 100644 --- a/pages/manage/mater-in-storage.vue +++ b/pages/manage/mater-in-storage.vue @@ -32,7 +32,7 @@ - + diff --git a/pages/manage/route-lock.vue b/pages/manage/route-lock.vue index b5e1ca9..f1c06aa 100644 --- a/pages/manage/route-lock.vue +++ b/pages/manage/route-lock.vue @@ -18,7 +18,7 @@ - + @@ -45,6 +45,26 @@ this.title = options.title }, methods: { + toSure (type) { + this.disabled = true + if (!this.index1) { + this.disabled = false + return + } + uni.showModal({ + title: '提示', + cancelText: '取消', + confirmText: '确定', + content: '请确认当前锁定路线不存在AGV', + success: (res) => { + if (res.confirm) { + this._updateRouteStatus(type) + } else if (res.cancel) { + this.disabled = false + } + } + }) + }, async _updateRouteStatus (type) { this.disabled = true if (!this.index1) {