From cb148dff84eca0145f36407fa821066884fc62e7 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期五, 12 四月 2024 16:09:08 +0800
Subject: [PATCH] 过程检+产品检新增客户编号

---
 src/views/technology/routing/routing-form.vue |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/views/technology/routing/routing-form.vue b/src/views/technology/routing/routing-form.vue
index b337123..cf29055 100644
--- a/src/views/technology/routing/routing-form.vue
+++ b/src/views/technology/routing/routing-form.vue
@@ -891,11 +891,11 @@
                 operationsFlag = false
               }
             })
-            if (!operationsFlag) {
+           /*  if (!operationsFlag) {
               this.$message.error('姣忎釜宸ュ簭閮介渶娣诲姞瀵瑰簲闆朵欢')
               this.isSubmit = false
               return
-            }
+            } */
             if (this.dataForm.id) {
               putObj(this.dataForm)
                 .then((response) => {
@@ -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