From 4660b68d3c3cd49c5dec355067cdf45b0abdd2e9 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期五, 12 四月 2024 13:30:48 +0800 Subject: [PATCH] 修改工艺路线 --- src/views/technology/routing/routing-form.vue | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/technology/routing/routing-form.vue b/src/views/technology/routing/routing-form.vue index b725d9d..cf29055 100644 --- a/src/views/technology/routing/routing-form.vue +++ b/src/views/technology/routing/routing-form.vue @@ -1200,15 +1200,15 @@ ...this.dataForm.operations.slice(obj.index - 1) ] } - this.dataForm.operations.forEach((e, idx) => { - e.index = idx + 1 - }) - this.$forceUpdate() - this.$refs.operationTable.sort('index') - Promise.all([this.save()]).then((res) => { - this.selectByIndex(obj.index) - }) - }) + }) + this.dataForm.operations.forEach((e, idx) => { + e.index = idx + 1 + }) + this.$forceUpdate() + this.$refs.operationTable.sort('index') + Promise.all([this.save()]).then((res) => { + this.selectByIndex(obj.index) + }) }else{ operation.operationName = operation.name operation.operationId = operation.id -- Gitblit v1.9.3