From 9dc7c91c3a935b504d9921cc3b68c183ab57a847 Mon Sep 17 00:00:00 2001 From: 86156 <823267011@qq.com> Date: Mon, 14 Jul 2025 12:14:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/work/abnormal_process/index.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/work/abnormal_process/index.vue b/src/views/work/abnormal_process/index.vue index 0c70e44..5ac1d8d 100644 --- a/src/views/work/abnormal_process/index.vue +++ b/src/views/work/abnormal_process/index.vue @@ -487,7 +487,6 @@ export default { } } else if (state === 1) { let material = this.processing - let step = this.passList.filter(item => item.operation === 1)[0] step.state = 1 stepUpdate(step).then(res => { materialCheckFlagError(material).then(res => { @@ -508,14 +507,13 @@ export default { // 下道次 nextStep() { - let step = this.passList.filter(item => item.operation === 1)[0] + let step = this.nowPass if (step && step.state === 0) { alert('请操作当前道次') this.nextStepLoading = false } else { this.nextStepLoading = true - stepNextError(step) - .then(res => { + stepNextError(step).then(res => { this.nextStepLoading = false this.getDataList() materialNextStepFlagError().then(res => {