From 2ef29b2cdca3d644e82212b5ee0d53d47c15743d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Sat, 12 Jul 2025 10:47:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=9D=E8=AF=95=E6=8D=95=E8=8E=B7=E5=BC=82?= =?UTF-8?q?=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/work/abnormal_process/index.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/views/work/abnormal_process/index.vue b/src/views/work/abnormal_process/index.vue index cae8a4f..0c70e44 100644 --- a/src/views/work/abnormal_process/index.vue +++ b/src/views/work/abnormal_process/index.vue @@ -482,10 +482,8 @@ export default { }) } }) - }) }) - } } else if (state === 1) { let material = this.processing @@ -516,13 +514,20 @@ export default { this.nextStepLoading = false } else { this.nextStepLoading = true - stepNextError(step).then(res => { + stepNextError(step) + .then(res => { this.nextStepLoading = false this.getDataList() materialNextStepFlagError().then(res => { this.submitButton = res.data === 0 }) }) + .catch((error) => { + this.$message(error.message) + }) + .finally(() => { + this.nextStepLoading = false + }) } },